Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inverseXRegularized.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inverseXRegularized.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001578/0.001578, allocations: 103 kB / 16.4 MB, free: 6.465 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.001831/0.001831, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.372/1.372, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.501/2.501, allocations: 461.9 MB / 0.7355 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 64.12 kB / 1.055 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8381/0.8395, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.002787/0.8423, allocations: 1.44 MB / 1.21 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001277/0.8436, allocations: 0.7866 MB / 1.211 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.368e-05/0.8437, allocations: 7.938 kB / 1.211 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.671e-05/0.8437, allocations: 3.984 kB / 1.211 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.805e-05/0.8438, allocations: 3.938 kB / 1.211 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005384/0.8443, allocations: 127.5 kB / 1.211 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.395e-05/0.8444, allocations: 35.86 kB / 1.211 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.8445, allocations: 8 kB / 1.211 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.256e-05/0.8446, allocations: 15.98 kB / 1.211 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.905e-05/0.8446, allocations: 27.89 kB / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.656e-05/0.8447, allocations: 0 / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005116/0.8452, allocations: 311.4 kB / 1.211 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.859e-05/0.8452, allocations: 3.984 kB / 1.211 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.116e-05/0.8452, allocations: 15.92 kB / 1.211 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003533/0.8456, allocations: 199.6 kB / 1.211 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.8456, allocations: 0 / 1.211 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.034e-06/0.8456, allocations: 4 kB / 1.211 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.8456, allocations: 0 / 1.211 GB, free: 10.66 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005822/0.8462, allocations: 371.2 kB / 1.212 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.8463, allocations: 12.03 kB / 1.212 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004919/0.8468, allocations: 64.84 kB / 1.212 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001372/0.8469, allocations: 172.3 kB / 1.212 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.603e-05/0.847, allocations: 384 / 1.212 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.676e-05/0.847, allocations: 384 / 1.212 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003235/0.8473, allocations: 93.88 kB / 1.212 GB, free: 9.871 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.8473, allocations: 3.938 kB / 1.212 GB, free: 9.867 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.8473, allocations: 4 kB / 1.212 GB, free: 9.863 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.8474, allocations: 0 / 1.212 GB, free: 9.863 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004/0.8478, allocations: 91.89 kB / 1.212 GB, free: 9.773 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005687/0.8483, allocations: 310.6 kB / 1.212 GB, free: 9.422 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003581/0.8487, allocations: 90.5 kB / 1.212 GB, free: 9.324 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002097/0.8489, allocations: 56.8 kB / 1.213 GB, free: 9.266 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.763e-05/0.849, allocations: 4 kB / 1.213 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/0.849, allocations: 34.56 kB / 1.213 GB, free: 9.219 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.849, allocations: 0 / 1.213 GB, free: 9.219 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0007151/0.8497, allocations: 161.5 kB / 1.213 GB, free: 9.055 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.475e-05/0.8498, allocations: 55.53 kB / 1.213 GB, free: 8.988 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.04e-05/0.8499, allocations: 101.9 kB / 1.213 GB, free: 8.879 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/0.8499, allocations: 25.7 kB / 1.213 GB, free: 8.848 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.161e-05/0.8499, allocations: 88.12 kB / 1.213 GB, free: 8.758 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.075e-05/0.85, allocations: 3.906 kB / 1.213 GB, free: 8.754 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.439e-05/0.85, allocations: 13.72 kB / 1.213 GB, free: 8.734 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.8501, allocations: 314.8 kB / 1.213 GB, free: 8.418 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002052/0.8504, allocations: 55.88 kB / 1.213 GB, free: 8.363 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001973/0.8506, allocations: 43.89 kB / 1.213 GB, free: 8.32 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003696/0.8509, allocations: 96.77 kB / 1.213 GB, free: 8.223 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.851, allocations: 0 / 1.213 GB, free: 8.223 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000423/0.8514, allocations: 121.6 kB / 1.214 GB, free: 8.098 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.443e-05/0.8514, allocations: 9.875 kB / 1.214 GB, free: 8.09 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.8514, allocations: 3.984 kB / 1.214 GB, free: 8.086 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.8514, allocations: 0 / 1.214 GB, free: 8.086 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001625/0.8516, allocations: 15.98 kB / 1.214 GB, free: 8.07 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.259e-06/0.8516, allocations: 0 / 1.214 GB, free: 8.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001195/0.8518, allocations: 24 kB / 1.214 GB, free: 8.047 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-06/0.8518, allocations: 3.938 kB / 1.214 GB, free: 8.043 MB / 0.9356 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 (2): * Single equations (assignments): 2 * 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 7.471e-05/0.8518, allocations: 113.8 kB / 1.214 GB, free: 7.922 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.978e-05/0.8519, allocations: 3.906 kB / 1.214 GB, free: 7.918 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.434e-05/0.8519, allocations: 11.11 kB / 1.214 GB, free: 7.906 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.8519, allocations: 3.938 kB / 1.214 GB, free: 7.902 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.8519, allocations: 0 / 1.214 GB, free: 7.902 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.852, allocations: 8 kB / 1.214 GB, free: 7.895 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001757/0.8521, allocations: 173.5 kB / 1.214 GB, free: 7.676 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.8521, allocations: 3.984 kB / 1.214 GB, free: 7.672 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001336/0.8523, allocations: 15.98 kB / 1.214 GB, free: 7.656 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.8523, allocations: 0 / 1.214 GB, free: 7.656 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.8523, allocations: 3.984 kB / 1.214 GB, free: 7.652 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.8523, allocations: 0 / 1.214 GB, free: 7.652 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.8523, allocations: 4 kB / 1.214 GB, free: 7.648 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004782/0.8528, allocations: 227.6 kB / 1.214 GB, free: 7.41 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.076e-05/0.8529, allocations: 77.11 kB / 1.214 GB, free: 7.316 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.784e-05/0.8529, allocations: 4 kB / 1.214 GB, free: 7.312 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001456/0.853, allocations: 19.92 kB / 1.214 GB, free: 7.293 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.915e-05/0.8531, allocations: 3.984 kB / 1.214 GB, free: 7.289 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.8531, allocations: 0 / 1.214 GB, free: 7.289 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.713e-05/0.8531, allocations: 87.31 kB / 1.214 GB, free: 7.203 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8531, allocations: 0 / 1.214 GB, free: 7.203 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002462/0.8534, allocations: 12 kB / 1.214 GB, free: 7.191 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0002053/0.8536, allocations: 107.2 kB / 1.215 GB, free: 7.074 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004665/0.8541, allocations: 99.89 kB / 1.215 GB, free: 6.977 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.8541, allocations: 0 / 1.215 GB, free: 6.977 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002101/0.8543, allocations: 48.02 kB / 1.215 GB, free: 6.93 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003343/0.8546, allocations: 11.92 kB / 1.215 GB, free: 6.918 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005948/0.8553, allocations: 195 kB / 1.215 GB, free: 6.691 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002599/0.8555, allocations: 0.6806 MB / 1.216 GB, free: 5.984 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.641e-05/0.8556, allocations: 7.438 kB / 1.216 GB, free: 5.977 MB / 0.9356 GB Notification: Performance of SimCode: time 4.71e-07/0.8556, allocations: 0 / 1.216 GB, free: 5.977 MB / 0.9356 GB Notification: Performance of Templates: time 0.002674/0.8583, allocations: 0.8857 MB / 1.216 GB, free: 5.094 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_InverseXRegularized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches