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.001923/0.001923, allocations: 84.12 kB / 19.18 MB, free: 2.527 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.002428/0.002428, allocations: 165.3 kB / 22.46 MB, free: 5.359 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.662/1.662, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] 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 2.829/2.829, allocations: 359 MB / 0.6037 GB, free: 14.96 MB / 0.5762 GB " [Timeout remaining time 176] 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 1.694e-06/1.694e-06, allocations: 0 / 0.951 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.804e-05/2.974e-05, allocations: 2.281 kB / 0.951 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.004166/0.004196, allocations: 1.925 MB / 0.9528 GB, free: 9.613 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00187/0.006066, allocations: 0.7011 MB / 0.9535 GB, free: 8.906 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001777/0.006244, allocations: 11.94 kB / 0.9535 GB, free: 8.895 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003123/0.006556, allocations: 79.58 kB / 0.9536 GB, free: 8.816 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002219/0.006778, allocations: 91.58 kB / 0.9537 GB, free: 8.727 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008219/0.0076, allocations: 189.5 kB / 0.9539 GB, free: 8.543 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005765/0.008176, allocations: 259.3 kB / 0.9541 GB, free: 8.289 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000231/0.008407, allocations: 58.08 kB / 0.9542 GB, free: 8.23 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004061/0.008813, allocations: 155.7 kB / 0.9543 GB, free: 8.078 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003657/0.009179, allocations: 139.7 kB / 0.9545 GB, free: 7.941 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.138e-05/0.00925, allocations: 20 kB / 0.9545 GB, free: 7.922 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002099/0.00946, allocations: 95.91 kB / 0.9546 GB, free: 7.828 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001246/0.009585, allocations: 59.77 kB / 0.9546 GB, free: 7.77 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001238/0.009708, allocations: 51.86 kB / 0.9547 GB, free: 7.719 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006388/0.01035, allocations: 342.9 kB / 0.955 GB, free: 7.383 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.01035, allocations: 0 / 0.955 GB, free: 7.383 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.312e-06/0.01035, allocations: 0 / 0.955 GB, free: 7.383 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.026e-05/0.01036, allocations: 0 / 0.955 GB, free: 7.383 MB / 0.8575 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.001324/0.01169, allocations: 0.5084 MB / 0.9555 GB, free: 6.84 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.185e-05/0.01174, allocations: 12.03 kB / 0.9555 GB, free: 6.828 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001288/0.01187, allocations: 36.75 kB / 0.9555 GB, free: 6.793 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006869/0.01256, allocations: 244.9 kB / 0.9558 GB, free: 6.531 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.238e-05/0.01259, allocations: 12.38 kB / 0.9558 GB, free: 6.52 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.603e-05/0.01263, allocations: 12.38 kB / 0.9558 GB, free: 6.508 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006262/0.01326, allocations: 312.7 kB / 0.9561 GB, free: 6.16 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.01328, allocations: 192 / 0.9561 GB, free: 6.16 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.382e-05/0.01331, allocations: 8.125 kB / 0.9561 GB, free: 6.152 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/0.01332, allocations: 8 kB / 0.9561 GB, free: 6.145 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004014/0.01372, allocations: 162 kB / 0.9563 GB, free: 5.98 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001146/0.01487, allocations: 0.5636 MB / 0.9568 GB, free: 5.379 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004354/0.01531, allocations: 192.2 kB / 0.957 GB, free: 5.176 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002368/0.01554, allocations: 125.9 kB / 0.9571 GB, free: 5.047 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.659e-05/0.01556, allocations: 0 / 0.9571 GB, free: 5.047 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000368/0.01593, allocations: 208.6 kB / 0.9573 GB, free: 4.82 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=15): time 2.325e-06/0.01593, allocations: 0 / 0.9573 GB, free: 4.82 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15): time 0.0009458/0.01688, allocations: 438.5 kB / 0.9577 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001125/0.01699, allocations: 136.5 kB / 0.9579 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003335/0.01732, allocations: 265.9 kB / 0.9581 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.485e-05/0.01736, allocations: 29.7 kB / 0.9582 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001568/0.01751, allocations: 168.3 kB / 0.9583 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.638e-05/0.01757, allocations: 43.67 kB / 0.9584 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.992e-05/0.01767, allocations: 41.7 kB / 0.9584 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002107/0.01788, allocations: 334.8 kB / 0.9587 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002241/0.0181, allocations: 117.7 kB / 0.9588 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000294/0.0184, allocations: 216 kB / 0.959 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004375/0.01884, allocations: 250.8 kB / 0.9593 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.01884, allocations: 3.938 kB / 0.9593 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000735/0.01957, allocations: 378.6 kB / 0.9596 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 6.161e-05/0.01964, allocations: 41.69 kB / 0.9597 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.01965, allocations: 3.984 kB / 0.9597 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.748e-05/0.01967, allocations: 0 / 0.9597 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001498/0.01982, allocations: 23.98 kB / 0.9597 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.054e-06/0.01983, allocations: 4.094 kB / 0.9597 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001509/0.01998, allocations: 27.88 kB / 0.9597 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.186e-05/0.02, allocations: 7.938 kB / 0.9597 GB, free: 2.164 MB / 0.8575 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.0002605/0.02026, allocations: 189.5 kB / 0.9599 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.326e-05/0.02032, allocations: 31.75 kB / 0.96 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.699e-05/0.02039, allocations: 33.77 kB / 0.96 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.0204, allocations: 0 / 0.96 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.0204, allocations: 0 / 0.96 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.02041, allocations: 4 kB / 0.96 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002828/0.02069, allocations: 201.2 kB / 0.9602 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.02069, allocations: 0 / 0.9602 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001147/0.0208, allocations: 15.98 kB / 0.9602 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.083e-06/0.02081, allocations: 3.938 kB / 0.9602 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.167e-05/0.02084, allocations: 19.92 kB / 0.9602 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.654e-06/0.02085, allocations: 0 / 0.9602 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.02085, allocations: 0 / 0.9602 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000889/0.02174, allocations: 0.5151 MB / 0.9607 GB, free: 1.086 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.075e-05/0.02178, allocations: 27.84 kB / 0.9607 GB, free: 1.059 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.687e-05/0.02182, allocations: 12 kB / 0.9608 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001172/0.02194, allocations: 11.98 kB / 0.9608 GB, free: 1.035 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.911e-05/0.02204, allocations: 23.95 kB / 0.9608 GB, free: 1.012 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.797e-05/0.02207, allocations: 11.98 kB / 0.9608 GB, free: 1 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002176/0.02228, allocations: 197.1 kB / 0.961 GB, free: 0.8086 MB / 0.8575 GB Notification: Performance of sort global known variables: time 9e-08/0.02228, allocations: 0 / 0.961 GB, free: 0.8086 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000327/0.02261, allocations: 55.88 kB / 0.961 GB, free: 0.7539 MB / 0.8575 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.0002708/0.02288, allocations: 139.1 kB / 0.9612 GB, free: 0.6055 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0006122/0.02349, allocations: 322.6 kB / 0.9615 GB, free: 272 kB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.0235, allocations: 4 kB / 0.9615 GB, free: 268 kB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002829/0.02378, allocations: 185 kB / 0.9617 GB, free: 64 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003448/0.02413, allocations: 43.19 kB / 0.9617 GB, free: 24 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009578/0.02509, allocations: 472.8 kB / 0.9622 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001609/0.02525, allocations: 140.7 kB / 0.9623 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 8.255e-05/0.02533, allocations: 21.48 kB / 0.9623 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.613e-05/0.02539, allocations: 20.5 kB / 0.9623 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of SimCode: time 7.01e-07/0.02539, allocations: 0 / 0.9623 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of Templates: time 0.007837/0.03322, allocations: 2.868 MB / 0.9651 GB, free: 12.51 MB / 0.8731 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: 8.906441666185856]