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.0009744/0.0009744, allocations: 83.59 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.0009535/0.0009535, allocations: 165 kB / 23.82 MB, free: 0.75 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.9828/0.9828, allocations: 177.1 MB / 204.2 MB, free: 5.641 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.727/1.727, allocations: 359 MB / 0.6052 GB, free: 11 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.603e-06/1.603e-06, allocations: 0 / 0.7871 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.656e-05/1.816e-05, allocations: 8.922 kB / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.00247/0.002488, allocations: 1.991 MB / 0.789 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001151/0.003639, allocations: 0.7226 MB / 0.7897 GB, free: 9.793 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001099/0.003749, allocations: 8.594 kB / 0.7897 GB, free: 9.785 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0002242/0.003973, allocations: 80.36 kB / 0.7898 GB, free: 9.707 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.845e-05/0.004072, allocations: 89.23 kB / 0.7899 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004831/0.004555, allocations: 190.5 kB / 0.7901 GB, free: 9.438 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002541/0.004809, allocations: 263.3 kB / 0.7903 GB, free: 9.18 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.004934, allocations: 46.16 kB / 0.7904 GB, free: 9.137 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001545/0.005088, allocations: 155.7 kB / 0.7905 GB, free: 8.984 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001697/0.005258, allocations: 136.2 kB / 0.7907 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.592e-05/0.005294, allocations: 23.44 kB / 0.7907 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001215/0.005415, allocations: 91.91 kB / 0.7908 GB, free: 8.742 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 6.598e-05/0.005481, allocations: 59.78 kB / 0.7908 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.711e-05/0.005549, allocations: 63.77 kB / 0.7909 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002643/0.005813, allocations: 239.2 kB / 0.7911 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.005815, allocations: 0 / 0.7911 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.21e-07/0.005816, allocations: 0 / 0.7911 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.00582, allocations: 0 / 0.7911 GB, free: 8.387 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.0007519/0.006572, allocations: 0.6034 MB / 0.7917 GB, free: 7.742 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.006611, allocations: 8.906 kB / 0.7917 GB, free: 7.734 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.13e-05/0.006682, allocations: 44.75 kB / 0.7918 GB, free: 7.691 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002813/0.006963, allocations: 245.1 kB / 0.792 GB, free: 7.426 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.566e-05/0.006989, allocations: 13.75 kB / 0.792 GB, free: 7.414 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.259e-05/0.007021, allocations: 16.33 kB / 0.792 GB, free: 7.398 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002762/0.007298, allocations: 275.6 kB / 0.7923 GB, free: 7.078 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.007307, allocations: 1.406 kB / 0.7923 GB, free: 7.078 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.725e-05/0.007324, allocations: 8.125 kB / 0.7923 GB, free: 7.07 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.007332, allocations: 7.938 kB / 0.7923 GB, free: 7.062 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001099/0.007442, allocations: 87.44 kB / 0.7924 GB, free: 6.973 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006268/0.008069, allocations: 0.7262 MB / 0.7931 GB, free: 6.203 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000151/0.00822, allocations: 112.8 kB / 0.7932 GB, free: 6.074 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.391e-05/0.008284, allocations: 66.12 kB / 0.7933 GB, free: 6 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 9.638e-06/0.008294, allocations: 0 / 0.7933 GB, free: 6 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001405/0.008434, allocations: 157.3 kB / 0.7934 GB, free: 5.82 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=15): time 9.72e-07/0.008435, allocations: 0 / 0.7934 GB, free: 5.82 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15): time 0.00032/0.008755, allocations: 272 kB / 0.7937 GB, free: 5.535 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.813e-05/0.008803, allocations: 132.5 kB / 0.7938 GB, free: 5.375 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001806/0.008984, allocations: 316.2 kB / 0.7941 GB, free: 5.051 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/0.009, allocations: 25.7 kB / 0.7941 GB, free: 5.02 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.316e-05/0.009094, allocations: 207.1 kB / 0.7943 GB, free: 4.812 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.049e-05/0.009124, allocations: 50.89 kB / 0.7944 GB, free: 4.766 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.602e-05/0.00918, allocations: 43.36 kB / 0.7944 GB, free: 4.715 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0003988/0.009579, allocations: 0.5118 MB / 0.7949 GB, free: 4.191 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.195e-05/0.009641, allocations: 57.69 kB / 0.795 GB, free: 4.129 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.762e-05/0.009738, allocations: 173.2 kB / 0.7951 GB, free: 3.918 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001162/0.009855, allocations: 156.3 kB / 0.7953 GB, free: 3.738 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.009857, allocations: 5.031 kB / 0.7953 GB, free: 3.734 MB / 0.7448 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002191/0.01008, allocations: 258.3 kB / 0.7955 GB, free: 3.465 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.906e-05/0.01011, allocations: 42.25 kB / 0.7956 GB, free: 3.418 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.01011, allocations: 0 / 0.7956 GB, free: 3.418 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.01013, allocations: 0.5625 kB / 0.7956 GB, free: 3.418 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.416e-05/0.01021, allocations: 29.05 kB / 0.7956 GB, free: 3.391 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.01022, allocations: 0 / 0.7956 GB, free: 3.391 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.543e-05/0.01027, allocations: 19.83 kB / 0.7956 GB, free: 3.371 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.357e-05/0.01029, allocations: 16.8 kB / 0.7956 GB, free: 3.355 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.0001011/0.01039, allocations: 195.5 kB / 0.7958 GB, free: 3.148 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.046e-05/0.01042, allocations: 39.78 kB / 0.7959 GB, free: 3.109 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.078e-05/0.01045, allocations: 19.12 kB / 0.7959 GB, free: 3.094 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.01045, allocations: 4 kB / 0.7959 GB, free: 3.09 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.01045, allocations: 0 / 0.7959 GB, free: 3.09 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.01046, allocations: 7.922 kB / 0.7959 GB, free: 3.082 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001512/0.01061, allocations: 217.3 kB / 0.7961 GB, free: 2.836 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.01061, allocations: 0 / 0.7961 GB, free: 2.836 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.251e-05/0.01066, allocations: 16.92 kB / 0.7961 GB, free: 2.82 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.01067, allocations: 7.938 kB / 0.7961 GB, free: 2.812 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.01068, allocations: 5.219 kB / 0.7961 GB, free: 2.809 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.01068, allocations: 4 kB / 0.7961 GB, free: 2.805 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.01068, allocations: 0 / 0.7961 GB, free: 2.805 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003172/0.011, allocations: 335 kB / 0.7964 GB, free: 2.438 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.345e-05/0.01102, allocations: 31.72 kB / 0.7965 GB, free: 2.406 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.58e-05/0.01105, allocations: 8 kB / 0.7965 GB, free: 2.398 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.653e-05/0.01109, allocations: 12 kB / 0.7965 GB, free: 2.387 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.296e-05/0.01116, allocations: 27.39 kB / 0.7965 GB, free: 2.363 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.516e-05/0.01117, allocations: 7.984 kB / 0.7965 GB, free: 2.355 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001012/0.01127, allocations: 205.1 kB / 0.7967 GB, free: 2.152 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6.1e-08/0.01127, allocations: 0 / 0.7967 GB, free: 2.152 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001837/0.01146, allocations: 59.89 kB / 0.7968 GB, free: 2.094 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.0001393/0.0116, allocations: 131.2 kB / 0.7969 GB, free: 1.953 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002264/0.01182, allocations: 231.3 kB / 0.7971 GB, free: 1.699 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.01182, allocations: 0 / 0.7971 GB, free: 1.699 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001032/0.01193, allocations: 149.8 kB / 0.7973 GB, free: 1.531 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002021/0.01213, allocations: 35.41 kB / 0.7973 GB, free: 1.5 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00049/0.01262, allocations: 431.1 kB / 0.7977 GB, free: 1.051 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.142e-05/0.01267, allocations: 84.69 kB / 0.7978 GB, free: 0.9492 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.879e-05/0.01272, allocations: 21.23 kB / 0.7978 GB, free: 0.9297 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.947e-05/0.01276, allocations: 16.5 kB / 0.7978 GB, free: 0.9141 MB / 0.7448 GB Notification: Performance of SimCode: time 5.41e-07/0.01276, allocations: 0 / 0.7978 GB, free: 0.9141 MB / 0.7448 GB Notification: Performance of Templates: time 0.004679/0.01744, allocations: 2.904 MB / 0.8007 GB, free: 14.06 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: 5.110724539961666]