Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0007242/0.0007242, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0007718/0.0007718, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.8765/0.8765, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.628/1.628, allocations: 359 MB / 0.6044 GB, free: 11.07 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_Buildings.Utilities.Math.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|inverseXRegularized.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.943e-06/1.943e-06, allocations: 0 / 0.9517 GB, free: 2.969 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.57e-05/2.764e-05, allocations: 6.219 kB / 0.9517 GB, free: 2.961 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.001957/0.001985, allocations: 1.46 MB / 0.9532 GB, free: 1.484 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0009436/0.002928, allocations: 0.7599 MB / 0.9539 GB, free: 0.7188 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.695e-05/0.002965, allocations: 0 / 0.9539 GB, free: 0.7188 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.818e-05/0.002993, allocations: 4 kB / 0.9539 GB, free: 0.7148 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 4.126e-05/0.003035, allocations: 7.875 kB / 0.9539 GB, free: 0.707 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004091/0.003444, allocations: 131.4 kB / 0.954 GB, free: 0.5781 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 7.105e-05/0.003515, allocations: 35.91 kB / 0.9541 GB, free: 0.543 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 8.85e-05/0.003603, allocations: 8 kB / 0.9541 GB, free: 0.5352 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 5.302e-05/0.003656, allocations: 19.98 kB / 0.9541 GB, free: 0.5156 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.74e-05/0.003704, allocations: 15.92 kB / 0.9541 GB, free: 0.5 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.339e-05/0.003717, allocations: 0 / 0.9541 GB, free: 0.5 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002643/0.003981, allocations: 251.5 kB / 0.9544 GB, free: 260 kB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.791e-05/0.003999, allocations: 15.91 kB / 0.9544 GB, free: 244 kB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.097e-05/0.00402, allocations: 11.98 kB / 0.9544 GB, free: 232 kB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002496/0.00427, allocations: 203.5 kB / 0.9546 GB, free: 28 kB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.004273, allocations: 0 / 0.9546 GB, free: 28 kB / 0.9011 GB Notification: Performance of FrontEnd: time 1.412e-06/0.004275, allocations: 0 / 0.9546 GB, free: 28 kB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.927e-06/0.004279, allocations: 0 / 0.9546 GB, free: 28 kB / 0.9011 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.0004042/0.004683, allocations: 305.8 kB / 0.9549 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.004719, allocations: 12.03 kB / 0.9549 GB, free: 15.69 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002629/0.004982, allocations: 72.8 kB / 0.9549 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.088e-05/0.005063, allocations: 109.7 kB / 0.9551 GB, free: 15.48 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.228e-05/0.005085, allocations: 384 / 0.9551 GB, free: 15.48 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.12e-05/0.005097, allocations: 4.375 kB / 0.9551 GB, free: 15.48 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000192/0.005289, allocations: 90.12 kB / 0.9551 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.005297, allocations: 4.188 kB / 0.9551 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.005308, allocations: 384 / 0.9551 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.005313, allocations: 3.938 kB / 0.9552 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002071/0.00552, allocations: 91.89 kB / 0.9552 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003513/0.005871, allocations: 228.6 kB / 0.9555 GB, free: 15.04 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001916/0.006063, allocations: 94.44 kB / 0.9555 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000104/0.006167, allocations: 60.86 kB / 0.9556 GB, free: 14.87 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.517e-05/0.006182, allocations: 0 / 0.9556 GB, free: 14.87 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.518e-05/0.006207, allocations: 34.5 kB / 0.9556 GB, free: 14.83 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=2): time 8.31e-07/0.006208, allocations: 0 / 0.9556 GB, free: 14.83 MB / 0.9167 GB Notification: Performance of matching and sorting (n=2): time 0.0003935/0.006602, allocations: 169.6 kB / 0.9558 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.113e-05/0.006633, allocations: 59.34 kB / 0.9559 GB, free: 14.59 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.868e-05/0.006692, allocations: 97.86 kB / 0.9559 GB, free: 14.48 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.108e-05/0.006703, allocations: 25.7 kB / 0.956 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.895e-05/0.006742, allocations: 88.14 kB / 0.9561 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.931e-05/0.006761, allocations: 7.938 kB / 0.9561 GB, free: 14.35 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.077e-05/0.006792, allocations: 13.72 kB / 0.9561 GB, free: 14.33 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.353e-05/0.006865, allocations: 314.8 kB / 0.9564 GB, free: 14.02 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001052/0.00697, allocations: 43.98 kB / 0.9564 GB, free: 13.97 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.194e-05/0.007062, allocations: 47.94 kB / 0.9565 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001915/0.007254, allocations: 96.83 kB / 0.9566 GB, free: 13.83 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.007256, allocations: 0 / 0.9566 GB, free: 13.83 MB / 0.9167 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002195/0.007475, allocations: 121.6 kB / 0.9567 GB, free: 13.7 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.007489, allocations: 11.88 kB / 0.9567 GB, free: 13.69 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.007494, allocations: 0 / 0.9567 GB, free: 13.69 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.007507, allocations: 0 / 0.9567 GB, free: 13.69 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.909e-05/0.007596, allocations: 23.97 kB / 0.9567 GB, free: 13.67 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.048e-06/0.0076, allocations: 0 / 0.9567 GB, free: 13.67 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.229e-05/0.007652, allocations: 24 kB / 0.9567 GB, free: 13.64 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.112e-06/0.007658, allocations: 0 / 0.9567 GB, free: 13.64 MB / 0.9167 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 5.515e-05/0.007713, allocations: 105.8 kB / 0.9568 GB, free: 13.53 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.811e-05/0.007731, allocations: 11.89 kB / 0.9568 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.169e-05/0.007763, allocations: 15.23 kB / 0.9569 GB, free: 13.5 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.007766, allocations: 3.984 kB / 0.9569 GB, free: 13.5 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.00777, allocations: 0 / 0.9569 GB, free: 13.5 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.007772, allocations: 3.938 kB / 0.9569 GB, free: 13.5 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.754e-05/0.00787, allocations: 113.2 kB / 0.957 GB, free: 13.36 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.007871, allocations: 4 kB / 0.957 GB, free: 13.35 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.748e-05/0.007928, allocations: 23.97 kB / 0.957 GB, free: 13.33 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.00793, allocations: 0 / 0.957 GB, free: 13.33 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.445e-06/0.007938, allocations: 3.938 kB / 0.957 GB, free: 13.32 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.00794, allocations: 256 / 0.957 GB, free: 13.32 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.007941, allocations: 0 / 0.957 GB, free: 13.32 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002703/0.008211, allocations: 227.4 kB / 0.9572 GB, free: 13.09 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 5.902e-06/0.008217, allocations: 0 / 0.9572 GB, free: 13.09 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.321e-05/0.00823, allocations: 3.938 kB / 0.9572 GB, free: 13.08 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.559e-05/0.008296, allocations: 24 kB / 0.9572 GB, free: 13.06 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.234e-05/0.008328, allocations: 0 / 0.9572 GB, free: 13.06 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-06/0.008334, allocations: 8 kB / 0.9573 GB, free: 13.05 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.739e-05/0.008362, allocations: 83.27 kB / 0.9573 GB, free: 12.97 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.008362, allocations: 0 / 0.9573 GB, free: 12.97 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.000164/0.008526, allocations: 8 kB / 0.9573 GB, free: 12.96 MB / 0.9167 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.0001365/0.008662, allocations: 107.2 kB / 0.9574 GB, free: 12.84 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002458/0.008908, allocations: 103.9 kB / 0.9575 GB, free: 12.74 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.00891, allocations: 0 / 0.9575 GB, free: 12.74 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 9.718e-05/0.009007, allocations: 47.89 kB / 0.9576 GB, free: 12.7 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002442/0.009251, allocations: 8 kB / 0.9576 GB, free: 12.69 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003805/0.009632, allocations: 186.5 kB / 0.9578 GB, free: 12.47 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.289e-05/0.009674, allocations: 63.34 kB / 0.9578 GB, free: 12.39 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.644e-05/0.009711, allocations: 12.48 kB / 0.9578 GB, free: 12.38 MB / 0.9167 GB Notification: Performance of SimCode: time 6.61e-07/0.009712, allocations: 4 kB / 0.9579 GB, free: 12.38 MB / 0.9167 GB Notification: Performance of Templates: time 0.001852/0.01156, allocations: 0.9171 MB / 0.9587 GB, free: 11.47 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_InverseXRegularized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 6.314092095941305]