Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inverseXRegularized.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inverseXRegularized.y",fileNamePrefix="Buildings_9_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.001653/0.001653, allocations: 103.4 kB / 16.27 MB, free: 5.965 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.00189/0.00189, allocations: 189.8 kB / 17.2 MB, free: 5.59 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.391/1.391, allocations: 222.9 MB / 240.9 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.301/2.301, allocations: 390.2 MB / 0.6653 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 69.39 kB / 0.8132 GB, free: 33.06 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3518/0.3532, allocations: 140.4 MB / 0.9503 GB, free: 8.906 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.003386/0.3566, allocations: 1.441 MB / 0.9517 GB, free: 7.449 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001405/0.358, allocations: 0.7857 MB / 0.9524 GB, free: 6.656 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.223e-05/0.3581, allocations: 0 / 0.9524 GB, free: 6.656 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.102e-05/0.3581, allocations: 0 / 0.9524 GB, free: 6.656 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.172e-05/0.3582, allocations: 11.88 kB / 0.9524 GB, free: 6.645 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005724/0.3588, allocations: 131.4 kB / 0.9526 GB, free: 6.516 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.893e-05/0.3589, allocations: 35.91 kB / 0.9526 GB, free: 6.48 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.359, allocations: 8 kB / 0.9526 GB, free: 6.473 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.67e-05/0.3591, allocations: 19.97 kB / 0.9526 GB, free: 6.453 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.413e-05/0.3592, allocations: 15.92 kB / 0.9526 GB, free: 6.438 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.521e-05/0.3592, allocations: 4 kB / 0.9527 GB, free: 6.434 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005066/0.3597, allocations: 319.4 kB / 0.953 GB, free: 6.121 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.399e-05/0.3597, allocations: 11.97 kB / 0.953 GB, free: 6.109 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.861e-05/0.3598, allocations: 11.94 kB / 0.953 GB, free: 6.098 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003494/0.3601, allocations: 191.6 kB / 0.9532 GB, free: 5.91 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3601, allocations: 0 / 0.9532 GB, free: 5.91 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.985e-06/0.3601, allocations: 3.984 kB / 0.9532 GB, free: 5.906 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.563e-06/0.3602, allocations: 0 / 0.9532 GB, free: 5.906 MB / 0.7325 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.0005931/0.3608, allocations: 375.7 kB / 0.9535 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.3608, allocations: 8.031 kB / 0.9535 GB, free: 5.484 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004738/0.3613, allocations: 68.77 kB / 0.9536 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001235/0.3614, allocations: 164.4 kB / 0.9538 GB, free: 5.219 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.319e-05/0.3614, allocations: 4.375 kB / 0.9538 GB, free: 5.215 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.527e-05/0.3615, allocations: 384 / 0.9538 GB, free: 5.215 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003084/0.3618, allocations: 93.88 kB / 0.9538 GB, free: 5.117 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.3618, allocations: 0 / 0.9538 GB, free: 5.117 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.3618, allocations: 3.938 kB / 0.9539 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.3618, allocations: 3.984 kB / 0.9539 GB, free: 5.109 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000408/0.3622, allocations: 91.91 kB / 0.9539 GB, free: 5.02 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005159/0.3628, allocations: 300.8 kB / 0.9542 GB, free: 4.676 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003837/0.3632, allocations: 94.5 kB / 0.9543 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00021/0.3634, allocations: 52.81 kB / 0.9544 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.681e-05/0.3634, allocations: 0 / 0.9544 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.422e-05/0.3634, allocations: 38.56 kB / 0.9544 GB, free: 4.473 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.3634, allocations: 0 / 0.9544 GB, free: 4.473 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0007524/0.3642, allocations: 165.5 kB / 0.9546 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.867e-05/0.3643, allocations: 55.41 kB / 0.9546 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.366e-05/0.3643, allocations: 102 kB / 0.9547 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.3644, allocations: 25.7 kB / 0.9547 GB, free: 4.098 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.25e-05/0.3644, allocations: 88.14 kB / 0.9548 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.095e-05/0.3644, allocations: 3.906 kB / 0.9548 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.861e-05/0.3645, allocations: 21.7 kB / 0.9548 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.3646, allocations: 310.8 kB / 0.9551 GB, free: 3.664 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002078/0.3648, allocations: 47.89 kB / 0.9552 GB, free: 3.617 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001968/0.365, allocations: 44.2 kB / 0.9552 GB, free: 3.574 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003959/0.3654, allocations: 92.77 kB / 0.9553 GB, free: 3.48 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.3654, allocations: 8 kB / 0.9553 GB, free: 3.473 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004442/0.3659, allocations: 129.5 kB / 0.9555 GB, free: 3.34 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.3659, allocations: 6.031 kB / 0.9555 GB, free: 3.336 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.88e-06/0.3659, allocations: 0 / 0.9555 GB, free: 3.336 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.3659, allocations: 0 / 0.9555 GB, free: 3.336 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001633/0.3661, allocations: 23.97 kB / 0.9555 GB, free: 3.312 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.3661, allocations: 0 / 0.9555 GB, free: 3.312 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001209/0.3662, allocations: 27.94 kB / 0.9555 GB, free: 3.285 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-06/0.3663, allocations: 0 / 0.9555 GB, free: 3.285 MB / 0.7325 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.725e-05/0.3663, allocations: 113.3 kB / 0.9556 GB, free: 3.168 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.097e-05/0.3664, allocations: 8 kB / 0.9556 GB, free: 3.16 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.14e-05/0.3664, allocations: 3.125 kB / 0.9556 GB, free: 3.156 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.3664, allocations: 0 / 0.9556 GB, free: 3.156 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.3664, allocations: 3.938 kB / 0.9556 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.3664, allocations: 0 / 0.9556 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001675/0.3666, allocations: 177.6 kB / 0.9558 GB, free: 2.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.3666, allocations: 0 / 0.9558 GB, free: 2.93 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001391/0.3668, allocations: 23.97 kB / 0.9558 GB, free: 2.906 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.736e-06/0.3668, allocations: 0 / 0.9558 GB, free: 2.906 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.3668, allocations: 0 / 0.9558 GB, free: 2.906 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.3668, allocations: 0 / 0.9558 GB, free: 2.906 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3668, allocations: 0 / 0.9558 GB, free: 2.906 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004929/0.3673, allocations: 227.3 kB / 0.956 GB, free: 2.668 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.281e-05/0.3674, allocations: 81.11 kB / 0.9561 GB, free: 2.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.689e-05/0.3674, allocations: 3.938 kB / 0.9561 GB, free: 2.566 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001407/0.3675, allocations: 15.97 kB / 0.9561 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.215e-05/0.3676, allocations: 4 kB / 0.9561 GB, free: 2.547 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.684e-06/0.3676, allocations: 3.984 kB / 0.9561 GB, free: 2.543 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.361e-05/0.3676, allocations: 83.28 kB / 0.9562 GB, free: 2.461 MB / 0.7325 GB Notification: Performance of sort global known variables: time 4.01e-07/0.3676, allocations: 4.031 kB / 0.9562 GB, free: 2.457 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000251/0.3679, allocations: 16 kB / 0.9562 GB, free: 2.441 MB / 0.7325 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.0002049/0.3681, allocations: 103.2 kB / 0.9563 GB, free: 2.332 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004688/0.3686, allocations: 95.91 kB / 0.9564 GB, free: 2.238 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3686, allocations: 0 / 0.9564 GB, free: 2.238 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002206/0.3688, allocations: 52 kB / 0.9565 GB, free: 2.188 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003108/0.3691, allocations: 12.12 kB / 0.9565 GB, free: 2.176 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006308/0.3698, allocations: 187.2 kB / 0.9567 GB, free: 1.961 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002596/0.3701, allocations: 0.6805 MB / 0.9573 GB, free: 1.254 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.84e-05/0.3701, allocations: 11.44 kB / 0.9573 GB, free: 1.242 MB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/0.3701, allocations: 0 / 0.9573 GB, free: 1.242 MB / 0.7325 GB Notification: Performance of Templates: time 0.002464/0.3726, allocations: 0.8999 MB / 0.9582 GB, free: 352 kB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_InverseXRegularized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches