Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.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.001166/0.001166, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.00121/0.00121, allocations: 173.3 kB / 23.49 MB, free: 1.062 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.8767/0.8767, allocations: 177.1 MB / 203.8 MB, free: 5.652 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 1.928/1.928, allocations: 429.5 MB / 0.6736 GB, free: 4.066 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.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hASin.hA",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hASin.hA",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 0.8782 GB, free: 6.633 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.455e-05/1.567e-05, allocations: 9.797 kB / 0.8782 GB, free: 6.625 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.001667/0.001683, allocations: 1.676 MB / 0.8799 GB, free: 4.961 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001009/0.002692, allocations: 0.9653 MB / 0.8808 GB, free: 3.996 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.511e-05/0.002737, allocations: 0 / 0.8808 GB, free: 3.996 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.49e-05/0.002762, allocations: 11.86 kB / 0.8808 GB, free: 3.984 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001573/0.002919, allocations: 26.44 kB / 0.8809 GB, free: 3.961 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002552/0.003174, allocations: 159.4 kB / 0.881 GB, free: 3.805 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001118/0.003286, allocations: 79.66 kB / 0.8811 GB, free: 3.727 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 7.577e-05/0.003362, allocations: 12.69 kB / 0.8811 GB, free: 3.715 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001087/0.003471, allocations: 47.84 kB / 0.8811 GB, free: 3.668 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.816e-05/0.003529, allocations: 37.55 kB / 0.8812 GB, free: 3.633 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.342e-05/0.003542, allocations: 4 kB / 0.8812 GB, free: 3.629 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002413/0.003784, allocations: 271.6 kB / 0.8814 GB, free: 3.363 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.422e-05/0.003798, allocations: 21.25 kB / 0.8815 GB, free: 3.344 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.244e-05/0.00382, allocations: 12 kB / 0.8815 GB, free: 3.332 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001936/0.004014, allocations: 167.5 kB / 0.8816 GB, free: 3.168 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.633e-06/0.004016, allocations: 3.938 kB / 0.8816 GB, free: 3.164 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.71e-07/0.004016, allocations: 4 kB / 0.8816 GB, free: 3.16 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.276e-06/0.004019, allocations: 0 / 0.8816 GB, free: 3.16 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.00038/0.004399, allocations: 440 kB / 0.8821 GB, free: 2.695 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.004434, allocations: 12.02 kB / 0.8821 GB, free: 2.684 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001691/0.004603, allocations: 28.88 kB / 0.8821 GB, free: 2.656 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001387/0.004742, allocations: 149.4 kB / 0.8822 GB, free: 2.484 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.696e-06/0.00475, allocations: 8.375 kB / 0.8822 GB, free: 2.477 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.368e-06/0.00476, allocations: 4.375 kB / 0.8822 GB, free: 2.473 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001039/0.004864, allocations: 62.5 kB / 0.8823 GB, free: 2.402 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.7e-06/0.004869, allocations: 0 / 0.8823 GB, free: 2.402 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.004878, allocations: 4 kB / 0.8823 GB, free: 2.398 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.004885, allocations: 4 kB / 0.8823 GB, free: 2.395 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.895e-05/0.004924, allocations: 7.984 kB / 0.8823 GB, free: 2.387 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002811/0.005205, allocations: 291.6 kB / 0.8826 GB, free: 2.066 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.374e-05/0.005278, allocations: 47.05 kB / 0.8826 GB, free: 2.008 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.692e-05/0.005305, allocations: 19.8 kB / 0.8827 GB, free: 1.984 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.223e-05/0.005318, allocations: 4 kB / 0.8827 GB, free: 1.98 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.624e-05/0.005334, allocations: 33.39 kB / 0.8827 GB, free: 1.938 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=5): time 1.192e-06/0.005335, allocations: 0 / 0.8827 GB, free: 1.938 MB / 0.8386 GB Notification: Performance of matching and sorting (n=5): time 0.0001675/0.005503, allocations: 69.58 kB / 0.8828 GB, free: 1.863 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.298e-05/0.005526, allocations: 51.41 kB / 0.8828 GB, free: 1.801 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.732e-05/0.005613, allocations: 191.4 kB / 0.883 GB, free: 1.598 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.357e-06/0.005622, allocations: 25.7 kB / 0.883 GB, free: 1.566 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.107e-05/0.005673, allocations: 150.9 kB / 0.8832 GB, free: 1.414 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.443e-05/0.005688, allocations: 15.84 kB / 0.8832 GB, free: 1.398 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.008e-05/0.005718, allocations: 31.36 kB / 0.8832 GB, free: 1.359 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.791e-05/0.005816, allocations: 496.1 kB / 0.8837 GB, free: 0.8633 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.971e-05/0.005835, allocations: 7.984 kB / 0.8837 GB, free: 0.8555 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.675e-05/0.005852, allocations: 12.38 kB / 0.8837 GB, free: 0.8438 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.952e-05/0.005902, allocations: 35.61 kB / 0.8837 GB, free: 0.8047 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.005903, allocations: 3.938 kB / 0.8837 GB, free: 0.8008 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6) (initialization): time 8.206e-05/0.005985, allocations: 65.58 kB / 0.8838 GB, free: 0.7305 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/0.005997, allocations: 6.031 kB / 0.8838 GB, free: 0.7266 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.566e-06/0.006, allocations: 4 kB / 0.8838 GB, free: 0.7227 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.006016, allocations: 0 / 0.8838 GB, free: 0.7227 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.543e-05/0.006081, allocations: 15.98 kB / 0.8838 GB, free: 0.707 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.067e-06/0.006085, allocations: 0 / 0.8838 GB, free: 0.707 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.415e-05/0.006109, allocations: 7.953 kB / 0.8838 GB, free: 0.6992 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.006114, allocations: 0 / 0.8838 GB, free: 0.6992 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * 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 5.695e-05/0.006171, allocations: 164.5 kB / 0.884 GB, free: 0.5273 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.264e-05/0.006194, allocations: 7.953 kB / 0.884 GB, free: 0.5195 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000101/0.006295, allocations: 78.06 kB / 0.8841 GB, free: 444 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.006296, allocations: 0 / 0.8841 GB, free: 444 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.0063, allocations: 3.984 kB / 0.8841 GB, free: 440 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.006303, allocations: 0 / 0.8841 GB, free: 440 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.454e-05/0.006397, allocations: 140.5 kB / 0.8842 GB, free: 264 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.006398, allocations: 0 / 0.8842 GB, free: 264 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.412e-05/0.006432, allocations: 15.98 kB / 0.8842 GB, free: 248 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.006433, allocations: 0 / 0.8842 GB, free: 248 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-06/0.006439, allocations: 0 / 0.8842 GB, free: 248 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-07/0.00644, allocations: 0 / 0.8842 GB, free: 248 kB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.00644, allocations: 0 / 0.8842 GB, free: 248 kB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001124/0.006553, allocations: 223.9 kB / 0.8844 GB, free: 4 kB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.842e-05/0.006571, allocations: 8.141 kB / 0.8844 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.085e-05/0.006582, allocations: 0 / 0.8844 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.637e-05/0.006618, allocations: 8 kB / 0.8845 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.911e-05/0.006648, allocations: 7.984 kB / 0.8845 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.006651, allocations: 4 kB / 0.8845 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.306e-05/0.006694, allocations: 141.1 kB / 0.8846 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.006694, allocations: 0 / 0.8846 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001527/0.006847, allocations: 27.98 kB / 0.8846 GB, free: 15.81 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * 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.0001087/0.006956, allocations: 107.2 kB / 0.8847 GB, free: 15.69 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 8.566e-05/0.007041, allocations: 35.61 kB / 0.8848 GB, free: 15.65 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.007043, allocations: 0 / 0.8848 GB, free: 15.65 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.622e-05/0.007069, allocations: 23.67 kB / 0.8848 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001808/0.00725, allocations: 19.69 kB / 0.8848 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004957/0.007745, allocations: 198.7 kB / 0.885 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.381e-05/0.007779, allocations: 63.34 kB / 0.8851 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.286e-05/0.007812, allocations: 11.98 kB / 0.8851 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.448e-05/0.007837, allocations: 12.5 kB / 0.8851 GB, free: 15.28 MB / 0.8542 GB Notification: Performance of SimCode: time 5.01e-07/0.007837, allocations: 0 / 0.8851 GB, free: 15.28 MB / 0.8542 GB Notification: Performance of Templates: time 0.002574/0.01041, allocations: 1.156 MB / 0.8862 GB, free: 14.15 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.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.9857786181382835]