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.001714/0.001714, allocations: 114.4 kB / 17.13 MB, free: 5.914 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.001959/0.001959, allocations: 194.1 kB / 20.08 MB, free: 2.98 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.551/1.551, allocations: 225.6 MB / 248.5 MB, free: 3.629 MB / 190.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.612/2.612, allocations: 443.5 MB / 0.7293 GB, free: 14.52 MB / 0.5762 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.001899/0.001899, allocations: 63.91 kB / 1.057 GB, free: 2.02 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.365/0.3669, allocations: 160.7 MB / 1.214 GB, free: 0.9922 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.003865/0.3708, allocations: 1.971 MB / 1.216 GB, free: 15 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0014/0.3722, allocations: 0.7207 MB / 1.217 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001111/0.3723, allocations: 3.938 kB / 1.217 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002481/0.3725, allocations: 83.64 kB / 1.217 GB, free: 14.19 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001549/0.3727, allocations: 87.62 kB / 1.217 GB, free: 14.1 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006071/0.3733, allocations: 191.3 kB / 1.217 GB, free: 13.92 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003398/0.3736, allocations: 259.5 kB / 1.217 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001715/0.3738, allocations: 49.83 kB / 1.217 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001598/0.374, allocations: 115.7 kB / 1.217 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002539/0.3742, allocations: 163.4 kB / 1.218 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.126e-05/0.3743, allocations: 20 kB / 1.218 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001618/0.3744, allocations: 91.92 kB / 1.218 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001062/0.3745, allocations: 67.77 kB / 1.218 GB, free: 13.17 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001197/0.3746, allocations: 103.3 kB / 1.218 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004302/0.3751, allocations: 306.8 kB / 1.218 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.3751, allocations: 0 / 1.218 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.894e-06/0.3751, allocations: 0 / 1.218 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.444e-06/0.3751, allocations: 3.938 kB / 1.218 GB, free: 12.76 MB / 0.9669 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.001005/0.3761, allocations: 0.5972 MB / 1.219 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.3761, allocations: 8.031 kB / 1.219 GB, free: 12.1 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.62e-05/0.3762, allocations: 32.75 kB / 1.219 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005671/0.3768, allocations: 307 kB / 1.219 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.69e-05/0.3768, allocations: 8.375 kB / 1.219 GB, free: 11.72 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.778e-05/0.3768, allocations: 16.38 kB / 1.219 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004412/0.3773, allocations: 227.8 kB / 1.219 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.3773, allocations: 0 / 1.219 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.222e-05/0.3773, allocations: 8 kB / 1.219 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.3773, allocations: 7.984 kB / 1.219 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002817/0.3776, allocations: 132.4 kB / 1.219 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009897/0.3786, allocations: 0.6809 MB / 1.22 GB, free: 10.58 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003905/0.379, allocations: 154.4 kB / 1.22 GB, free: 10.42 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001706/0.3792, allocations: 88.95 kB / 1.22 GB, free: 10.33 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.794e-05/0.3792, allocations: 0 / 1.22 GB, free: 10.33 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003248/0.3795, allocations: 177 kB / 1.221 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=15): time 1.482e-06/0.3795, allocations: 0 / 1.221 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of matching and sorting (n=15): time 0.0007584/0.3803, allocations: 383 kB / 1.221 GB, free: 9.75 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000108/0.3804, allocations: 132.5 kB / 1.221 GB, free: 9.59 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003219/0.3807, allocations: 278.7 kB / 1.221 GB, free: 9.312 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.319e-05/0.3807, allocations: 33.7 kB / 1.221 GB, free: 9.273 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001442/0.3809, allocations: 160.3 kB / 1.221 GB, free: 9.113 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.433e-05/0.3809, allocations: 39.67 kB / 1.221 GB, free: 9.074 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.313e-05/0.381, allocations: 45.66 kB / 1.222 GB, free: 9.023 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000174/0.3812, allocations: 342.8 kB / 1.222 GB, free: 8.68 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001794/0.3814, allocations: 87.89 kB / 1.222 GB, free: 8.594 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000218/0.3816, allocations: 125.1 kB / 1.222 GB, free: 8.453 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003747/0.382, allocations: 241.2 kB / 1.222 GB, free: 8.195 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.382, allocations: 4 kB / 1.222 GB, free: 8.191 MB / 0.9669 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005628/0.3825, allocations: 343 kB / 1.223 GB, free: 7.844 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 5.53e-05/0.3826, allocations: 41.69 kB / 1.223 GB, free: 7.797 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.3826, allocations: 4.094 kB / 1.223 GB, free: 7.793 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.3826, allocations: 0 / 1.223 GB, free: 7.793 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001325/0.3827, allocations: 27.98 kB / 1.223 GB, free: 7.766 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.218e-06/0.3827, allocations: 3.984 kB / 1.223 GB, free: 7.762 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001299/0.3829, allocations: 27.88 kB / 1.223 GB, free: 7.734 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.95e-05/0.3829, allocations: 4 kB / 1.223 GB, free: 7.73 MB / 0.9669 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.0002005/0.3831, allocations: 197.1 kB / 1.223 GB, free: 7.523 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.418e-05/0.3831, allocations: 31.8 kB / 1.223 GB, free: 7.492 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.672e-05/0.3832, allocations: 33.83 kB / 1.223 GB, free: 7.457 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.3832, allocations: 0 / 1.223 GB, free: 7.457 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.3832, allocations: 0 / 1.223 GB, free: 7.457 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.3832, allocations: 0 / 1.223 GB, free: 7.457 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000306/0.3835, allocations: 297.3 kB / 1.223 GB, free: 7.117 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.3835, allocations: 4 kB / 1.223 GB, free: 7.113 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001014/0.3836, allocations: 12 kB / 1.223 GB, free: 7.102 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.3836, allocations: 0 / 1.223 GB, free: 7.102 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.212e-05/0.3837, allocations: 7.984 kB / 1.223 GB, free: 7.094 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.3837, allocations: 4 kB / 1.223 GB, free: 7.09 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3837, allocations: 4 kB / 1.223 GB, free: 7.086 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007669/0.3844, allocations: 465.4 kB / 1.224 GB, free: 6.609 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 8.013e-05/0.3845, allocations: 104.9 kB / 1.224 GB, free: 6.488 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.142e-05/0.3845, allocations: 8 kB / 1.224 GB, free: 6.48 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001117/0.3847, allocations: 11.98 kB / 1.224 GB, free: 6.469 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.103e-05/0.3847, allocations: 32.03 kB / 1.224 GB, free: 6.438 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.458e-05/0.3848, allocations: 7.984 kB / 1.224 GB, free: 6.43 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0002008/0.385, allocations: 202 kB / 1.224 GB, free: 6.234 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8.1e-08/0.385, allocations: 0 / 1.224 GB, free: 6.234 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002901/0.3853, allocations: 55.94 kB / 1.224 GB, free: 6.18 MB / 0.9669 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.0002245/0.3855, allocations: 139 kB / 1.224 GB, free: 6.035 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0005092/0.386, allocations: 259.2 kB / 1.225 GB, free: 5.77 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.386, allocations: 0 / 1.225 GB, free: 5.77 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002307/0.3862, allocations: 159.3 kB / 1.225 GB, free: 5.602 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003099/0.3865, allocations: 30.78 kB / 1.225 GB, free: 5.574 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001116/0.3877, allocations: 0.4985 MB / 1.225 GB, free: 5.039 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004111/0.3881, allocations: 0.7517 MB / 1.226 GB, free: 4.262 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.757e-05/0.3881, allocations: 19.44 kB / 1.226 GB, free: 4.242 MB / 0.9669 GB Notification: Performance of SimCode: time 5.01e-07/0.3881, allocations: 0 / 1.226 GB, free: 4.242 MB / 0.9669 GB Notification: Performance of Templates: time 0.006004/0.3941, allocations: 3.023 MB / 1.229 GB, free: 1.227 MB / 0.9669 GB " [Timeout remaining time 300] 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_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: 11.20953990612179]