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.001881/0.001881, allocations: 110 kB / 18.93 MB, free: 2.945 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.002175/0.002175, allocations: 185.8 kB / 22.23 MB, free: 5.16 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.495/1.495, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.76/2.76, allocations: 443.4 MB / 0.7321 GB, free: 12.28 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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.002118/0.002118, allocations: 67.89 kB / 1.061 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.015/1.018, allocations: 160.8 MB / 1.218 GB, free: 3.691 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.004956/1.023, allocations: 1.989 MB / 1.22 GB, free: 2.141 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001951/1.024, allocations: 0.7169 MB / 1.221 GB, free: 1.574 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002776/1.025, allocations: 7.125 kB / 1.221 GB, free: 1.57 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0003249/1.025, allocations: 81.61 kB / 1.221 GB, free: 1.523 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002548/1.025, allocations: 93.47 kB / 1.221 GB, free: 1.469 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008535/1.026, allocations: 190.1 kB / 1.221 GB, free: 1.332 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0004564/1.027, allocations: 258.4 kB / 1.222 GB, free: 1.184 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001872/1.027, allocations: 50.36 kB / 1.222 GB, free: 1.152 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001997/1.027, allocations: 120.4 kB / 1.222 GB, free: 1.082 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002834/1.027, allocations: 163.6 kB / 1.222 GB, free: 0.9883 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 4.887e-05/1.027, allocations: 20.53 kB / 1.222 GB, free: 0.9883 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002223/1.028, allocations: 97.55 kB / 1.222 GB, free: 0.9453 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001113/1.028, allocations: 57.81 kB / 1.222 GB, free: 0.9023 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001419/1.028, allocations: 100.9 kB / 1.222 GB, free: 0.8242 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0005292/1.028, allocations: 317.7 kB / 1.223 GB, free: 0.5977 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/1.028, allocations: 1.094 kB / 1.223 GB, free: 0.5977 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.133e-06/1.028, allocations: 0 / 1.223 GB, free: 0.5977 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.444e-06/1.028, allocations: 4 kB / 1.223 GB, free: 0.5938 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.001074/1.029, allocations: 0.5881 MB / 1.223 GB, free: 40 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/1.029, allocations: 9.094 kB / 1.223 GB, free: 40 kB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.954e-05/1.03, allocations: 31.25 kB / 1.223 GB, free: 24 kB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006944/1.03, allocations: 306.7 kB / 1.223 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.228e-05/1.03, allocations: 14.75 kB / 1.224 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.527e-05/1.03, allocations: 18.16 kB / 1.224 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004599/1.031, allocations: 234.2 kB / 1.224 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/1.031, allocations: 0 / 1.224 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.734e-05/1.031, allocations: 9.953 kB / 1.224 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/1.031, allocations: 3 kB / 1.224 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002805/1.031, allocations: 131.6 kB / 1.224 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00104/1.032, allocations: 0.6813 MB / 1.225 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004127/1.033, allocations: 153.8 kB / 1.225 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002156/1.033, allocations: 95.48 kB / 1.225 GB, free: 14.72 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.502e-05/1.033, allocations: 5.125 kB / 1.225 GB, free: 14.72 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003203/1.033, allocations: 166.4 kB / 1.225 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=15): time 1.613e-06/1.033, allocations: 3.938 kB / 1.225 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15): time 0.0008213/1.034, allocations: 375.9 kB / 1.225 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001145/1.034, allocations: 136.3 kB / 1.225 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003309/1.034, allocations: 287.1 kB / 1.226 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.178e-05/1.034, allocations: 31.86 kB / 1.226 GB, free: 14.03 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001344/1.035, allocations: 158.9 kB / 1.226 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.898e-05/1.035, allocations: 42.03 kB / 1.226 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.672e-05/1.035, allocations: 38.39 kB / 1.226 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001747/1.035, allocations: 336.9 kB / 1.226 GB, free: 13.49 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002013/1.035, allocations: 95.89 kB / 1.226 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002231/1.035, allocations: 136.8 kB / 1.227 GB, free: 13.35 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003495/1.036, allocations: 238.2 kB / 1.227 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/1.036, allocations: 7.969 kB / 1.227 GB, free: 13.19 MB / 0.9356 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005951/1.036, allocations: 335.6 kB / 1.227 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 5.315e-05/1.036, allocations: 37.69 kB / 1.227 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/1.036, allocations: 1.344 kB / 1.227 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/1.036, allocations: 1.438 kB / 1.227 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001334/1.036, allocations: 25.52 kB / 1.227 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/1.036, allocations: 6.625 kB / 1.227 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001267/1.037, allocations: 26.78 kB / 1.227 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.844e-05/1.037, allocations: 5.562 kB / 1.227 GB, free: 12.96 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.000221/1.037, allocations: 193 kB / 1.227 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.617e-05/1.037, allocations: 29.47 kB / 1.227 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.071e-05/1.037, allocations: 23.16 kB / 1.227 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/1.037, allocations: 1.406 kB / 1.227 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-05/1.037, allocations: 5.422 kB / 1.227 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/1.037, allocations: 0 / 1.227 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003175/1.037, allocations: 294 kB / 1.228 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/1.037, allocations: 3.984 kB / 1.228 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.883e-05/1.037, allocations: 20.06 kB / 1.228 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/1.037, allocations: 0 / 1.228 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.244e-05/1.037, allocations: 11.77 kB / 1.228 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/1.037, allocations: 0 / 1.228 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/1.037, allocations: 5.062 kB / 1.228 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007907/1.038, allocations: 465.4 kB / 1.228 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.279e-05/1.038, allocations: 107.8 kB / 1.228 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.106e-05/1.038, allocations: 7.438 kB / 1.228 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.955e-05/1.038, allocations: 16.33 kB / 1.228 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.17e-05/1.039, allocations: 28.02 kB / 1.228 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.157e-05/1.039, allocations: 5.688 kB / 1.228 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002181/1.039, allocations: 200.3 kB / 1.229 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/1.039, allocations: 0 / 1.229 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000308/1.039, allocations: 63.02 kB / 1.229 GB, free: 11.9 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.0002297/1.039, allocations: 134.5 kB / 1.229 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000509/1.04, allocations: 258.5 kB / 1.229 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/1.04, allocations: 0 / 1.229 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002463/1.04, allocations: 160.3 kB / 1.229 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00032/1.04, allocations: 31.27 kB / 1.229 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00117/1.042, allocations: 485.2 kB / 1.23 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004336/1.042, allocations: 0.7539 MB / 1.23 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 8.055e-05/1.042, allocations: 27.05 kB / 1.23 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.605e-05/1.042, allocations: 16.38 kB / 1.23 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of SimCode: time 3.71e-07/1.042, allocations: 0 / 1.23 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of Templates: time 0.007328/1.049, allocations: 2.937 MB / 1.233 GB, free: 7.582 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 9.38628949970007]