Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.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.001429/0.001429, allocations: 79.73 kB / 19.76 MB, free: 1.871 MB / 14.72 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.001626/0.001626, allocations: 156 kB / 23.01 MB, free: 4.602 MB / 14.72 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.566/1.566, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.767/2.767, allocations: 359.1 MB / 0.6044 GB, free: 14.87 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mot.y|mot.uppHys.y|mot.delta|ySet.y|mot.lowHys.u|mot.lowHys.y|mot.uppHys.u",fileNamePrefix="Buildings_11_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor") translateModel(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mot.y|mot.uppHys.y|mot.delta|ySet.y|mot.lowHys.u|mot.lowHys.y|mot.uppHys.u",fileNamePrefix="Buildings_11_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0025/0.0025, allocations: 63.91 kB / 0.9515 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4362/0.4387, allocations: 169.9 MB / 1.117 GB, free: 2.559 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.004034/0.4427, allocations: 1.927 MB / 1.119 GB, free: 0.6211 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001765/0.4445, allocations: 0.7013 MB / 1.12 GB, free: 15.92 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002301/0.4447, allocations: 0 / 1.12 GB, free: 15.92 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0003132/0.445, allocations: 91.62 kB / 1.12 GB, free: 15.83 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0002184/0.4452, allocations: 83.58 kB / 1.12 GB, free: 15.75 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008204/0.4461, allocations: 189.7 kB / 1.12 GB, free: 15.56 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0005305/0.4466, allocations: 263.4 kB / 1.121 GB, free: 15.3 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002055/0.4468, allocations: 46.16 kB / 1.121 GB, free: 15.26 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002453/0.447, allocations: 119.7 kB / 1.121 GB, free: 15.14 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002855/0.4473, allocations: 155.4 kB / 1.121 GB, free: 14.99 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 4.98e-05/0.4474, allocations: 20 kB / 1.121 GB, free: 14.97 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001934/0.4476, allocations: 87.92 kB / 1.121 GB, free: 14.89 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001157/0.4477, allocations: 59.78 kB / 1.121 GB, free: 14.83 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001298/0.4478, allocations: 83.52 kB / 1.121 GB, free: 14.75 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.00052/0.4483, allocations: 310.8 kB / 1.121 GB, free: 14.44 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.4483, allocations: 4 kB / 1.121 GB, free: 14.44 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.415e-06/0.4483, allocations: 0 / 1.121 GB, free: 14.44 MB / 1.076 GB Notification: Performance of Transformations before backend: time 2.114e-05/0.4484, allocations: 0 / 1.121 GB, free: 14.44 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001002/0.4494, allocations: 0.5141 MB / 1.122 GB, free: 13.89 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.4494, allocations: 11.97 kB / 1.122 GB, free: 13.88 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.201e-05/0.4495, allocations: 28.75 kB / 1.122 GB, free: 13.85 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005602/0.4501, allocations: 245.6 kB / 1.122 GB, free: 13.58 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.392e-05/0.4501, allocations: 16.38 kB / 1.122 GB, free: 13.57 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.994e-05/0.4501, allocations: 12.38 kB / 1.122 GB, free: 13.55 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004827/0.4506, allocations: 312.9 kB / 1.123 GB, free: 13.21 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.4506, allocations: 0 / 1.123 GB, free: 13.21 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.334e-05/0.4507, allocations: 8 kB / 1.123 GB, free: 13.2 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.79e-06/0.4507, allocations: 0 / 1.123 GB, free: 13.2 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002976/0.451, allocations: 174 kB / 1.123 GB, free: 13.02 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009056/0.4519, allocations: 0.5597 MB / 1.123 GB, free: 12.43 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004208/0.4523, allocations: 192.1 kB / 1.123 GB, free: 12.22 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000193/0.4525, allocations: 118.7 kB / 1.124 GB, free: 12.1 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.743e-05/0.4525, allocations: 4 kB / 1.124 GB, free: 12.09 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003158/0.4528, allocations: 202.8 kB / 1.124 GB, free: 11.87 MB / 1.076 GB Notification: Performance of pre-optimization done (n=15): time 1.313e-06/0.4528, allocations: 0 / 1.124 GB, free: 11.87 MB / 1.076 GB Notification: Performance of matching and sorting (n=15): time 0.0007716/0.4536, allocations: 442.4 kB / 1.124 GB, free: 11.41 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001043/0.4537, allocations: 136.5 kB / 1.124 GB, free: 11.25 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003393/0.454, allocations: 269.8 kB / 1.125 GB, free: 10.98 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.67e-05/0.4541, allocations: 33.7 kB / 1.125 GB, free: 10.94 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001474/0.4542, allocations: 156.3 kB / 1.125 GB, free: 10.78 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.902e-05/0.4543, allocations: 47.64 kB / 1.125 GB, free: 10.73 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.002e-05/0.4543, allocations: 41.7 kB / 1.125 GB, free: 10.69 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001648/0.4545, allocations: 338.8 kB / 1.125 GB, free: 10.35 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001971/0.4547, allocations: 117.6 kB / 1.125 GB, free: 10.23 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002693/0.455, allocations: 224.3 kB / 1.125 GB, free: 9.973 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003842/0.4554, allocations: 244.8 kB / 1.126 GB, free: 9.711 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.4554, allocations: 0 / 1.126 GB, free: 9.711 MB / 1.076 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006135/0.456, allocations: 372.8 kB / 1.126 GB, free: 9.328 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 5.539e-05/0.456, allocations: 48.59 kB / 1.126 GB, free: 9.277 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.456, allocations: 0 / 1.126 GB, free: 9.277 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.4561, allocations: 4 kB / 1.126 GB, free: 9.273 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001313/0.4562, allocations: 23.92 kB / 1.126 GB, free: 9.25 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.4562, allocations: 4 kB / 1.126 GB, free: 9.246 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001388/0.4563, allocations: 31.97 kB / 1.126 GB, free: 9.215 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.993e-05/0.4564, allocations: 8 kB / 1.126 GB, free: 9.207 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 12 (ySet.nextEventScaled,ySet.nextEvent,$PRE.ySet.nextEvent,ySet.last,ySet.b,ySet.a,mot.lowHys.y,$PRE.mot.lowHys.y,mot.uppHys.y,$PRE.mot.uppHys.y,$whenCondition1,mot.int.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 1 * 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.0002042/0.4566, allocations: 191.4 kB / 1.126 GB, free: 9.004 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.094e-05/0.4566, allocations: 27.86 kB / 1.126 GB, free: 8.977 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.819e-05/0.4567, allocations: 29.77 kB / 1.126 GB, free: 8.949 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.4567, allocations: 3.984 kB / 1.126 GB, free: 8.945 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.4567, allocations: 0 / 1.126 GB, free: 8.945 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.4567, allocations: 0 / 1.126 GB, free: 8.945 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002442/0.4569, allocations: 205.1 kB / 1.127 GB, free: 8.715 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.4569, allocations: 0 / 1.127 GB, free: 8.715 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000106/0.457, allocations: 19.92 kB / 1.127 GB, free: 8.695 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.457, allocations: 0 / 1.127 GB, free: 8.695 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.411e-05/0.4571, allocations: 11.98 kB / 1.127 GB, free: 8.684 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.4571, allocations: 0 / 1.127 GB, free: 8.684 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.4571, allocations: 3.984 kB / 1.127 GB, free: 8.68 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008256/0.4579, allocations: 0.5237 MB / 1.127 GB, free: 8.121 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 3.743e-05/0.4579, allocations: 19.89 kB / 1.127 GB, free: 8.102 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.465e-05/0.458, allocations: 12.06 kB / 1.127 GB, free: 8.09 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.4581, allocations: 11.98 kB / 1.127 GB, free: 8.078 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.392e-05/0.4582, allocations: 27.95 kB / 1.127 GB, free: 8.051 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.312e-05/0.4582, allocations: 11.92 kB / 1.127 GB, free: 8.039 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001911/0.4584, allocations: 193.2 kB / 1.127 GB, free: 7.848 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.4584, allocations: 0 / 1.127 GB, free: 7.848 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003052/0.4587, allocations: 63.83 kB / 1.127 GB, free: 7.785 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (mot.int.y) * Number of discrete variables: 8 ($whenCondition1,mot.uppHys.y,mot.lowHys.y,ySet.a,ySet.b,ySet.last,ySet.nextEvent,ySet.nextEventScaled) * Number of discrete states: 8 (mot.lowHys.y,mot.uppHys.y,ySet.nextEvent,ySet.last,ySet.nextEventScaled,ySet.b,ySet.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 1 * 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.0002195/0.4589, allocations: 131.8 kB / 1.128 GB, free: 7.648 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0005475/0.4595, allocations: 326.6 kB / 1.128 GB, free: 7.305 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.4595, allocations: 0 / 1.128 GB, free: 7.305 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002537/0.4597, allocations: 185 kB / 1.128 GB, free: 7.105 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003048/0.46, allocations: 43.05 kB / 1.128 GB, free: 7.066 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008899/0.4609, allocations: 486.8 kB / 1.129 GB, free: 6.559 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001524/0.4611, allocations: 136.7 kB / 1.129 GB, free: 6.406 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 7.841e-05/0.4611, allocations: 21.48 kB / 1.129 GB, free: 6.387 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.822e-05/0.4612, allocations: 20.5 kB / 1.129 GB, free: 6.367 MB / 1.076 GB Notification: Performance of SimCode: time 4.51e-07/0.4612, allocations: 0 / 1.129 GB, free: 6.367 MB / 1.076 GB Notification: Performance of Templates: time 0.007858/0.469, allocations: 2.886 MB / 1.132 GB, free: 3.527 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; mkfifo Buildings_11_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe >> ../files/Buildings_11_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.sim & ./Buildings_11_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Actuators_Motors_Examples_IdealMotor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.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: 9.761348058003932]