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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001744/0.001744, allocations: 104.5 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002066/0.002066, allocations: 188.4 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.462/1.462, allocations: 225.6 MB / 249.9 MB, free: 13.43 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.645/2.645, allocations: 443.5 MB / 0.731 GB, free: 12.77 MB / 0.5919 GB [Timeout remaining time 87] 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=580,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=580,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.001963/0.001963, allocations: 67.89 kB / 1.06 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8894/0.8914, allocations: 160.7 MB / 1.217 GB, free: 3.98 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.004093/0.8955, allocations: 1.958 MB / 1.218 GB, free: 2.449 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001588/0.8971, allocations: 0.7231 MB / 1.219 GB, free: 1.875 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001653/0.8973, allocations: 6.438 kB / 1.219 GB, free: 1.871 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002817/0.8975, allocations: 78.14 kB / 1.219 GB, free: 1.828 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.000176/0.8977, allocations: 97.78 kB / 1.219 GB, free: 1.77 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006599/0.8984, allocations: 186.4 kB / 1.219 GB, free: 1.637 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003762/0.8988, allocations: 257.8 kB / 1.22 GB, free: 1.488 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001643/0.8989, allocations: 50.52 kB / 1.22 GB, free: 1.457 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001755/0.8991, allocations: 118.1 kB / 1.22 GB, free: 1.387 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002531/0.8993, allocations: 163.9 kB / 1.22 GB, free: 1.293 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 4.29e-05/0.8994, allocations: 23.84 kB / 1.22 GB, free: 1.289 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001628/0.8996, allocations: 89.41 kB / 1.22 GB, free: 1.254 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001142/0.8997, allocations: 59.14 kB / 1.22 GB, free: 1.211 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001349/0.8998, allocations: 108.3 kB / 1.22 GB, free: 1.125 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004753/0.9003, allocations: 310.3 kB / 1.221 GB, free: 0.9062 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.9003, allocations: 0 / 1.221 GB, free: 0.9062 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.543e-06/0.9003, allocations: 3.938 kB / 1.221 GB, free: 0.9023 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.29e-05/0.9003, allocations: 1.188 kB / 1.221 GB, free: 0.9023 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.001094/0.9014, allocations: 0.5907 MB / 1.221 GB, free: 352 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.9014, allocations: 14.09 kB / 1.221 GB, free: 348 kB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.445e-05/0.9015, allocations: 35.7 kB / 1.221 GB, free: 328 kB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006181/0.9021, allocations: 302.2 kB / 1.222 GB, free: 36 kB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.082e-05/0.9022, allocations: 19.31 kB / 1.222 GB, free: 24 kB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.504e-05/0.9022, allocations: 14.5 kB / 1.222 GB, free: 20 kB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004827/0.9027, allocations: 221.1 kB / 1.222 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.9027, allocations: 0 / 1.222 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.7e-05/0.9027, allocations: 11.05 kB / 1.222 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.874e-06/0.9027, allocations: 3.344 kB / 1.222 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002765/0.903, allocations: 130.8 kB / 1.222 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001043/0.9041, allocations: 0.6775 MB / 1.223 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003939/0.9044, allocations: 153.6 kB / 1.223 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001787/0.9046, allocations: 95.52 kB / 1.223 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.911e-05/0.9046, allocations: 1.469 kB / 1.223 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003314/0.905, allocations: 171.5 kB / 1.223 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=15): time 1.382e-06/0.905, allocations: 0 / 1.223 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15): time 0.0008056/0.9058, allocations: 377.7 kB / 1.223 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001038/0.9059, allocations: 132.9 kB / 1.223 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004092/0.9063, allocations: 284.1 kB / 1.224 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.041e-05/0.9063, allocations: 31.89 kB / 1.224 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001651/0.9065, allocations: 155 kB / 1.224 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 6.177e-05/0.9066, allocations: 54.05 kB / 1.224 GB, free: 14.17 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.227e-05/0.9067, allocations: 37.39 kB / 1.224 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0003553/0.907, allocations: 338.7 kB / 1.224 GB, free: 13.81 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001853/0.9072, allocations: 94.55 kB / 1.224 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002157/0.9074, allocations: 128.1 kB / 1.225 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003725/0.9078, allocations: 247 kB / 1.225 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.9078, allocations: 1.562 kB / 1.225 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005643/0.9084, allocations: 341.7 kB / 1.225 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.501e-05/0.9084, allocations: 37.66 kB / 1.225 GB, free: 13.31 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.9084, allocations: 1.469 kB / 1.225 GB, free: 13.31 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.9084, allocations: 1.344 kB / 1.225 GB, free: 13.31 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001382/0.9086, allocations: 25.92 kB / 1.225 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.9086, allocations: 1.312 kB / 1.225 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00013/0.9087, allocations: 23.03 kB / 1.225 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.801e-05/0.9087, allocations: 5.469 kB / 1.225 GB, free: 13.29 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.0002173/0.9089, allocations: 207 kB / 1.225 GB, free: 13.1 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.716e-05/0.909, allocations: 25.27 kB / 1.225 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.964e-05/0.909, allocations: 26.83 kB / 1.225 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.909, allocations: 5.406 kB / 1.225 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.9091, allocations: 1.188 kB / 1.225 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.9091, allocations: 0 / 1.225 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003253/0.9094, allocations: 294 kB / 1.226 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.9094, allocations: 0 / 1.226 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001049/0.9095, allocations: 19.83 kB / 1.226 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.9095, allocations: 5.219 kB / 1.226 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.975e-05/0.9095, allocations: 6.875 kB / 1.226 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.9095, allocations: 1.438 kB / 1.226 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.9095, allocations: 0 / 1.226 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007946/0.9103, allocations: 469.3 kB / 1.226 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001571/0.9105, allocations: 107.5 kB / 1.226 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.111e-05/0.9105, allocations: 12.25 kB / 1.226 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.9106, allocations: 16 kB / 1.226 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.654e-05/0.9107, allocations: 21.44 kB / 1.226 GB, free: 12.37 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.355e-05/0.9107, allocations: 8.047 kB / 1.226 GB, free: 12.37 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002114/0.9109, allocations: 203 kB / 1.227 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/0.9109, allocations: 0 / 1.227 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003159/0.9112, allocations: 55.38 kB / 1.227 GB, free: 12.23 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.0002359/0.9115, allocations: 143.1 kB / 1.227 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000497/0.912, allocations: 258.2 kB / 1.227 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.912, allocations: 1.438 kB / 1.227 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002352/0.9122, allocations: 154.6 kB / 1.227 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003164/0.9125, allocations: 35.31 kB / 1.227 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001127/0.9137, allocations: 0.5099 MB / 1.228 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004291/0.9141, allocations: 0.752 MB / 1.228 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.447e-05/0.9142, allocations: 26.2 kB / 1.228 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of SimCode: time 3.71e-07/0.9142, allocations: 1.719 kB / 1.228 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of Templates: time 0.006008/0.9202, allocations: 3.003 MB / 1.231 GB, free: 8.07 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/jenkins1/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