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.001377/0.001377, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.001676/0.001676, allocations: 186 kB / 20.78 MB, free: 1.547 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.505/1.505, allocations: 225.6 MB / 249.4 MB, free: 3.156 MB / 190.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.852/2.852, allocations: 476.7 MB / 0.7628 GB, free: 15.12 MB / 0.6075 GB " [Timeout remaining time 176] 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.002099/0.002099, allocations: 67.89 kB / 1.107 GB, free: 4.617 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.209/1.211, allocations: 168.7 MB / 1.272 GB, free: 7.93 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.003038/1.214, allocations: 1.981 MB / 1.274 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001094/1.215, allocations: 0.7142 MB / 1.275 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001019/1.215, allocations: 6.844 kB / 1.275 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002262/1.215, allocations: 84.62 kB / 1.275 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001313/1.215, allocations: 86.48 kB / 1.275 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006563/1.216, allocations: 189.6 kB / 1.275 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.000385/1.216, allocations: 268.5 kB / 1.275 GB, free: 5.809 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000176/1.217, allocations: 55.97 kB / 1.275 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001766/1.217, allocations: 114.8 kB / 1.275 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002685/1.217, allocations: 162 kB / 1.276 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.417e-05/1.217, allocations: 20.31 kB / 1.276 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001755/1.217, allocations: 91.59 kB / 1.276 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 7.852e-05/1.217, allocations: 64.62 kB / 1.276 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 9.062e-05/1.217, allocations: 99.55 kB / 1.276 GB, free: 5.551 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003932/1.218, allocations: 318.7 kB / 1.276 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/1.218, allocations: 0 / 1.276 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.433e-06/1.218, allocations: 0.9688 kB / 1.276 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.462e-06/1.218, allocations: 4 kB / 1.276 GB, free: 5.414 MB / 0.9981 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.0008075/1.219, allocations: 0.5893 MB / 1.277 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/1.219, allocations: 9.969 kB / 1.277 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.446e-05/1.219, allocations: 27.11 kB / 1.277 GB, free: 4.883 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004956/1.219, allocations: 306.3 kB / 1.277 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.507e-05/1.219, allocations: 10.88 kB / 1.277 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.714e-05/1.219, allocations: 14.09 kB / 1.277 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003771/1.22, allocations: 236.8 kB / 1.277 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/1.22, allocations: 3.516 kB / 1.277 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.026e-05/1.22, allocations: 6.156 kB / 1.277 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/1.22, allocations: 2.531 kB / 1.277 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002479/1.22, allocations: 128.5 kB / 1.277 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007283/1.221, allocations: 0.6859 MB / 1.278 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000365/1.221, allocations: 154.5 kB / 1.278 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000157/1.221, allocations: 91.52 kB / 1.278 GB, free: 3.773 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.001e-05/1.221, allocations: 6.062 kB / 1.278 GB, free: 3.77 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002543/1.221, allocations: 171.3 kB / 1.278 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=15): time 1.282e-06/1.221, allocations: 0 / 1.278 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15): time 0.000661/1.222, allocations: 388.1 kB / 1.279 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.426e-05/1.222, allocations: 133 kB / 1.279 GB, free: 3.352 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002474/1.222, allocations: 284.9 kB / 1.279 GB, free: 3.191 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/1.222, allocations: 28.45 kB / 1.279 GB, free: 3.16 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.02e-05/1.223, allocations: 158.7 kB / 1.279 GB, free: 3.023 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.247e-05/1.223, allocations: 41.77 kB / 1.279 GB, free: 2.992 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.876e-05/1.223, allocations: 41.58 kB / 1.279 GB, free: 2.965 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.774e-05/1.223, allocations: 341.9 kB / 1.28 GB, free: 2.637 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001735/1.223, allocations: 85.81 kB / 1.28 GB, free: 2.613 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001871/1.223, allocations: 137.6 kB / 1.28 GB, free: 2.531 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003275/1.223, allocations: 240 kB / 1.28 GB, free: 2.387 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/1.223, allocations: 4.031 kB / 1.28 GB, free: 2.383 MB / 0.9981 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005049/1.224, allocations: 341.2 kB / 1.281 GB, free: 2.238 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.223e-05/1.224, allocations: 35.38 kB / 1.281 GB, free: 2.207 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/1.224, allocations: 1.531 kB / 1.281 GB, free: 2.207 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/1.224, allocations: 1.125 kB / 1.281 GB, free: 2.207 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001246/1.224, allocations: 22.16 kB / 1.281 GB, free: 2.207 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.904e-06/1.224, allocations: 2.797 kB / 1.281 GB, free: 2.207 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001208/1.224, allocations: 30.56 kB / 1.281 GB, free: 2.191 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.9e-05/1.224, allocations: 5.703 kB / 1.281 GB, free: 2.191 MB / 0.9981 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.0001357/1.224, allocations: 196.6 kB / 1.281 GB, free: 2.02 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.349e-05/1.224, allocations: 26.09 kB / 1.281 GB, free: 2.008 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.067e-05/1.224, allocations: 30.39 kB / 1.281 GB, free: 1.988 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/1.224, allocations: 3.406 kB / 1.281 GB, free: 1.988 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/1.224, allocations: 0.7969 kB / 1.281 GB, free: 1.988 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/1.224, allocations: 4 kB / 1.281 GB, free: 1.984 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002218/1.225, allocations: 291.7 kB / 1.281 GB, free: 1.742 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/1.225, allocations: 2.906 kB / 1.281 GB, free: 1.742 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001131/1.225, allocations: 15.11 kB / 1.281 GB, free: 1.742 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/1.225, allocations: 3.938 kB / 1.281 GB, free: 1.738 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.005e-05/1.225, allocations: 7.672 kB / 1.281 GB, free: 1.734 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/1.225, allocations: 0 / 1.281 GB, free: 1.734 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/1.225, allocations: 1.594 kB / 1.281 GB, free: 1.734 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006482/1.225, allocations: 472.2 kB / 1.282 GB, free: 1.523 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.269e-05/1.225, allocations: 99.31 kB / 1.282 GB, free: 1.414 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.245e-05/1.226, allocations: 8.531 kB / 1.282 GB, free: 1.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/1.226, allocations: 15.86 kB / 1.282 GB, free: 1.406 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.819e-05/1.226, allocations: 24.55 kB / 1.282 GB, free: 1.402 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.356e-05/1.226, allocations: 11.17 kB / 1.282 GB, free: 1.398 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000156/1.226, allocations: 202 kB / 1.282 GB, free: 1.293 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/1.226, allocations: 4.062 kB / 1.282 GB, free: 1.289 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002714/1.226, allocations: 56.11 kB / 1.282 GB, free: 1.281 MB / 0.9981 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.000166/1.226, allocations: 140.3 kB / 1.282 GB, free: 1.176 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004314/1.227, allocations: 255.7 kB / 1.282 GB, free: 1.062 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/1.227, allocations: 192 / 1.282 GB, free: 1.062 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001901/1.227, allocations: 164.1 kB / 1.283 GB, free: 0.9648 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002899/1.227, allocations: 35.67 kB / 1.283 GB, free: 0.9492 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008932/1.228, allocations: 494.2 kB / 1.283 GB, free: 0.6719 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002047/1.228, allocations: 0.7485 MB / 1.284 GB, free: 15.97 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 7.821e-05/1.228, allocations: 18.83 kB / 1.284 GB, free: 15.97 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.927e-05/1.228, allocations: 19.56 kB / 1.284 GB, free: 15.96 MB / 1.014 GB Notification: Performance of SimCode: time 4.71e-07/1.228, allocations: 0 / 1.284 GB, free: 15.96 MB / 1.014 GB Notification: Performance of Templates: time 0.007097/1.236, allocations: 2.889 MB / 1.287 GB, free: 15.74 MB / 1.014 GB " [Timeout remaining time 299] 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: 9.721948400139809]