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.001354/0.001354, allocations: 108.8 kB / 17.08 MB, free: 5.82 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.00135/0.00135, allocations: 193.2 kB / 20.03 MB, free: 2.949 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.417/1.417, allocations: 222.9 MB / 245.7 MB, free: 4.234 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.694/2.694, allocations: 437.1 MB / 0.7177 GB, free: 4.469 MB / 0.5606 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.002041/0.002041, allocations: 71.88 kB / 1.028 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.326/0.3281, allocations: 151.6 MB / 1.176 GB, free: 5.887 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.003326/0.3314, allocations: 1.958 MB / 1.178 GB, free: 3.906 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001239/0.3327, allocations: 0.7129 MB / 1.178 GB, free: 3.188 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001092/0.3328, allocations: 4 kB / 1.178 GB, free: 3.184 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002371/0.3331, allocations: 87.62 kB / 1.179 GB, free: 3.098 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.000131/0.3332, allocations: 87.58 kB / 1.179 GB, free: 3.012 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006002/0.3338, allocations: 195.5 kB / 1.179 GB, free: 2.824 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003176/0.3342, allocations: 263.4 kB / 1.179 GB, free: 2.566 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001615/0.3343, allocations: 65.88 kB / 1.179 GB, free: 2.504 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001456/0.3345, allocations: 111.7 kB / 1.179 GB, free: 2.395 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002081/0.3347, allocations: 151.5 kB / 1.179 GB, free: 2.246 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 4.391e-05/0.3348, allocations: 20 kB / 1.179 GB, free: 2.227 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001547/0.3349, allocations: 95.88 kB / 1.179 GB, free: 2.133 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 8.606e-05/0.335, allocations: 63.81 kB / 1.18 GB, free: 2.07 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001219/0.3351, allocations: 107.3 kB / 1.18 GB, free: 1.965 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003894/0.3355, allocations: 310.8 kB / 1.18 GB, free: 1.66 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3355, allocations: 0 / 1.18 GB, free: 1.66 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.313e-06/0.3356, allocations: 0 / 1.18 GB, free: 1.66 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.326e-06/0.3356, allocations: 0 / 1.18 GB, free: 1.66 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.0008733/0.3364, allocations: 0.5894 MB / 1.181 GB, free: 1.016 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.3365, allocations: 12.03 kB / 1.181 GB, free: 1.004 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.63e-05/0.3366, allocations: 32.73 kB / 1.181 GB, free: 0.9727 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005201/0.3371, allocations: 299 kB / 1.181 GB, free: 0.6406 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.338e-05/0.3371, allocations: 16.38 kB / 1.181 GB, free: 0.625 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.112e-05/0.3372, allocations: 16.36 kB / 1.181 GB, free: 0.6094 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004193/0.3376, allocations: 223.8 kB / 1.181 GB, free: 376 kB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.3376, allocations: 3.984 kB / 1.181 GB, free: 372 kB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.048e-05/0.3376, allocations: 4 kB / 1.181 GB, free: 368 kB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.3377, allocations: 4 kB / 1.181 GB, free: 364 kB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002646/0.3379, allocations: 136.3 kB / 1.181 GB, free: 228 kB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008869/0.3388, allocations: 0.6732 MB / 1.182 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003745/0.3392, allocations: 170.4 kB / 1.182 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001819/0.3394, allocations: 101 kB / 1.182 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.671e-05/0.3394, allocations: 0 / 1.182 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002795/0.3397, allocations: 169 kB / 1.182 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=15): time 3.166e-06/0.3397, allocations: 7.984 kB / 1.182 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15): time 0.0007098/0.3404, allocations: 380.3 kB / 1.183 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.424e-05/0.3405, allocations: 132.5 kB / 1.183 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002956/0.3408, allocations: 282.7 kB / 1.183 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.198e-05/0.3409, allocations: 33.7 kB / 1.183 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001304/0.341, allocations: 156.2 kB / 1.183 GB, free: 14 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.871e-05/0.3411, allocations: 47.62 kB / 1.183 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.588e-05/0.3412, allocations: 41.7 kB / 1.183 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001543/0.3413, allocations: 338.8 kB / 1.184 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001826/0.3415, allocations: 87.98 kB / 1.184 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002036/0.3417, allocations: 135.2 kB / 1.184 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003581/0.3421, allocations: 248.9 kB / 1.184 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.3421, allocations: 0 / 1.184 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005269/0.3426, allocations: 337.8 kB / 1.184 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.879e-05/0.3427, allocations: 41.78 kB / 1.184 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.3427, allocations: 4 kB / 1.184 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.3427, allocations: 0 / 1.184 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001307/0.3429, allocations: 27.98 kB / 1.184 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.3429, allocations: 3.938 kB / 1.184 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000119/0.343, allocations: 23.88 kB / 1.185 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.662e-05/0.343, allocations: 4 kB / 1.185 GB, free: 12.62 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.0001862/0.3432, allocations: 200.9 kB / 1.185 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.802e-05/0.3433, allocations: 23.86 kB / 1.185 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.942e-05/0.3433, allocations: 25.83 kB / 1.185 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/0.3433, allocations: 4 kB / 1.185 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.3433, allocations: 0 / 1.185 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.3433, allocations: 0 / 1.185 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002823/0.3436, allocations: 301.3 kB / 1.185 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3436, allocations: 0 / 1.185 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001042/0.3438, allocations: 19.92 kB / 1.185 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.3438, allocations: 0 / 1.185 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.044e-05/0.3438, allocations: 12 kB / 1.185 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.3438, allocations: 0 / 1.185 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3438, allocations: 0 / 1.185 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007428/0.3445, allocations: 464.7 kB / 1.186 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.358e-05/0.3446, allocations: 108.9 kB / 1.186 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.012e-05/0.3447, allocations: 7.938 kB / 1.186 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.3448, allocations: 20.05 kB / 1.186 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.267e-05/0.3449, allocations: 23.91 kB / 1.186 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.425e-05/0.3449, allocations: 7.984 kB / 1.186 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001981/0.3451, allocations: 202 kB / 1.186 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3451, allocations: 0 / 1.186 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002815/0.3454, allocations: 55.94 kB / 1.186 GB, free: 11.07 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.0002227/0.3456, allocations: 135.1 kB / 1.186 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005116/0.3462, allocations: 295.2 kB / 1.186 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3462, allocations: 0 / 1.186 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002498/0.3464, allocations: 183.4 kB / 1.187 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003024/0.3467, allocations: 40.66 kB / 1.187 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001/0.3477, allocations: 0.5023 MB / 1.187 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003708/0.3481, allocations: 0.7523 MB / 1.188 GB, free: 9.082 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.732e-05/0.3482, allocations: 23.42 kB / 1.188 GB, free: 9.059 MB / 0.9356 GB Notification: Performance of SimCode: time 2.4e-07/0.3482, allocations: 0 / 1.188 GB, free: 9.059 MB / 0.9356 GB Notification: Performance of Templates: time 0.005562/0.3538, allocations: 3.008 MB / 1.191 GB, free: 6.059 MB / 0.9356 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: 10.577118356944993]