Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009444/0.0009444, allocations: 87.58 kB / 20.45 MB, free: 4.121 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008893/0.0008893, allocations: 161.4 kB / 23.82 MB, free: 0.7539 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9418/0.9418, allocations: 177.1 MB / 204.2 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.671/1.671, allocations: 359 MB / 0.6052 GB, free: 11.03 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_11_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_11_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 0.7871 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.924e-05/2.114e-05, allocations: 6.25 kB / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.003182/0.003203, allocations: 1.999 MB / 0.789 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001397/0.0046, allocations: 0.718 MB / 0.7897 GB, free: 9.793 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001222/0.004722, allocations: 9.438 kB / 0.7897 GB, free: 9.785 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0002688/0.004991, allocations: 79.64 kB / 0.7898 GB, free: 9.707 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.000145/0.005136, allocations: 94.8 kB / 0.7899 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006022/0.005738, allocations: 183.6 kB / 0.7901 GB, free: 9.438 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003617/0.0061, allocations: 268.3 kB / 0.7903 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001737/0.006274, allocations: 46.17 kB / 0.7904 GB, free: 9.133 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002307/0.006504, allocations: 159.7 kB / 0.7905 GB, free: 8.977 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002354/0.00674, allocations: 133.7 kB / 0.7907 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.076e-05/0.00678, allocations: 16 kB / 0.7907 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001558/0.006936, allocations: 95.84 kB / 0.7908 GB, free: 8.738 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001003/0.007037, allocations: 47.86 kB / 0.7908 GB, free: 8.691 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 8.686e-05/0.007123, allocations: 65.08 kB / 0.7909 GB, free: 8.629 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003466/0.00747, allocations: 227.2 kB / 0.7911 GB, free: 8.406 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.007472, allocations: 4 kB / 0.7911 GB, free: 8.402 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.11e-07/0.007473, allocations: 1.5 kB / 0.7911 GB, free: 8.402 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.007479, allocations: 0 / 0.7911 GB, free: 8.402 MB / 0.7448 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.0008022/0.008281, allocations: 0.5945 MB / 0.7917 GB, free: 7.766 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.008324, allocations: 9.562 kB / 0.7917 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.129e-05/0.008416, allocations: 44.73 kB / 0.7917 GB, free: 7.715 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003123/0.008728, allocations: 229.1 kB / 0.7919 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.849e-05/0.008757, allocations: 8.375 kB / 0.792 GB, free: 7.457 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.541e-05/0.008792, allocations: 16.38 kB / 0.792 GB, free: 7.441 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003704/0.009162, allocations: 272.3 kB / 0.7922 GB, free: 7.125 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.009173, allocations: 192 / 0.7922 GB, free: 7.125 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.219e-05/0.009195, allocations: 10.39 kB / 0.7922 GB, free: 7.117 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.181e-05/0.009207, allocations: 7.938 kB / 0.7922 GB, free: 7.109 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001609/0.009368, allocations: 90.77 kB / 0.7923 GB, free: 7.016 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007803/0.01015, allocations: 0.721 MB / 0.793 GB, free: 6.25 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000201/0.01035, allocations: 113.4 kB / 0.7931 GB, free: 6.121 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.29e-05/0.01044, allocations: 74.97 kB / 0.7932 GB, free: 6.039 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.069e-05/0.01045, allocations: 0 / 0.7932 GB, free: 6.039 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002677/0.01072, allocations: 152.5 kB / 0.7934 GB, free: 5.863 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=15): time 1.523e-06/0.01072, allocations: 0.625 kB / 0.7934 GB, free: 5.863 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15): time 0.0004332/0.01115, allocations: 271.4 kB / 0.7936 GB, free: 5.574 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.288e-05/0.01122, allocations: 140.5 kB / 0.7938 GB, free: 5.406 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002546/0.01147, allocations: 308.2 kB / 0.794 GB, free: 5.09 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.522e-05/0.0115, allocations: 34.44 kB / 0.7941 GB, free: 5.051 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001245/0.01162, allocations: 207.1 kB / 0.7943 GB, free: 4.844 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.093e-05/0.01166, allocations: 48.2 kB / 0.7943 GB, free: 4.797 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.202e-05/0.01174, allocations: 47.86 kB / 0.7944 GB, free: 4.742 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.01189, allocations: 0.504 MB / 0.7949 GB, free: 4.227 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.284e-05/0.01198, allocations: 62.7 kB / 0.7949 GB, free: 4.16 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000135/0.01212, allocations: 179.1 kB / 0.7951 GB, free: 3.945 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001745/0.01229, allocations: 161.7 kB / 0.7952 GB, free: 3.762 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.01229, allocations: 4 kB / 0.7952 GB, free: 3.758 MB / 0.7448 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003265/0.01262, allocations: 256.8 kB / 0.7955 GB, free: 3.492 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.753e-05/0.01266, allocations: 37.69 kB / 0.7955 GB, free: 3.449 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.01266, allocations: 0 / 0.7955 GB, free: 3.449 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.01268, allocations: 0 / 0.7955 GB, free: 3.449 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/0.01279, allocations: 30.55 kB / 0.7956 GB, free: 3.422 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.0128, allocations: 0 / 0.7956 GB, free: 3.422 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.956e-05/0.01289, allocations: 15.95 kB / 0.7956 GB, free: 3.406 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.789e-05/0.01291, allocations: 11.98 kB / 0.7956 GB, free: 3.395 MB / 0.7448 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.0001427/0.01305, allocations: 213.8 kB / 0.7958 GB, free: 3.172 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.538e-05/0.01309, allocations: 31.8 kB / 0.7958 GB, free: 3.141 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.234e-05/0.01314, allocations: 25.77 kB / 0.7958 GB, free: 3.117 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.01314, allocations: 4 kB / 0.7958 GB, free: 3.113 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.01314, allocations: 0 / 0.7958 GB, free: 3.113 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.01315, allocations: 0.5 kB / 0.7958 GB, free: 3.113 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001955/0.01334, allocations: 217.1 kB / 0.7961 GB, free: 2.867 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.01334, allocations: 0 / 0.7961 GB, free: 2.867 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.766e-05/0.01342, allocations: 9.625 kB / 0.7961 GB, free: 2.859 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.374e-06/0.01343, allocations: 11.92 kB / 0.7961 GB, free: 2.848 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.686e-05/0.01345, allocations: 0 / 0.7961 GB, free: 2.848 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.01345, allocations: 4 kB / 0.7961 GB, free: 2.844 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.01345, allocations: 0.7812 kB / 0.7961 GB, free: 2.844 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000439/0.01389, allocations: 341 kB / 0.7964 GB, free: 2.473 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.967e-05/0.01392, allocations: 23.86 kB / 0.7964 GB, free: 2.449 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.668e-05/0.01396, allocations: 9.031 kB / 0.7964 GB, free: 2.441 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.587e-05/0.01403, allocations: 15.98 kB / 0.7965 GB, free: 2.426 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.832e-05/0.01411, allocations: 24.61 kB / 0.7965 GB, free: 2.402 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.17e-05/0.01413, allocations: 11.98 kB / 0.7965 GB, free: 2.391 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001426/0.01427, allocations: 202 kB / 0.7967 GB, free: 2.191 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9e-08/0.01427, allocations: 0 / 0.7967 GB, free: 2.191 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004336/0.01471, allocations: 55.89 kB / 0.7967 GB, free: 2.137 MB / 0.7448 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.0001832/0.01489, allocations: 142.9 kB / 0.7969 GB, free: 1.988 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003044/0.0152, allocations: 226.4 kB / 0.7971 GB, free: 1.738 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.0152, allocations: 0 / 0.7971 GB, free: 1.738 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001384/0.01534, allocations: 152.7 kB / 0.7972 GB, free: 1.566 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002794/0.01561, allocations: 29.64 kB / 0.7973 GB, free: 1.539 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006281/0.01624, allocations: 425.5 kB / 0.7977 GB, free: 1.094 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.907e-05/0.0163, allocations: 83.81 kB / 0.7977 GB, free: 0.9922 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 7.489e-05/0.01638, allocations: 28.08 kB / 0.7978 GB, free: 0.9648 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.026e-05/0.01643, allocations: 24.5 kB / 0.7978 GB, free: 0.9414 MB / 0.7448 GB Notification: Performance of SimCode: time 7.51e-07/0.01643, allocations: 0 / 0.7978 GB, free: 0.9414 MB / 0.7448 GB Notification: Performance of Templates: time 0.006475/0.0229, allocations: 3.072 MB / 0.8008 GB, free: 13.91 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; mkfifo Buildings_11_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe >> ../files/Buildings_11_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.sim & ./Buildings_11_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Actuators_Motors_Examples_IdealMotor.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.820355878677219]