Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001903/0.001903, allocations: 88.39 kB / 20.23 MB, free: 4.18 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00226/0.00226, allocations: 161.3 kB / 23.54 MB, free: 0.8672 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.48/1.48, allocations: 177.1 MB / 203.9 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.875/2.875, allocations: 377.8 MB / 0.6232 GB, free: 8.539 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|inverseXRegularized.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|inverseXRegularized.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.InverseXRegularized") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 0.8108 GB, free: 0.9766 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.915e-05/3.095e-05, allocations: 10.25 kB / 0.8108 GB, free: 0.9648 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.003744/0.003775, allocations: 1.47 MB / 0.8122 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001933/0.005708, allocations: 0.7688 MB / 0.813 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.396e-05/0.005742, allocations: 0 / 0.813 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.324e-05/0.005775, allocations: 7.984 kB / 0.813 GB, free: 14.72 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 6.509e-05/0.00584, allocations: 4.594 kB / 0.813 GB, free: 14.72 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006018/0.006442, allocations: 130.2 kB / 0.8131 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 9.327e-05/0.006535, allocations: 31.92 kB / 0.8131 GB, free: 14.56 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 8.911e-05/0.006624, allocations: 8.891 kB / 0.8132 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 7.944e-05/0.006704, allocations: 19.98 kB / 0.8132 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 6.969e-05/0.006773, allocations: 19.91 kB / 0.8132 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.019e-05/0.006804, allocations: 4.656 kB / 0.8132 GB, free: 14.51 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006128/0.007416, allocations: 251.4 kB / 0.8134 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.718e-05/0.007433, allocations: 4.5 kB / 0.8134 GB, free: 14.26 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.935e-05/0.007473, allocations: 12.52 kB / 0.8135 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0004899/0.007963, allocations: 208.8 kB / 0.8137 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.007966, allocations: 0 / 0.8137 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.162e-06/0.007967, allocations: 0 / 0.8137 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.878e-06/0.007971, allocations: 0 / 0.8137 GB, free: 14.05 MB / 0.7292 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.0006891/0.00866, allocations: 296.3 kB / 0.8139 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.008701, allocations: 15.91 kB / 0.814 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006783/0.009379, allocations: 76.92 kB / 0.814 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001395/0.009519, allocations: 105.7 kB / 0.8141 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/0.009536, allocations: 384 / 0.8141 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.947e-05/0.009556, allocations: 8.375 kB / 0.8141 GB, free: 13.51 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004146/0.00997, allocations: 81.16 kB / 0.8142 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.009978, allocations: 192 / 0.8142 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.009992, allocations: 384 / 0.8142 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.01, allocations: 5.281 kB / 0.8142 GB, free: 13.42 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005969/0.0106, allocations: 95.17 kB / 0.8143 GB, free: 13.33 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006912/0.01129, allocations: 239 kB / 0.8145 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005638/0.01185, allocations: 101.6 kB / 0.8146 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000299/0.01215, allocations: 47.5 kB / 0.8147 GB, free: 12.92 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.01217, allocations: 0 / 0.8147 GB, free: 12.92 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.841e-05/0.01222, allocations: 38.5 kB / 0.8147 GB, free: 12.87 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.01222, allocations: 1.656 kB / 0.8147 GB, free: 12.87 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.001062/0.01328, allocations: 172.2 kB / 0.8149 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.623e-05/0.01334, allocations: 51.41 kB / 0.8149 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001249/0.01346, allocations: 101.8 kB / 0.815 GB, free: 12.53 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.566e-05/0.0135, allocations: 29.7 kB / 0.8151 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 8.062e-05/0.01358, allocations: 80.14 kB / 0.8151 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.874e-05/0.01361, allocations: 7.953 kB / 0.8151 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.648e-05/0.01367, allocations: 14.81 kB / 0.8152 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002144/0.01389, allocations: 314.8 kB / 0.8155 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003124/0.0142, allocations: 50.77 kB / 0.8155 GB, free: 12.02 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002801/0.01448, allocations: 43.14 kB / 0.8155 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000568/0.01505, allocations: 91.86 kB / 0.8156 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.01505, allocations: 4 kB / 0.8156 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0006688/0.01572, allocations: 121.8 kB / 0.8158 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.565e-05/0.01575, allocations: 12.44 kB / 0.8158 GB, free: 11.76 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.01575, allocations: 0.875 kB / 0.8158 GB, free: 11.76 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.01577, allocations: 0 / 0.8158 GB, free: 11.76 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002255/0.016, allocations: 29.06 kB / 0.8158 GB, free: 11.73 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.016, allocations: 5.062 kB / 0.8158 GB, free: 11.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001642/0.01617, allocations: 16.86 kB / 0.8158 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.01618, allocations: 0 / 0.8158 GB, free: 11.71 MB / 0.7292 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 0.000127/0.0163, allocations: 117.2 kB / 0.8159 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.353e-05/0.01636, allocations: 7.891 kB / 0.8159 GB, free: 11.58 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.841e-05/0.0164, allocations: 11.31 kB / 0.8159 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.0164, allocations: 0 / 0.8159 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.0164, allocations: 0 / 0.8159 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.372e-05/0.01642, allocations: 3.984 kB / 0.8159 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002478/0.01666, allocations: 109.3 kB / 0.8161 GB, free: 11.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.01666, allocations: 0 / 0.8161 GB, free: 11.43 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001964/0.01686, allocations: 24.91 kB / 0.8161 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.052e-06/0.01687, allocations: 4 kB / 0.8161 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/0.01688, allocations: 3.938 kB / 0.8161 GB, free: 11.4 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/0.01689, allocations: 3.938 kB / 0.8161 GB, free: 11.4 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.01689, allocations: 0 / 0.8161 GB, free: 11.4 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007563/0.01764, allocations: 215.5 kB / 0.8163 GB, free: 11.17 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.498e-05/0.01766, allocations: 8 kB / 0.8163 GB, free: 11.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.457e-05/0.01768, allocations: 3.938 kB / 0.8163 GB, free: 11.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002183/0.0179, allocations: 15.97 kB / 0.8163 GB, free: 11.14 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.583e-05/0.01795, allocations: 8.031 kB / 0.8163 GB, free: 11.14 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.251e-05/0.01796, allocations: 3.984 kB / 0.8163 GB, free: 11.13 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 7.548e-05/0.01803, allocations: 83.28 kB / 0.8164 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1e-07/0.01803, allocations: 0 / 0.8164 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004481/0.01848, allocations: 19.89 kB / 0.8164 GB, free: 11.03 MB / 0.7292 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.0002196/0.0187, allocations: 107.2 kB / 0.8165 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006602/0.01936, allocations: 99.84 kB / 0.8166 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.01936, allocations: 0 / 0.8166 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0003113/0.01968, allocations: 52 kB / 0.8167 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004775/0.02015, allocations: 7.938 kB / 0.8167 GB, free: 10.76 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007919/0.02095, allocations: 152.8 kB / 0.8168 GB, free: 10.58 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.738e-05/0.02104, allocations: 63.34 kB / 0.8169 GB, free: 10.5 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 9.911e-05/0.02114, allocations: 15.89 kB / 0.8169 GB, free: 10.48 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.947e-05/0.0212, allocations: 12.5 kB / 0.8169 GB, free: 10.47 MB / 0.7292 GB Notification: Performance of SimCode: time 7.62e-07/0.0212, allocations: 4 kB / 0.8169 GB, free: 10.47 MB / 0.7292 GB Notification: Performance of Templates: time 0.004677/0.02588, allocations: 0.8868 MB / 0.8178 GB, free: 9.602 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.InverseXRegularized.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.InverseXRegularized.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.InverseXRegularized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_InverseXRegularized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Examples.InverseXRegularized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.70733145903796]