Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inverseXRegularized.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inverseXRegularized.y",fileNamePrefix="Buildings_10_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.007395/0.007395, allocations: 101.5 kB / 15.73 MB, free: 6.449 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.001478/0.001477, allocations: 196.2 kB / 16.68 MB, free: 6.352 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.421/1.421, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.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.699/2.699, allocations: 437 MB / 0.7105 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 63.91 kB / 1.019 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3457/0.3471, allocations: 151.6 MB / 1.167 GB, free: 6.773 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.002972/0.3501, allocations: 1.43 MB / 1.168 GB, free: 5.328 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001373/0.3515, allocations: 0.7952 MB / 1.169 GB, free: 4.523 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.959e-05/0.3516, allocations: 0 / 1.169 GB, free: 4.523 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.443e-05/0.3516, allocations: 3.938 kB / 1.169 GB, free: 4.52 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.951e-05/0.3517, allocations: 3.938 kB / 1.169 GB, free: 4.516 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006089/0.3523, allocations: 127.5 kB / 1.169 GB, free: 4.391 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 9.02e-05/0.3524, allocations: 31.92 kB / 1.169 GB, free: 4.359 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.551e-05/0.3525, allocations: 3.938 kB / 1.169 GB, free: 4.355 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.701e-05/0.3526, allocations: 15.98 kB / 1.169 GB, free: 4.34 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.459e-05/0.3527, allocations: 23.91 kB / 1.169 GB, free: 4.316 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.623e-05/0.3527, allocations: 0 / 1.169 GB, free: 4.316 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004923/0.3532, allocations: 315.4 kB / 1.169 GB, free: 4.008 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.007e-05/0.3532, allocations: 11.92 kB / 1.169 GB, free: 3.996 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.572e-05/0.3533, allocations: 19.92 kB / 1.169 GB, free: 3.977 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.00039/0.3537, allocations: 195.5 kB / 1.169 GB, free: 3.785 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.3537, allocations: 0 / 1.169 GB, free: 3.785 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.315e-06/0.3537, allocations: 0 / 1.169 GB, free: 3.785 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.925e-06/0.3537, allocations: 0 / 1.169 GB, free: 3.785 MB / 0.92 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.0005982/0.3543, allocations: 375 kB / 1.17 GB, free: 3.371 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.3543, allocations: 12.03 kB / 1.17 GB, free: 3.359 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004769/0.3548, allocations: 68.8 kB / 1.17 GB, free: 3.293 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/0.355, allocations: 168.3 kB / 1.17 GB, free: 3.09 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.939e-05/0.355, allocations: 8.375 kB / 1.17 GB, free: 3.082 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.578e-05/0.355, allocations: 384 / 1.17 GB, free: 3.082 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003018/0.3553, allocations: 81.94 kB / 1.17 GB, free: 2.996 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.3554, allocations: 4 kB / 1.17 GB, free: 2.992 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.3554, allocations: 0 / 1.17 GB, free: 2.992 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.3554, allocations: 4 kB / 1.17 GB, free: 2.988 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003955/0.3558, allocations: 99.83 kB / 1.17 GB, free: 2.891 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005582/0.3564, allocations: 300.8 kB / 1.171 GB, free: 2.547 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003619/0.3567, allocations: 98.48 kB / 1.171 GB, free: 2.441 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002118/0.357, allocations: 52.88 kB / 1.171 GB, free: 2.387 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.135e-05/0.357, allocations: 7.922 kB / 1.171 GB, free: 2.379 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/0.357, allocations: 30.56 kB / 1.171 GB, free: 2.34 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.272e-06/0.357, allocations: 0 / 1.171 GB, free: 2.34 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0007247/0.3577, allocations: 177.5 kB / 1.171 GB, free: 2.16 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.405e-05/0.3578, allocations: 51.41 kB / 1.171 GB, free: 2.098 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.349e-05/0.3579, allocations: 105.9 kB / 1.171 GB, free: 1.984 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.3579, allocations: 25.7 kB / 1.171 GB, free: 1.953 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.344e-05/0.358, allocations: 84.12 kB / 1.171 GB, free: 1.867 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.663e-05/0.358, allocations: 7.953 kB / 1.171 GB, free: 1.859 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.039e-05/0.358, allocations: 13.72 kB / 1.171 GB, free: 1.84 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001001/0.3581, allocations: 314.9 kB / 1.171 GB, free: 1.523 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001988/0.3584, allocations: 51.94 kB / 1.172 GB, free: 1.473 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001965/0.3586, allocations: 43.95 kB / 1.172 GB, free: 1.43 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003763/0.3589, allocations: 96.7 kB / 1.172 GB, free: 1.332 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.359, allocations: 4 kB / 1.172 GB, free: 1.328 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004325/0.3594, allocations: 117.6 kB / 1.172 GB, free: 1.207 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.3594, allocations: 8 kB / 1.172 GB, free: 1.199 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/0.3594, allocations: 0 / 1.172 GB, free: 1.199 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.3595, allocations: 0 / 1.172 GB, free: 1.199 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000163/0.3596, allocations: 24 kB / 1.172 GB, free: 1.176 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.3596, allocations: 0 / 1.172 GB, free: 1.176 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001054/0.3597, allocations: 15.98 kB / 1.172 GB, free: 1.16 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.3598, allocations: 0 / 1.172 GB, free: 1.16 MB / 0.92 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.749e-05/0.3598, allocations: 117.8 kB / 1.172 GB, free: 1.035 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.02e-05/0.3599, allocations: 7.938 kB / 1.172 GB, free: 1.027 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.999e-05/0.3599, allocations: 7.125 kB / 1.172 GB, free: 1.02 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.3599, allocations: 0 / 1.172 GB, free: 1.02 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.3599, allocations: 4 kB / 1.172 GB, free: 1.016 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.3599, allocations: 0 / 1.172 GB, free: 1.016 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001785/0.3601, allocations: 177.5 kB / 1.172 GB, free: 0.793 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.3601, allocations: 0 / 1.172 GB, free: 0.793 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001288/0.3603, allocations: 27.84 kB / 1.172 GB, free: 0.7656 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.3603, allocations: 0 / 1.172 GB, free: 0.7656 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.3603, allocations: 4 kB / 1.172 GB, free: 0.7617 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3603, allocations: 7.938 kB / 1.172 GB, free: 0.7539 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.3603, allocations: 0 / 1.172 GB, free: 0.7539 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004774/0.3608, allocations: 219.4 kB / 1.172 GB, free: 0.5234 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.496e-05/0.3608, allocations: 77.11 kB / 1.172 GB, free: 440 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.642e-05/0.3609, allocations: 0 / 1.172 GB, free: 440 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001405/0.361, allocations: 28.25 kB / 1.172 GB, free: 412 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.023e-05/0.3611, allocations: 0 / 1.172 GB, free: 412 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/0.3611, allocations: 4 kB / 1.172 GB, free: 408 kB / 0.92 GB Notification: Performance of sorting global known variables: time 3.551e-05/0.3611, allocations: 79.28 kB / 1.173 GB, free: 328 kB / 0.92 GB Notification: Performance of sort global known variables: time 3.2e-07/0.3611, allocations: 0 / 1.173 GB, free: 328 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002393/0.3614, allocations: 15.98 kB / 1.173 GB, free: 312 kB / 0.92 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.0001812/0.3615, allocations: 115.1 kB / 1.173 GB, free: 184 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0004554/0.362, allocations: 91.89 kB / 1.173 GB, free: 92 kB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.362, allocations: 64 / 1.173 GB, free: 92 kB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0002083/0.3622, allocations: 51.95 kB / 1.173 GB, free: 40 kB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003073/0.3626, allocations: 13.75 kB / 1.173 GB, free: 28 kB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005748/0.3631, allocations: 160.9 kB / 1.173 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002179/0.3634, allocations: 0.6768 MB / 1.174 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 7.313e-05/0.3634, allocations: 15.98 kB / 1.174 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.721e-05/0.3635, allocations: 7.438 kB / 1.174 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of SimCode: time 1.352e-06/0.3635, allocations: 0 / 1.174 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of Templates: time 0.00377/0.3673, allocations: 0.8176 MB / 1.174 GB, free: 14.31 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.InverseXRegularized.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.InverseXRegularized.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.InverseXRegularized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_InverseXRegularized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.InverseXRegularized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches