Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|xInv|dy_dt|d2y_dt2",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|xInv|dy_dt|d2y_dt2",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001906/0.001906, allocations: 119 kB / 16.42 MB, free: 6.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001984/0.001984, allocations: 187.9 kB / 17.35 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.523/1.523, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.455/2.455, allocations: 437 MB / 0.7112 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001504/0.001504, allocations: 67.89 kB / 1.019 GB, free: 9.363 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.08/1.081, allocations: 151.6 MB / 1.167 GB, free: 3.809 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001946/1.083, allocations: 0.6295 MB / 1.168 GB, free: 3.184 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00192/1.085, allocations: 1.46 MB / 1.169 GB, free: 1.707 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.048e-05/1.085, allocations: 0 / 1.169 GB, free: 1.707 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.722e-05/1.085, allocations: 3.938 kB / 1.169 GB, free: 1.703 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 9.008e-05/1.085, allocations: 3.984 kB / 1.169 GB, free: 1.699 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.000441/1.086, allocations: 123.5 kB / 1.17 GB, free: 1.578 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 6.786e-05/1.086, allocations: 31.86 kB / 1.17 GB, free: 1.547 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.237e-05/1.086, allocations: 3.938 kB / 1.17 GB, free: 1.543 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 4.31e-05/1.086, allocations: 19.92 kB / 1.17 GB, free: 1.523 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.195e-05/1.086, allocations: 19.91 kB / 1.17 GB, free: 1.504 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.636e-05/1.086, allocations: 4 kB / 1.17 GB, free: 1.5 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004642/1.086, allocations: 311.4 kB / 1.17 GB, free: 1.195 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.673e-05/1.086, allocations: 7.969 kB / 1.17 GB, free: 1.188 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.881e-05/1.087, allocations: 19.81 kB / 1.17 GB, free: 1.168 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.000299/1.087, allocations: 187.7 kB / 1.17 GB, free: 0.9844 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/1.087, allocations: 0 / 1.17 GB, free: 0.9844 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.884e-06/1.087, allocations: 4 kB / 1.17 GB, free: 0.9805 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.003e-05/1.087, allocations: 0 / 1.17 GB, free: 0.9805 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005655/1.087, allocations: 377.1 kB / 1.17 GB, free: 0.5703 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/1.088, allocations: 8.031 kB / 1.17 GB, free: 0.5625 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004024/1.088, allocations: 64.77 kB / 1.171 GB, free: 0.5 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001419/1.088, allocations: 172.2 kB / 1.171 GB, free: 300 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.751e-05/1.088, allocations: 384 / 1.171 GB, free: 300 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.406e-05/1.088, allocations: 12.31 kB / 1.171 GB, free: 288 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002756/1.088, allocations: 77.95 kB / 1.171 GB, free: 204 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/1.088, allocations: 0 / 1.171 GB, free: 204 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/1.088, allocations: 0 / 1.171 GB, free: 204 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/1.088, allocations: 0 / 1.171 GB, free: 204 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003502/1.089, allocations: 75.84 kB / 1.171 GB, free: 128 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002019/1.089, allocations: 169.7 kB / 1.171 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005458/1.09, allocations: 126.5 kB / 1.171 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001834/1.09, allocations: 40.94 kB / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.106e-05/1.09, allocations: 4 kB / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.395e-05/1.09, allocations: 34.5 kB / 1.171 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=5): time 2.715e-06/1.09, allocations: 4 kB / 1.171 GB, free: 15.68 MB / 0.9044 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=9): time 0.004112/1.094, allocations: 0.78 MB / 1.172 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.149e-05/1.094, allocations: 55.41 kB / 1.172 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.765e-05/1.094, allocations: 117.8 kB / 1.172 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/1.094, allocations: 25.7 kB / 1.172 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.521e-05/1.094, allocations: 92.11 kB / 1.172 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.041e-05/1.094, allocations: 27.62 kB / 1.172 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.774e-05/1.094, allocations: 25.7 kB / 1.172 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001111/1.094, allocations: 322.9 kB / 1.173 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004656/1.095, allocations: 99.78 kB / 1.173 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004248/1.095, allocations: 95.89 kB / 1.173 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008359/1.096, allocations: 196.7 kB / 1.173 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/1.096, allocations: 0 / 1.173 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009431/1.097, allocations: 245.3 kB / 1.173 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/1.097, allocations: 4 kB / 1.173 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/1.097, allocations: 4.75 kB / 1.173 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/1.097, allocations: 7.984 kB / 1.173 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003212/1.098, allocations: 43.95 kB / 1.173 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/1.098, allocations: 7.984 kB / 1.173 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000228/1.098, allocations: 31.97 kB / 1.173 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.639e-05/1.098, allocations: 7.984 kB / 1.173 GB, free: 13.46 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.402e-05/1.098, allocations: 117.7 kB / 1.173 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.505e-05/1.098, allocations: 7.938 kB / 1.173 GB, free: 13.33 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.683e-05/1.098, allocations: 20.38 kB / 1.173 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/1.098, allocations: 3.938 kB / 1.173 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/1.098, allocations: 3.984 kB / 1.173 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.011e-05/1.098, allocations: 85.02 kB / 1.174 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.474e-05/1.098, allocations: 0 / 1.174 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002407/1.098, allocations: 39.95 kB / 1.174 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.576e-05/1.098, allocations: 7.984 kB / 1.174 GB, free: 13.15 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001186/1.1, allocations: 360.8 kB / 1.174 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009995/1.101, allocations: 410.5 kB / 1.174 GB, free: 12.37 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004702/1.101, allocations: 115.9 kB / 1.174 GB, free: 12.26 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.198e-05/1.101, allocations: 87.28 kB / 1.175 GB, free: 12.17 MB / 0.9044 GB Notification: Performance of Backend: time 7.52e-07/1.101, allocations: 0 / 1.175 GB, free: 12.17 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001016/1.102, allocations: 236.6 kB / 1.175 GB, free: 11.94 MB / 0.9044 GB Notification: Performance of SimCode: time 0.000479/1.103, allocations: 0.576 MB / 1.175 GB, free: 11.32 MB / 0.9044 GB Notification: Performance of Templates: time 0.005326/1.108, allocations: 2.282 MB / 1.178 GB, free: 9.039 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches