Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.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.004487/0.004487, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001535/0.001535, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9521/0.9521, allocations: 177.1 MB / 204.5 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.096/2.096, allocations: 429.5 MB / 0.6743 GB, free: 3.902 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.DXSystems.Cooling.BaseClasses.Examples.SpeedShift,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|speShi.y|speShi.speRat",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|speShi.y|speShi.speRat",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.735e-06/2.735e-06, allocations: 0 / 0.8794 GB, free: 5.996 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.551e-05/3.824e-05, allocations: 3.156 kB / 0.8794 GB, free: 5.992 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.004359/0.004397, allocations: 2.103 MB / 0.8815 GB, free: 3.902 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.003253/0.007651, allocations: 2.523 MB / 0.884 GB, free: 1.383 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001741/0.007825, allocations: 4 kB / 0.884 GB, free: 1.379 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.001264/0.009088, allocations: 476.2 kB / 0.8844 GB, free: 0.9141 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.000157/0.009245, allocations: 72.69 kB / 0.8845 GB, free: 0.8438 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008703/0.01012, allocations: 287.1 kB / 0.8848 GB, free: 0.5625 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.000457/0.01057, allocations: 338.2 kB / 0.8851 GB, free: 236 kB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001637/0.01074, allocations: 37.27 kB / 0.8851 GB, free: 196 kB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002301/0.01097, allocations: 155.5 kB / 0.8853 GB, free: 40 kB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001904/0.01116, allocations: 107.7 kB / 0.8854 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 3.152e-05/0.01119, allocations: 12 kB / 0.8854 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005667/0.01176, allocations: 335.4 kB / 0.8857 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001409/0.0119, allocations: 115.5 kB / 0.8858 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.000138/0.01203, allocations: 95.61 kB / 0.8859 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0009731/0.01301, allocations: 0.6074 MB / 0.8865 GB, free: 14.78 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.01301, allocations: 0 / 0.8865 GB, free: 14.78 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.435e-06/0.01301, allocations: 0 / 0.8865 GB, free: 14.78 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 9.908e-06/0.01302, allocations: 0 / 0.8865 GB, free: 14.78 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001083/0.01411, allocations: 0.9976 MB / 0.8875 GB, free: 13.73 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.255e-05/0.01416, allocations: 8.031 kB / 0.8875 GB, free: 13.73 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001054/0.01427, allocations: 84.45 kB / 0.8876 GB, free: 13.64 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003716/0.01464, allocations: 329.2 kB / 0.8879 GB, free: 13.3 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.936e-05/0.01467, allocations: 8.375 kB / 0.8879 GB, free: 13.29 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.574e-05/0.01468, allocations: 4.375 kB / 0.8879 GB, free: 13.29 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001775/0.01486, allocations: 114.1 kB / 0.888 GB, free: 13.16 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.01487, allocations: 3.938 kB / 0.888 GB, free: 13.16 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.01488, allocations: 4 kB / 0.888 GB, free: 13.15 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.01489, allocations: 4 kB / 0.888 GB, free: 13.15 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.208e-05/0.01495, allocations: 53.67 kB / 0.888 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006309/0.01558, allocations: 491.9 kB / 0.8885 GB, free: 12.58 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001276/0.01571, allocations: 92.66 kB / 0.8886 GB, free: 12.47 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.684e-05/0.01576, allocations: 53.52 kB / 0.8887 GB, free: 12.41 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 4.867e-05/0.01581, allocations: 11.98 kB / 0.8887 GB, free: 12.4 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001755/0.01598, allocations: 128.4 kB / 0.8888 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=11): time 2.945e-06/0.01599, allocations: 0 / 0.8888 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11): time 0.0003561/0.01634, allocations: 270.2 kB / 0.889 GB, free: 11.96 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.107e-05/0.01639, allocations: 89.22 kB / 0.8891 GB, free: 11.85 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006924/0.01708, allocations: 0.8195 MB / 0.8899 GB, free: 11.01 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.541e-05/0.01711, allocations: 29.7 kB / 0.89 GB, free: 10.98 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003164/0.01743, allocations: 434.5 kB / 0.8904 GB, free: 10.55 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.739e-05/0.01747, allocations: 31.78 kB / 0.8904 GB, free: 10.52 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.6e-05/0.01754, allocations: 39.3 kB / 0.8904 GB, free: 10.47 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001662/0.01771, allocations: 484.4 kB / 0.8909 GB, free: 9.988 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.559e-05/0.01776, allocations: 45.69 kB / 0.8909 GB, free: 9.938 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.605e-05/0.0178, allocations: 42.02 kB / 0.891 GB, free: 9.891 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001054/0.0179, allocations: 107.1 kB / 0.8911 GB, free: 9.77 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.01791, allocations: 0 / 0.8911 GB, free: 9.77 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002458/0.01815, allocations: 232.6 kB / 0.8913 GB, free: 9.523 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.721e-05/0.0182, allocations: 37.7 kB / 0.8913 GB, free: 9.48 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.01821, allocations: 0 / 0.8913 GB, free: 9.48 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.316e-05/0.01823, allocations: 7.984 kB / 0.8914 GB, free: 9.473 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.233e-05/0.01831, allocations: 8 kB / 0.8914 GB, free: 9.465 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.01832, allocations: 3.938 kB / 0.8914 GB, free: 9.461 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.281e-05/0.0184, allocations: 7.953 kB / 0.8914 GB, free: 9.453 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.093e-05/0.01842, allocations: 4 kB / 0.8914 GB, free: 9.449 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 (booleanToInteger.y,greaterThreshold.y,speRat.nextEventScaled,speRat.nextEvent,$PRE.speRat.nextEvent,speRat.last,speRat.b,speRat.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * 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.0001517/0.01857, allocations: 198.9 kB / 0.8916 GB, free: 9.238 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.29e-05/0.01864, allocations: 71.58 kB / 0.8916 GB, free: 9.168 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002913/0.01893, allocations: 234.6 kB / 0.8919 GB, free: 8.914 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.01893, allocations: 0 / 0.8919 GB, free: 8.914 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.01894, allocations: 3.938 kB / 0.8919 GB, free: 8.91 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.01894, allocations: 4 kB / 0.8919 GB, free: 8.906 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003238/0.01927, allocations: 305.2 kB / 0.8922 GB, free: 8.582 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.01927, allocations: 8 kB / 0.8922 GB, free: 8.574 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.758e-05/0.01932, allocations: 8 kB / 0.8922 GB, free: 8.566 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.01932, allocations: 0 / 0.8922 GB, free: 8.566 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.341e-05/0.01933, allocations: 7.984 kB / 0.8922 GB, free: 8.559 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.01934, allocations: 0 / 0.8922 GB, free: 8.559 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.01934, allocations: 0 / 0.8922 GB, free: 8.559 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000281/0.01962, allocations: 287.2 kB / 0.8925 GB, free: 8.242 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 8.245e-05/0.0197, allocations: 67.5 kB / 0.8925 GB, free: 8.176 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.807e-05/0.01974, allocations: 4 kB / 0.8925 GB, free: 8.172 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.822e-05/0.01981, allocations: 11.94 kB / 0.8925 GB, free: 8.16 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.732e-05/0.01987, allocations: 15.97 kB / 0.8926 GB, free: 8.145 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.178e-05/0.01988, allocations: 4 kB / 0.8926 GB, free: 8.141 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0003315/0.02021, allocations: 442.9 kB / 0.893 GB, free: 7.715 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.02021, allocations: 0 / 0.893 GB, free: 7.715 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003831/0.02059, allocations: 131.7 kB / 0.8931 GB, free: 7.586 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,speRat.a,speRat.b,speRat.last,speRat.nextEvent,speRat.nextEventScaled,greaterThreshold.y,booleanToInteger.y) * Number of discrete states: 6 (speRat.nextEvent,speRat.last,speRat.nextEventScaled,speRat.b,speRat.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * 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.0006116/0.0212, allocations: 199.1 kB / 0.8933 GB, free: 7.379 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002047/0.02141, allocations: 182.4 kB / 0.8935 GB, free: 7.172 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.02141, allocations: 4 kB / 0.8935 GB, free: 7.168 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 8.818e-05/0.0215, allocations: 124.8 kB / 0.8936 GB, free: 7.023 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004347/0.02193, allocations: 131 kB / 0.8937 GB, free: 6.898 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001454/0.02339, allocations: 0.8806 MB / 0.8946 GB, free: 5.977 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001505/0.02354, allocations: 187.8 kB / 0.8948 GB, free: 5.773 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 8.688e-05/0.02362, allocations: 21.89 kB / 0.8948 GB, free: 5.754 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002106/0.02384, allocations: 170.1 kB / 0.8949 GB, free: 5.586 MB / 0.8542 GB Notification: Performance of SimCode: time 1.153e-06/0.02384, allocations: 0 / 0.8949 GB, free: 5.586 MB / 0.8542 GB Notification: Performance of Templates: time 0.01166/0.03549, allocations: 6.193 MB / 0.901 GB, free: 15.52 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.sim & ./Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedShift.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.895550508983433]