Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001627/0.001627, allocations: 114.8 kB / 18.89 MB, free: 2.898 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.001783/0.001783, allocations: 202.2 kB / 22.18 MB, free: 5.211 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.485/1.485, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.596/2.596, allocations: 443.5 MB / 0.732 GB, free: 12.51 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002007/0.002007, allocations: 67.91 kB / 1.061 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8497/0.8517, allocations: 160.7 MB / 1.218 GB, free: 4.047 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.004211/0.8559, allocations: 1.99 MB / 1.22 GB, free: 2.492 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001552/0.8575, allocations: 0.7158 MB / 1.221 GB, free: 1.926 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001345/0.8576, allocations: 3.531 kB / 1.221 GB, free: 1.926 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002796/0.8579, allocations: 85.19 kB / 1.221 GB, free: 1.875 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001624/0.858, allocations: 94.05 kB / 1.221 GB, free: 1.82 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007008/0.8587, allocations: 184.8 kB / 1.221 GB, free: 1.688 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003998/0.8591, allocations: 262.9 kB / 1.221 GB, free: 1.535 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001847/0.8593, allocations: 53.69 kB / 1.221 GB, free: 1.5 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001871/0.8595, allocations: 118.2 kB / 1.222 GB, free: 1.43 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002845/0.8598, allocations: 159.1 kB / 1.222 GB, free: 1.34 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 4.029e-05/0.8598, allocations: 20.75 kB / 1.222 GB, free: 1.34 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001736/0.86, allocations: 88.84 kB / 1.222 GB, free: 1.305 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 9.451e-05/0.8601, allocations: 55.08 kB / 1.222 GB, free: 1.266 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001393/0.8603, allocations: 116 kB / 1.222 GB, free: 1.172 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004779/0.8607, allocations: 310.7 kB / 1.222 GB, free: 0.9492 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.8607, allocations: 1.125 kB / 1.222 GB, free: 0.9492 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.094e-06/0.8607, allocations: 7.938 kB / 1.222 GB, free: 0.9414 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.624e-06/0.8607, allocations: 0 / 1.222 GB, free: 0.9414 MB / 0.92 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.001049/0.8618, allocations: 0.5866 MB / 1.223 GB, free: 400 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.8618, allocations: 9.375 kB / 1.223 GB, free: 400 kB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.559e-05/0.8619, allocations: 30.94 kB / 1.223 GB, free: 384 kB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005759/0.8625, allocations: 306.4 kB / 1.223 GB, free: 88 kB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.047e-05/0.8625, allocations: 11.94 kB / 1.223 GB, free: 84 kB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.258e-05/0.8626, allocations: 25.31 kB / 1.223 GB, free: 68 kB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004389/0.863, allocations: 221.9 kB / 1.223 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.863, allocations: 4.906 kB / 1.223 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.415e-05/0.863, allocations: 10.17 kB / 1.223 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.8631, allocations: 3.125 kB / 1.223 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002739/0.8633, allocations: 127.4 kB / 1.224 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001019/0.8643, allocations: 0.6807 MB / 1.224 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004068/0.8648, allocations: 150.6 kB / 1.224 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002038/0.865, allocations: 95.02 kB / 1.225 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.861e-05/0.865, allocations: 1.094 kB / 1.225 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003009/0.8653, allocations: 174.6 kB / 1.225 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=15): time 1.653e-06/0.8653, allocations: 0 / 1.225 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15): time 0.0007654/0.866, allocations: 385.4 kB / 1.225 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.359e-05/0.8661, allocations: 135.2 kB / 1.225 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003038/0.8664, allocations: 285.4 kB / 1.225 GB, free: 14.42 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.999e-05/0.8665, allocations: 32.05 kB / 1.225 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001328/0.8666, allocations: 154.3 kB / 1.226 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.372e-05/0.8667, allocations: 42.28 kB / 1.226 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.305e-05/0.8667, allocations: 37.64 kB / 1.226 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000161/0.8669, allocations: 338.3 kB / 1.226 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000182/0.8671, allocations: 94.14 kB / 1.226 GB, free: 13.81 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002077/0.8673, allocations: 134.4 kB / 1.226 GB, free: 13.72 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004017/0.8677, allocations: 246.6 kB / 1.226 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/0.8677, allocations: 1.25 kB / 1.226 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005785/0.8683, allocations: 338.1 kB / 1.227 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.943e-05/0.8683, allocations: 40.34 kB / 1.227 GB, free: 13.35 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.8683, allocations: 0 / 1.227 GB, free: 13.35 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-05/0.8683, allocations: 6.719 kB / 1.227 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000144/0.8685, allocations: 25.45 kB / 1.227 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/0.8685, allocations: 5.5 kB / 1.227 GB, free: 13.33 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001335/0.8686, allocations: 22.66 kB / 1.227 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.815e-05/0.8686, allocations: 5.562 kB / 1.227 GB, free: 13.32 MB / 0.9356 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.0002068/0.8689, allocations: 198.4 kB / 1.227 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.474e-05/0.8689, allocations: 25.52 kB / 1.227 GB, free: 13.13 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.356e-05/0.869, allocations: 27.17 kB / 1.227 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.869, allocations: 1.438 kB / 1.227 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.351e-06/0.869, allocations: 4 kB / 1.227 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.869, allocations: 0 / 1.227 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003565/0.8693, allocations: 298.1 kB / 1.227 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.8693, allocations: 0 / 1.227 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001174/0.8694, allocations: 16.89 kB / 1.227 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.8695, allocations: 0 / 1.227 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.272e-05/0.8695, allocations: 6.844 kB / 1.227 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.8695, allocations: 5.062 kB / 1.227 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.8695, allocations: 0 / 1.227 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008483/0.8703, allocations: 476.3 kB / 1.228 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.867e-05/0.8704, allocations: 102.4 kB / 1.228 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.574e-05/0.8705, allocations: 5.031 kB / 1.228 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001223/0.8706, allocations: 16.58 kB / 1.228 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/0.8707, allocations: 21.53 kB / 1.228 GB, free: 12.42 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.639e-05/0.8707, allocations: 12.05 kB / 1.228 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002292/0.8709, allocations: 205.4 kB / 1.228 GB, free: 12.28 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/0.8709, allocations: 1.469 kB / 1.228 GB, free: 12.28 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003364/0.8713, allocations: 54.25 kB / 1.228 GB, free: 12.27 MB / 0.9356 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.0002503/0.8715, allocations: 139.8 kB / 1.228 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005731/0.8721, allocations: 257.5 kB / 1.229 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 6.062e-06/0.8721, allocations: 5.469 kB / 1.229 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002596/0.8724, allocations: 150.6 kB / 1.229 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003386/0.8727, allocations: 35.97 kB / 1.229 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001235/0.8739, allocations: 0.4917 MB / 1.229 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004312/0.8744, allocations: 0.7476 MB / 1.23 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 8.56e-05/0.8745, allocations: 18.92 kB / 1.23 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.077e-05/0.8745, allocations: 17.91 kB / 1.23 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of SimCode: time 3.81e-07/0.8745, allocations: 0 / 1.23 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of Templates: time 0.007351/0.8819, allocations: 2.901 MB / 1.233 GB, free: 7.953 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; mkfifo Buildings_10_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe >> ../files/Buildings_10_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.sim & ./Buildings_10_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Actuators_Motors_Examples_IdealMotor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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.76734641380608]