Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001753/0.001753, allocations: 101.1 kB / 19.71 MB, free: 2.117 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.002275/0.002275, allocations: 211 kB / 23.01 MB, free: 4.926 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.666/1.666, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.533/3.533, allocations: 0.49 GB / 0.7959 GB, free: 35.52 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.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_12_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_12_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.002262/0.002262, allocations: 59.78 kB / 1.155 GB, free: 25.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4373/0.4396, allocations: 176.1 MB / 1.327 GB, free: 0.875 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.004483/0.4441, allocations: 1.932 MB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001644/0.4457, allocations: 0.7051 MB / 1.33 GB, free: 14.22 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001976/0.4459, allocations: 4 kB / 1.33 GB, free: 14.22 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002858/0.4462, allocations: 83.64 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002295/0.4464, allocations: 95.56 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007339/0.4471, allocations: 191.5 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004274/0.4476, allocations: 255.4 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001739/0.4478, allocations: 50.17 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002473/0.448, allocations: 115.7 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003112/0.4483, allocations: 163.5 kB / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.335e-05/0.4484, allocations: 20 kB / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000194/0.4486, allocations: 99.91 kB / 1.331 GB, free: 13.17 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001024/0.4487, allocations: 55.78 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001189/0.4488, allocations: 79.53 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005106/0.4493, allocations: 310.8 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.4493, allocations: 0 / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.773e-06/0.4493, allocations: 0 / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.359e-05/0.4493, allocations: 0 / 1.331 GB, free: 12.73 MB / 1.029 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.001084/0.4504, allocations: 0.5234 MB / 1.332 GB, free: 12.17 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/0.4504, allocations: 11.97 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.68e-05/0.4505, allocations: 32.75 kB / 1.332 GB, free: 12.13 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005687/0.4511, allocations: 241.2 kB / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.243e-05/0.4511, allocations: 16.38 kB / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.95e-05/0.4512, allocations: 16.38 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005083/0.4517, allocations: 312.3 kB / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.4517, allocations: 0 / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.185e-05/0.4517, allocations: 8 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-06/0.4517, allocations: 4 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003232/0.452, allocations: 162 kB / 1.332 GB, free: 11.31 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000889/0.4529, allocations: 0.5636 MB / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003956/0.4533, allocations: 188.2 kB / 1.333 GB, free: 10.51 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001988/0.4535, allocations: 122.5 kB / 1.333 GB, free: 10.38 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.168e-05/0.4535, allocations: 7.984 kB / 1.333 GB, free: 10.38 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003274/0.4539, allocations: 198.7 kB / 1.333 GB, free: 10.16 MB / 1.029 GB Notification: Performance of pre-optimization done (n=15): time 1.804e-06/0.4539, allocations: 0 / 1.333 GB, free: 10.16 MB / 1.029 GB Notification: Performance of matching and sorting (n=15): time 0.0007814/0.4547, allocations: 437.2 kB / 1.334 GB, free: 9.707 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.996e-05/0.4547, allocations: 144.5 kB / 1.334 GB, free: 9.535 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002985/0.455, allocations: 266 kB / 1.334 GB, free: 9.266 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.391e-05/0.4551, allocations: 37.64 kB / 1.334 GB, free: 9.223 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001402/0.4552, allocations: 152.3 kB / 1.334 GB, free: 9.066 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.229e-05/0.4553, allocations: 51.56 kB / 1.334 GB, free: 9.016 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.254e-05/0.4554, allocations: 41.7 kB / 1.335 GB, free: 8.969 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001821/0.4556, allocations: 338.8 kB / 1.335 GB, free: 8.629 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002116/0.4558, allocations: 117.6 kB / 1.335 GB, free: 8.508 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000265/0.456, allocations: 218.1 kB / 1.335 GB, free: 8.258 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003578/0.4564, allocations: 247.7 kB / 1.335 GB, free: 7.992 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.4564, allocations: 0 / 1.335 GB, free: 7.992 MB / 1.029 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005772/0.457, allocations: 378.2 kB / 1.336 GB, free: 7.605 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.107e-05/0.457, allocations: 41.69 kB / 1.336 GB, free: 7.559 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.457, allocations: 96 / 1.336 GB, free: 7.559 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.457, allocations: 8 kB / 1.336 GB, free: 7.551 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001306/0.4572, allocations: 23.92 kB / 1.336 GB, free: 7.527 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.456e-05/0.4572, allocations: 4 kB / 1.336 GB, free: 7.523 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001193/0.4573, allocations: 19.94 kB / 1.336 GB, free: 7.504 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.953e-05/0.4573, allocations: 8 kB / 1.336 GB, free: 7.496 MB / 1.029 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.0002133/0.4575, allocations: 197.8 kB / 1.336 GB, free: 7.289 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.152e-05/0.4576, allocations: 23.86 kB / 1.336 GB, free: 7.266 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.881e-05/0.4576, allocations: 33.77 kB / 1.336 GB, free: 7.23 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.4576, allocations: 0 / 1.336 GB, free: 7.23 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.4576, allocations: 0 / 1.336 GB, free: 7.23 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.912e-05/0.4577, allocations: 23.81 kB / 1.336 GB, free: 7.207 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.533e-05/0.4577, allocations: 8 kB / 1.336 GB, free: 7.199 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.4578, allocations: 11.98 kB / 1.336 GB, free: 7.188 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.667e-05/0.4579, allocations: 27.89 kB / 1.336 GB, free: 7.16 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008682/0.4588, allocations: 0.519 MB / 1.337 GB, free: 6.609 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009128/0.4597, allocations: 0.6691 MB / 1.337 GB, free: 5.906 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002131/0.4599, allocations: 125.7 kB / 1.337 GB, free: 5.777 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001949/0.4601, allocations: 193.2 kB / 1.338 GB, free: 5.59 MB / 1.029 GB Notification: Performance of Backend: time 4.51e-07/0.4601, allocations: 0 / 1.338 GB, free: 5.59 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008046/0.4609, allocations: 313.1 kB / 1.338 GB, free: 5.262 MB / 1.029 GB Notification: Performance of SimCode: time 0.001146/0.4621, allocations: 0.9197 MB / 1.339 GB, free: 4.281 MB / 1.029 GB Notification: Performance of Templates: time 0.007932/0.47, allocations: 3.379 MB / 1.342 GB, free: 0.9492 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; mkfifo Buildings_12_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe >> ../files/Buildings_12_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.sim & ./Buildings_12_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Actuators_Motors_Examples_IdealMotor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,mot.y,mot.uppHys.y,mot.delta,ySet.y,mot.lowHys.u,mot.lowHys.y,mot.uppHys.u Variables in the result:mot.add.k1,mot.add.k2,mot.delta,mot.int.initType,mot.int.k,mot.int.limitsAtInit,mot.int.outMax,mot.int.outMin,mot.int.strict,mot.int.y,mot.int.y_start,mot.lowHys.pre_y_start,mot.lowHys.u,mot.lowHys.uHigh,mot.lowHys.uLow,mot.lowHys.y,mot.tClo,mot.tOpe,mot.uppHys.pre_y_start,mot.uppHys.u,mot.uppHys.uHigh,mot.uppHys.uLow,mot.uppHys.y,mot.vClo.k,mot.vOpe.k,mot.y,mot.y_start,mot.zer.k,time,ySet.offset,ySet.shiftTime,ySet.startTime,ySet.table[1,1],ySet.table[1,2],ySet.table[10,1],ySet.table[10,2],ySet.table[11,1],ySet.table[11,2],ySet.table[12,1],ySet.table[12,2],ySet.table[13,1],ySet.table[13,2],ySet.table[2,1],ySet.table[2,2],ySet.table[3,1],ySet.table[3,2],ySet.table[4,1],ySet.table[4,2],ySet.table[5,1],ySet.table[5,2],ySet.table[6,1],ySet.table[6,2],ySet.table[7,1],ySet.table[7,2],ySet.table[8,1],ySet.table[8,2],ySet.table[9,1],ySet.table[9,2],ySet.timeScale,ySet.y [Calling sys.exit(0), Time elapsed: 10.226775815011933]