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.0007882/0.0007882, allocations: 76.55 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.0007557/0.0007557, allocations: 181.9 kB / 23.22 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.8714/0.8714, 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.619/1.619, allocations: 359 MB / 0.6044 GB, free: 11.11 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.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 2.204e-06/2.204e-06, allocations: 0 / 0.9517 GB, free: 3.02 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.035e-05/2.255e-05, allocations: 2.281 kB / 0.9517 GB, free: 3.016 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.002505/0.002528, allocations: 1.926 MB / 0.9536 GB, free: 1.074 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0009972/0.003525, allocations: 0.7049 MB / 0.9543 GB, free: 372 kB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001135/0.003639, allocations: 7.938 kB / 0.9543 GB, free: 364 kB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0002406/0.003879, allocations: 83.62 kB / 0.9544 GB, free: 280 kB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 9.881e-05/0.003978, allocations: 91.58 kB / 0.9545 GB, free: 188 kB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005009/0.004479, allocations: 186.5 kB / 0.9546 GB, free: 4 kB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0002741/0.004753, allocations: 267.3 kB / 0.9549 GB, free: 15.74 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001528/0.004906, allocations: 50.17 kB / 0.9549 GB, free: 15.69 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001591/0.005065, allocations: 147.7 kB / 0.9551 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001833/0.005248, allocations: 139.7 kB / 0.9552 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 3.1e-05/0.005279, allocations: 20 kB / 0.9552 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009029/0.006182, allocations: 91.92 kB / 0.9553 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 8.431e-05/0.006266, allocations: 55.77 kB / 0.9554 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 7.395e-05/0.00634, allocations: 71.77 kB / 0.9554 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0003362/0.006677, allocations: 334.9 kB / 0.9558 GB, free: 14.85 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.006679, allocations: 0 / 0.9558 GB, free: 14.85 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.132e-06/0.00668, allocations: 4 kB / 0.9558 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.59e-06/0.006685, allocations: 0 / 0.9558 GB, free: 14.84 MB / 0.9167 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.0006722/0.007358, allocations: 0.4986 MB / 0.9562 GB, free: 14.31 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.007402, allocations: 12.03 kB / 0.9563 GB, free: 14.3 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.335e-05/0.007465, allocations: 32.73 kB / 0.9563 GB, free: 14.27 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003586/0.007824, allocations: 252.8 kB / 0.9565 GB, free: 13.99 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.088e-05/0.007845, allocations: 12.38 kB / 0.9565 GB, free: 13.98 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.079e-05/0.007876, allocations: 16.36 kB / 0.9566 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003285/0.008204, allocations: 308.8 kB / 0.9569 GB, free: 13.62 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.008215, allocations: 192 / 0.9569 GB, free: 13.62 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.773e-05/0.008233, allocations: 8.125 kB / 0.9569 GB, free: 13.61 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.00824, allocations: 4 kB / 0.9569 GB, free: 13.61 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001776/0.008418, allocations: 162 kB / 0.957 GB, free: 13.45 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005987/0.009017, allocations: 0.5791 MB / 0.9576 GB, free: 12.83 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002404/0.009257, allocations: 184.2 kB / 0.9578 GB, free: 12.63 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001127/0.00937, allocations: 118.8 kB / 0.9579 GB, free: 12.51 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.01e-05/0.00939, allocations: 0 / 0.9579 GB, free: 12.51 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002125/0.009602, allocations: 213.7 kB / 0.9581 GB, free: 12.28 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=15): time 1.713e-06/0.009604, allocations: 3.984 kB / 0.9581 GB, free: 12.27 MB / 0.9167 GB Notification: Performance of matching and sorting (n=15): time 0.0004724/0.01008, allocations: 434.6 kB / 0.9585 GB, free: 11.82 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.982e-05/0.01014, allocations: 140.5 kB / 0.9586 GB, free: 11.66 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001775/0.01031, allocations: 261.9 kB / 0.9589 GB, free: 11.39 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.01033, allocations: 33.7 kB / 0.9589 GB, free: 11.36 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 9.972e-05/0.01043, allocations: 164.3 kB / 0.9591 GB, free: 11.19 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.761e-05/0.01046, allocations: 35.7 kB / 0.9591 GB, free: 11.16 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.396e-05/0.01051, allocations: 49.66 kB / 0.9591 GB, free: 11.1 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.01062, allocations: 330.8 kB / 0.9595 GB, free: 10.77 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001102/0.01073, allocations: 121.7 kB / 0.9596 GB, free: 10.64 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001459/0.01087, allocations: 216.1 kB / 0.9598 GB, free: 10.4 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002013/0.01107, allocations: 248.5 kB / 0.96 GB, free: 10.13 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.01108, allocations: 4 kB / 0.96 GB, free: 10.13 MB / 0.9167 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003168/0.01139, allocations: 390.7 kB / 0.9604 GB, free: 9.73 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 3.088e-05/0.01142, allocations: 41.69 kB / 0.9604 GB, free: 9.684 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.01143, allocations: 0 / 0.9604 GB, free: 9.684 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.01144, allocations: 4 kB / 0.9604 GB, free: 9.68 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.923e-05/0.01151, allocations: 19.98 kB / 0.9605 GB, free: 9.66 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.01151, allocations: 96 / 0.9605 GB, free: 9.66 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.041e-05/0.01157, allocations: 27.81 kB / 0.9605 GB, free: 9.633 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/0.01159, allocations: 16.03 kB / 0.9605 GB, free: 9.617 MB / 0.9167 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.0001115/0.0117, allocations: 187.5 kB / 0.9607 GB, free: 9.418 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.04e-05/0.01172, allocations: 27.8 kB / 0.9607 GB, free: 9.391 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.563e-05/0.01175, allocations: 33.77 kB / 0.9607 GB, free: 9.355 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.01175, allocations: 0 / 0.9607 GB, free: 9.355 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.01176, allocations: 0 / 0.9607 GB, free: 9.355 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.01176, allocations: 0 / 0.9607 GB, free: 9.355 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001241/0.01189, allocations: 197.2 kB / 0.9609 GB, free: 9.133 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.01189, allocations: 0 / 0.9609 GB, free: 9.133 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.534e-05/0.01194, allocations: 19.98 kB / 0.9609 GB, free: 9.113 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.01194, allocations: 3.938 kB / 0.961 GB, free: 9.109 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.01196, allocations: 7.938 kB / 0.961 GB, free: 9.102 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.01e-07/0.01196, allocations: 0 / 0.961 GB, free: 9.102 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.01196, allocations: 0 / 0.961 GB, free: 9.102 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004478/0.01241, allocations: 0.529 MB / 0.9615 GB, free: 8.535 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 2.154e-05/0.01243, allocations: 27.81 kB / 0.9615 GB, free: 8.508 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.555e-05/0.01245, allocations: 8 kB / 0.9615 GB, free: 8.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.567e-05/0.0125, allocations: 16.05 kB / 0.9615 GB, free: 8.484 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.71e-05/0.01256, allocations: 23.95 kB / 0.9615 GB, free: 8.461 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.618e-05/0.01257, allocations: 8 kB / 0.9616 GB, free: 8.453 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001099/0.01268, allocations: 197.1 kB / 0.9617 GB, free: 8.258 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.01268, allocations: 3.938 kB / 0.9617 GB, free: 8.254 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001718/0.01286, allocations: 55.88 kB / 0.9618 GB, free: 8.199 MB / 0.9167 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.0001329/0.01299, allocations: 135.1 kB / 0.9619 GB, free: 8.059 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0005651/0.01355, allocations: 332.9 kB / 0.9622 GB, free: 7.711 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.01356, allocations: 0 / 0.9622 GB, free: 7.711 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001242/0.01368, allocations: 185 kB / 0.9624 GB, free: 7.512 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001857/0.01386, allocations: 36.47 kB / 0.9625 GB, free: 7.477 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005362/0.0144, allocations: 0.5103 MB / 0.963 GB, free: 6.926 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.674e-05/0.01449, allocations: 140.6 kB / 0.9631 GB, free: 6.77 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.748e-05/0.01453, allocations: 24.48 kB / 0.9631 GB, free: 6.746 MB / 0.9167 GB Notification: Performance of SimCode: time 5.51e-07/0.01453, allocations: 0 / 0.9631 GB, free: 6.746 MB / 0.9167 GB Notification: Performance of Templates: time 0.003162/0.01769, allocations: 3.046 MB / 0.9661 GB, free: 3.711 MB / 0.9167 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 -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/jenkins/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: 6.858624681830406]