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.001083/0.001083, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001102/0.001102, allocations: 166.2 kB / 24.87 MB, free: 8.891 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.9912/0.9912, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.728/1.728, allocations: 359 MB / 0.6063 GB, free: 10.91 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.463e-06/1.463e-06, allocations: 0 / 0.7883 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.408e-05/1.554e-05, allocations: 7.375 kB / 0.7883 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.002117/0.002132, allocations: 1.983 MB / 0.7902 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0009707/0.003103, allocations: 0.7114 MB / 0.7909 GB, free: 9.551 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.794e-05/0.003181, allocations: 0 / 0.7909 GB, free: 9.551 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001252/0.003306, allocations: 89.14 kB / 0.791 GB, free: 9.465 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.172e-05/0.003388, allocations: 92.59 kB / 0.7911 GB, free: 9.375 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003348/0.003723, allocations: 189.3 kB / 0.7913 GB, free: 9.191 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000187/0.00391, allocations: 259.4 kB / 0.7915 GB, free: 8.938 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.004018, allocations: 48.44 kB / 0.7916 GB, free: 8.895 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001324/0.004151, allocations: 163.6 kB / 0.7917 GB, free: 8.734 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001286/0.004279, allocations: 131.7 kB / 0.7919 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.434e-05/0.004304, allocations: 20 kB / 0.7919 GB, free: 8.586 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 9.547e-05/0.004399, allocations: 87.86 kB / 0.792 GB, free: 8.5 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 5.119e-05/0.00445, allocations: 57.72 kB / 0.792 GB, free: 8.445 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.121e-05/0.004502, allocations: 59.83 kB / 0.7921 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002854/0.004787, allocations: 231.2 kB / 0.7923 GB, free: 8.16 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.403e-06/0.004788, allocations: 0 / 0.7923 GB, free: 8.16 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.21e-07/0.004789, allocations: 0 / 0.7923 GB, free: 8.16 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.978e-06/0.004793, allocations: 0.7188 kB / 0.7923 GB, free: 8.16 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.0004927/0.005286, allocations: 0.5989 MB / 0.7929 GB, free: 7.52 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.991e-05/0.005316, allocations: 9.688 kB / 0.7929 GB, free: 7.512 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.911e-05/0.005365, allocations: 44.75 kB / 0.7929 GB, free: 7.469 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000198/0.005563, allocations: 223.5 kB / 0.7931 GB, free: 7.223 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.097e-05/0.005584, allocations: 17.03 kB / 0.7932 GB, free: 7.207 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.242e-05/0.005606, allocations: 13.31 kB / 0.7932 GB, free: 7.195 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002264/0.005832, allocations: 259.6 kB / 0.7934 GB, free: 6.891 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.00584, allocations: 5.344 kB / 0.7934 GB, free: 6.887 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.005853, allocations: 8.359 kB / 0.7934 GB, free: 6.879 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/0.005864, allocations: 7.938 kB / 0.7934 GB, free: 6.871 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.683e-05/0.005941, allocations: 80.14 kB / 0.7935 GB, free: 6.789 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006185/0.006559, allocations: 0.6759 MB / 0.7942 GB, free: 6.078 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001125/0.006672, allocations: 104.7 kB / 0.7943 GB, free: 5.957 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.643e-05/0.006718, allocations: 65.5 kB / 0.7943 GB, free: 5.883 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.975e-06/0.006726, allocations: 5.375 kB / 0.7943 GB, free: 5.879 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001213/0.006847, allocations: 144.4 kB / 0.7945 GB, free: 5.711 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=15): time 1.372e-06/0.006849, allocations: 0 / 0.7945 GB, free: 5.711 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15): time 0.0002505/0.007099, allocations: 263.8 kB / 0.7947 GB, free: 5.43 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.492e-05/0.007144, allocations: 136.5 kB / 0.7949 GB, free: 5.266 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001473/0.007291, allocations: 296.2 kB / 0.7951 GB, free: 4.961 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.007309, allocations: 33.7 kB / 0.7952 GB, free: 4.922 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.001e-05/0.007399, allocations: 214 kB / 0.7954 GB, free: 4.711 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.699e-05/0.007426, allocations: 47.56 kB / 0.7954 GB, free: 4.664 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.904e-05/0.007475, allocations: 47.34 kB / 0.7955 GB, free: 4.609 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.007589, allocations: 0.5118 MB / 0.796 GB, free: 4.086 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.209e-05/0.007631, allocations: 57.67 kB / 0.796 GB, free: 4.023 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.938e-05/0.007711, allocations: 161 kB / 0.7962 GB, free: 3.824 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.623e-05/0.007807, allocations: 158 kB / 0.7963 GB, free: 3.645 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.007809, allocations: 0 / 0.7963 GB, free: 3.645 MB / 0.7448 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001832/0.007993, allocations: 238.8 kB / 0.7966 GB, free: 3.395 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.756e-05/0.00802, allocations: 40.23 kB / 0.7966 GB, free: 3.352 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.008026, allocations: 8 kB / 0.7966 GB, free: 3.344 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.113e-06/0.008033, allocations: 0 / 0.7966 GB, free: 3.344 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.755e-05/0.008101, allocations: 23.98 kB / 0.7966 GB, free: 3.32 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.008106, allocations: 7.938 kB / 0.7966 GB, free: 3.312 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.394e-05/0.00816, allocations: 15.94 kB / 0.7967 GB, free: 3.297 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/0.00817, allocations: 4.844 kB / 0.7967 GB, free: 3.293 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 9.976e-05/0.00827, allocations: 218 kB / 0.7969 GB, free: 3.066 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.992e-05/0.008299, allocations: 35.8 kB / 0.7969 GB, free: 3.031 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.997e-05/0.008329, allocations: 27.05 kB / 0.7969 GB, free: 3.008 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.008331, allocations: 0 / 0.7969 GB, free: 3.008 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-06/0.008333, allocations: 0 / 0.7969 GB, free: 3.008 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.008337, allocations: 4.844 kB / 0.7969 GB, free: 3.004 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001175/0.008454, allocations: 169.1 kB / 0.7971 GB, free: 2.812 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.008455, allocations: 0 / 0.7971 GB, free: 2.812 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.893e-05/0.008504, allocations: 21.03 kB / 0.7971 GB, free: 2.793 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.008506, allocations: 0 / 0.7971 GB, free: 2.793 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.008517, allocations: 7.984 kB / 0.7971 GB, free: 2.785 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.008519, allocations: 4.562 kB / 0.7971 GB, free: 2.781 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.008519, allocations: 2.812 kB / 0.7971 GB, free: 2.781 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005367/0.009056, allocations: 327.9 kB / 0.7974 GB, free: 2.422 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.736e-05/0.009073, allocations: 15.86 kB / 0.7975 GB, free: 2.406 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.247e-05/0.009096, allocations: 4 kB / 0.7975 GB, free: 2.402 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.435e-05/0.00914, allocations: 19.92 kB / 0.7975 GB, free: 2.383 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.066e-05/0.009191, allocations: 23.95 kB / 0.7975 GB, free: 2.359 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.449e-05/0.009205, allocations: 8 kB / 0.7975 GB, free: 2.352 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.031e-05/0.009286, allocations: 199.2 kB / 0.7977 GB, free: 2.156 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.009286, allocations: 0 / 0.7977 GB, free: 2.156 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.00017/0.009456, allocations: 59.89 kB / 0.7978 GB, free: 2.098 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.0001194/0.009575, allocations: 132.2 kB / 0.7979 GB, free: 1.957 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001783/0.009753, allocations: 215.5 kB / 0.7981 GB, free: 1.719 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.009755, allocations: 0 / 0.7981 GB, free: 1.719 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.906e-05/0.009834, allocations: 149.7 kB / 0.7982 GB, free: 1.551 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001687/0.01, allocations: 30.02 kB / 0.7983 GB, free: 1.523 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004456/0.01045, allocations: 417.1 kB / 0.7987 GB, free: 1.086 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.037e-05/0.01049, allocations: 83.81 kB / 0.7987 GB, free: 0.9844 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.141e-05/0.01054, allocations: 24.34 kB / 0.7988 GB, free: 0.9609 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001196/0.01066, allocations: 122.8 kB / 0.7989 GB, free: 0.8398 MB / 0.7448 GB Notification: Performance of SimCode: time 9.92e-07/0.01066, allocations: 0 / 0.7989 GB, free: 0.8398 MB / 0.7448 GB Notification: Performance of Templates: time 0.004576/0.01524, allocations: 3.201 MB / 0.802 GB, free: 13.68 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.908963235095143]