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.001568/0.001568, allocations: 109.7 kB / 16.41 MB, free: 6.477 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.001601/0.001601, allocations: 183 kB / 17.34 MB, free: 5.75 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.401/1.401, 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.669/2.669, allocations: 461.9 MB / 0.7354 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 63.91 kB / 1.055 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8458/0.8472, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.002591/0.8498, allocations: 1.433 MB / 1.21 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001264/0.8511, allocations: 0.7905 MB / 1.211 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.555e-05/0.8512, allocations: 0 / 1.211 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.636e-05/0.8512, allocations: 3.938 kB / 1.211 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.228e-05/0.8513, allocations: 3.938 kB / 1.211 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004461/0.8517, allocations: 127.5 kB / 1.211 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.981e-05/0.8518, allocations: 27.92 kB / 1.211 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 8.552e-05/0.8519, allocations: 11.98 kB / 1.211 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 4.596e-05/0.852, allocations: 15.98 kB / 1.211 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.831e-05/0.852, allocations: 23.91 kB / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.4e-05/0.852, allocations: 0 / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004784/0.8525, allocations: 319.4 kB / 1.211 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.587e-05/0.8526, allocations: 3.984 kB / 1.211 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.593e-05/0.8526, allocations: 15.92 kB / 1.211 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003214/0.8529, allocations: 195.7 kB / 1.211 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.8529, allocations: 0 / 1.211 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.503e-06/0.8529, allocations: 7.875 kB / 1.211 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.8529, allocations: 0 / 1.211 GB, free: 10.65 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.0005459/0.8535, allocations: 379.2 kB / 1.212 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.8535, allocations: 12.03 kB / 1.212 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004854/0.854, allocations: 60.86 kB / 1.212 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001254/0.8542, allocations: 180.3 kB / 1.212 GB, free: 9.953 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.357e-05/0.8542, allocations: 384 / 1.212 GB, free: 9.953 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.732e-05/0.8542, allocations: 4.359 kB / 1.212 GB, free: 9.949 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003183/0.8545, allocations: 85.94 kB / 1.212 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.8546, allocations: 0 / 1.212 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.8546, allocations: 8 kB / 1.212 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.8546, allocations: 0 / 1.212 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004354/0.855, allocations: 87.91 kB / 1.212 GB, free: 9.766 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005546/0.8556, allocations: 306.6 kB / 1.212 GB, free: 9.418 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000397/0.856, allocations: 90.5 kB / 1.212 GB, free: 9.32 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002292/0.8562, allocations: 52.88 kB / 1.213 GB, free: 9.266 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.517e-05/0.8563, allocations: 0 / 1.213 GB, free: 9.266 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.357e-05/0.8563, allocations: 34.56 kB / 1.213 GB, free: 9.223 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.8563, allocations: 0 / 1.213 GB, free: 9.223 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0007712/0.8571, allocations: 169.6 kB / 1.213 GB, free: 9.051 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.414e-05/0.8571, allocations: 51.41 kB / 1.213 GB, free: 8.988 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.762e-05/0.8572, allocations: 105.8 kB / 1.213 GB, free: 8.875 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.386e-05/0.8572, allocations: 25.7 kB / 1.213 GB, free: 8.844 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.793e-05/0.8573, allocations: 84.14 kB / 1.213 GB, free: 8.758 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.137e-05/0.8573, allocations: 3.906 kB / 1.213 GB, free: 8.754 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.51e-05/0.8574, allocations: 21.73 kB / 1.213 GB, free: 8.727 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.8575, allocations: 314.8 kB / 1.213 GB, free: 8.41 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002583/0.8578, allocations: 43.95 kB / 1.213 GB, free: 8.367 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002111/0.858, allocations: 43.95 kB / 1.213 GB, free: 8.324 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004154/0.8584, allocations: 92.77 kB / 1.213 GB, free: 8.23 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.8584, allocations: 0 / 1.213 GB, free: 8.23 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004862/0.8589, allocations: 129.5 kB / 1.214 GB, free: 8.098 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.8589, allocations: 9.875 kB / 1.214 GB, free: 8.09 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.859, allocations: 3.938 kB / 1.214 GB, free: 8.086 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.859, allocations: 0 / 1.214 GB, free: 8.086 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001739/0.8592, allocations: 24 kB / 1.214 GB, free: 8.062 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.8592, allocations: 0 / 1.214 GB, free: 8.062 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001242/0.8593, allocations: 20.22 kB / 1.214 GB, free: 8.043 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.297e-06/0.8593, allocations: 4 kB / 1.214 GB, free: 8.039 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 8.237e-05/0.8594, allocations: 117.8 kB / 1.214 GB, free: 7.914 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.272e-05/0.8594, allocations: 3.906 kB / 1.214 GB, free: 7.91 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.41e-05/0.8595, allocations: 7.125 kB / 1.214 GB, free: 7.902 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.8595, allocations: 3.938 kB / 1.214 GB, free: 7.898 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.8595, allocations: 0 / 1.214 GB, free: 7.898 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.8595, allocations: 4 kB / 1.214 GB, free: 7.895 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001809/0.8597, allocations: 177.5 kB / 1.214 GB, free: 7.672 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.8597, allocations: 0 / 1.214 GB, free: 7.672 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001556/0.8599, allocations: 23.97 kB / 1.214 GB, free: 7.648 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.8599, allocations: 0 / 1.214 GB, free: 7.648 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.8599, allocations: 0 / 1.214 GB, free: 7.648 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.671e-06/0.8599, allocations: 7.938 kB / 1.214 GB, free: 7.641 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.8599, allocations: 0 / 1.214 GB, free: 7.641 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000522/0.8604, allocations: 223.4 kB / 1.214 GB, free: 7.406 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.38e-05/0.8605, allocations: 77.11 kB / 1.214 GB, free: 7.312 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.749e-05/0.8605, allocations: 0 / 1.214 GB, free: 7.312 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001561/0.8607, allocations: 24 kB / 1.214 GB, free: 7.289 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.06e-05/0.8607, allocations: 0 / 1.214 GB, free: 7.289 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.8607, allocations: 0 / 1.214 GB, free: 7.289 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.488e-05/0.8608, allocations: 87.27 kB / 1.214 GB, free: 7.203 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.51e-07/0.8608, allocations: 0 / 1.214 GB, free: 7.203 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002591/0.861, 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.0001542/0.8612, allocations: 103.2 kB / 1.214 GB, free: 7.078 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005116/0.8617, allocations: 107.8 kB / 1.215 GB, free: 6.973 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.8617, allocations: 0 / 1.215 GB, free: 6.973 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002341/0.862, allocations: 43.95 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.0003198/0.8623, allocations: 15.91 kB / 1.215 GB, free: 6.914 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006032/0.8629, allocations: 191.2 kB / 1.215 GB, free: 6.691 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002916/0.8632, allocations: 0.6806 MB / 1.215 GB, free: 5.984 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.122e-05/0.8633, allocations: 15.42 kB / 1.216 GB, free: 5.969 MB / 0.9356 GB Notification: Performance of SimCode: time 2.21e-07/0.8633, allocations: 0 / 1.216 GB, free: 5.969 MB / 0.9356 GB Notification: Performance of Templates: time 0.002466/0.8658, allocations: 0.8957 MB / 1.216 GB, free: 5.078 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