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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001731/0.001731, allocations: 115.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001986/0.001986, allocations: 193.6 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.537/1.537, allocations: 225.6 MB / 250.9 MB, free: 13.3 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.892/2.892, allocations: 476.7 MB / 0.7645 GB, free: 10.11 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.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: Performance of FrontEnd - loaded program: time 0.002147/0.002147, allocations: 68.12 kB / 1.109 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4322/0.4343, allocations: 168.7 MB / 1.274 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.00455/0.4389, allocations: 1.975 MB / 1.276 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001801/0.4407, allocations: 0.7207 MB / 1.277 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000301/0.441, allocations: 3.938 kB / 1.277 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0003741/0.4413, allocations: 87.64 kB / 1.277 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002529/0.4416, allocations: 87.62 kB / 1.277 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009009/0.4425, allocations: 183.3 kB / 1.277 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000507/0.443, allocations: 263.4 kB / 1.277 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001921/0.4432, allocations: 65.8 kB / 1.277 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002589/0.4434, allocations: 123.6 kB / 1.277 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003286/0.4438, allocations: 155.5 kB / 1.278 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.439e-05/0.4438, allocations: 24 kB / 1.278 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002002/0.444, allocations: 91.92 kB / 1.278 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001116/0.4442, allocations: 63.77 kB / 1.278 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001374/0.4443, allocations: 103.3 kB / 1.278 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005402/0.4448, allocations: 310.8 kB / 1.278 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.4448, allocations: 0 / 1.278 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of FrontEnd: time 4.428e-06/0.4448, allocations: 7.938 kB / 1.278 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.454e-05/0.4449, allocations: 0 / 1.278 GB, free: 7.012 MB / 0.9825 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.001201/0.4461, allocations: 0.5972 MB / 1.279 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.4461, allocations: 8.031 kB / 1.279 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.894e-05/0.4462, allocations: 28.8 kB / 1.279 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006315/0.4468, allocations: 307 kB / 1.279 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.744e-05/0.4469, allocations: 16.38 kB / 1.279 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.459e-05/0.4469, allocations: 12.38 kB / 1.279 GB, free: 5.957 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004388/0.4473, allocations: 231.2 kB / 1.279 GB, free: 5.707 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.4473, allocations: 0 / 1.279 GB, free: 5.707 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.302e-05/0.4474, allocations: 4 kB / 1.279 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.4474, allocations: 4 kB / 1.279 GB, free: 5.699 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002911/0.4477, allocations: 132.4 kB / 1.279 GB, free: 5.57 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001056/0.4487, allocations: 0.677 MB / 1.28 GB, free: 4.836 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003871/0.4491, allocations: 158.6 kB / 1.28 GB, free: 4.672 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001699/0.4493, allocations: 84.86 kB / 1.28 GB, free: 4.586 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.107e-05/0.4493, allocations: 4 kB / 1.28 GB, free: 4.582 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000304/0.4496, allocations: 173 kB / 1.281 GB, free: 4.395 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=15): time 1.734e-06/0.4496, allocations: 0 / 1.281 GB, free: 4.395 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15): time 0.0007588/0.4504, allocations: 378.9 kB / 1.281 GB, free: 4.012 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001004/0.4505, allocations: 132.5 kB / 1.281 GB, free: 3.852 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000322/0.4508, allocations: 286.7 kB / 1.281 GB, free: 3.559 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.049e-05/0.4508, allocations: 25.7 kB / 1.281 GB, free: 3.527 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001589/0.451, allocations: 164.3 kB / 1.281 GB, free: 3.363 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.717e-05/0.451, allocations: 43.62 kB / 1.282 GB, free: 3.32 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.848e-05/0.4511, allocations: 41.67 kB / 1.282 GB, free: 3.273 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000183/0.4513, allocations: 338.8 kB / 1.282 GB, free: 2.934 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001825/0.4515, allocations: 87.89 kB / 1.282 GB, free: 2.848 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002315/0.4517, allocations: 133.1 kB / 1.282 GB, free: 2.699 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003674/0.4521, allocations: 240.9 kB / 1.282 GB, free: 2.441 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.4521, allocations: 3.938 kB / 1.282 GB, free: 2.438 MB / 0.9825 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005647/0.4526, allocations: 343 kB / 1.283 GB, free: 2.09 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.933e-05/0.4527, allocations: 33.7 kB / 1.283 GB, free: 2.051 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.4527, allocations: 0 / 1.283 GB, free: 2.051 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/0.4527, allocations: 4 kB / 1.283 GB, free: 2.047 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001345/0.4529, allocations: 19.98 kB / 1.283 GB, free: 2.027 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.908e-06/0.4529, allocations: 4 kB / 1.283 GB, free: 2.023 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001344/0.453, allocations: 23.88 kB / 1.283 GB, free: 2 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.167e-05/0.453, allocations: 8 kB / 1.283 GB, free: 1.992 MB / 0.9825 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.0002192/0.4532, allocations: 199.4 kB / 1.283 GB, free: 1.781 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.816e-05/0.4533, allocations: 31.84 kB / 1.283 GB, free: 1.75 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.289e-05/0.4534, allocations: 29.83 kB / 1.283 GB, free: 1.719 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.4534, allocations: 0 / 1.283 GB, free: 1.719 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.832e-06/0.4534, allocations: 0 / 1.283 GB, free: 1.719 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.4534, allocations: 4 kB / 1.283 GB, free: 1.715 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003339/0.4537, allocations: 297.3 kB / 1.283 GB, free: 1.375 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.4537, allocations: 0 / 1.283 GB, free: 1.375 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001136/0.4538, allocations: 15.98 kB / 1.283 GB, free: 1.359 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/0.4538, allocations: 4 kB / 1.283 GB, free: 1.355 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.473e-05/0.4539, allocations: 8 kB / 1.283 GB, free: 1.348 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.4539, allocations: 0 / 1.283 GB, free: 1.348 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.4539, allocations: 0 / 1.283 GB, free: 1.348 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008073/0.4547, allocations: 469.1 kB / 1.284 GB, free: 0.8672 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.359e-05/0.4547, allocations: 108.8 kB / 1.284 GB, free: 0.7422 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.426e-05/0.4548, allocations: 8.062 kB / 1.284 GB, free: 0.7344 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.4549, allocations: 15.98 kB / 1.284 GB, free: 0.7188 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.301e-05/0.455, allocations: 27.95 kB / 1.284 GB, free: 0.6914 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.47e-05/0.455, allocations: 4 kB / 1.284 GB, free: 0.6875 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002121/0.4552, allocations: 202 kB / 1.284 GB, free: 0.4961 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.4552, allocations: 0 / 1.284 GB, free: 0.4961 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003312/0.4556, allocations: 59.92 kB / 1.284 GB, free: 448 kB / 0.9825 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.0002415/0.4558, allocations: 143.6 kB / 1.284 GB, free: 296 kB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005319/0.4563, allocations: 255.2 kB / 1.285 GB, free: 28 kB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.4563, allocations: 0 / 1.285 GB, free: 28 kB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000269/0.4566, allocations: 155.3 kB / 1.285 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003385/0.4569, allocations: 34.98 kB / 1.285 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001216/0.4582, allocations: 492.7 kB / 1.285 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004327/0.4586, allocations: 0.7514 MB / 1.286 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 9.447e-05/0.4587, allocations: 21.53 kB / 1.286 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.924e-05/0.4587, allocations: 15.44 kB / 1.286 GB, free: 14.51 MB / 0.9981 GB Notification: Performance of SimCode: time 4.21e-07/0.4587, allocations: 4 kB / 1.286 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of Templates: time 0.007458/0.4662, allocations: 2.883 MB / 1.289 GB, free: 11.64 MB / 0.9981 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 gbode -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_2/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.138710230123252]