Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.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.001027/0.001027, allocations: 73.88 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.001153/0.001153, allocations: 173 kB / 24.06 MB, free: 452 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.9869/0.9869, allocations: 177.1 MB / 204.5 MB, free: 5.523 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.134/2.134, allocations: 429.5 MB / 0.6743 GB, free: 3.906 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.Media.Antifreeze.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|d.[0-9,]+.|cp.[0-9,]+.|lambda.[0-9,]+.|eta.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater") translateModel(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|d.[0-9,]+.|cp.[0-9,]+.|lambda.[0-9,]+.|eta.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 0.8794 GB, free: 6.016 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.871e-05/2.084e-05, allocations: 2.969 kB / 0.8794 GB, free: 6.012 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002242/0.002263, allocations: 1.44 MB / 0.8808 GB, free: 4.586 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001348/0.003611, allocations: 1.049 MB / 0.8818 GB, free: 3.543 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.15e-05/0.003662, allocations: 4 kB / 0.8818 GB, free: 3.539 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001063/0.003769, allocations: 13.05 kB / 0.8818 GB, free: 3.527 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001204/0.003889, allocations: 31.81 kB / 0.8818 GB, free: 3.496 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004083/0.004297, allocations: 120.2 kB / 0.882 GB, free: 3.379 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002192/0.004517, allocations: 250.4 kB / 0.8822 GB, free: 3.137 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.937e-05/0.004566, allocations: 7.938 kB / 0.8822 GB, free: 3.129 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001057/0.004672, allocations: 111.8 kB / 0.8823 GB, free: 3.02 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001188/0.00479, allocations: 123.8 kB / 0.8824 GB, free: 2.898 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.747e-05/0.004818, allocations: 8 kB / 0.8824 GB, free: 2.891 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00027/0.005088, allocations: 115.8 kB / 0.8825 GB, free: 2.777 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 9.439e-05/0.005182, allocations: 91.84 kB / 0.8826 GB, free: 2.688 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 6.967e-05/0.005252, allocations: 77.41 kB / 0.8827 GB, free: 2.613 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000264/0.005516, allocations: 251.3 kB / 0.8829 GB, free: 2.367 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.005518, allocations: 0 / 0.8829 GB, free: 2.367 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.262e-06/0.005519, allocations: 4 kB / 0.8829 GB, free: 2.363 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.005525, allocations: 0.625 kB / 0.8829 GB, free: 2.363 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0006358/0.006161, allocations: 0.5602 MB / 0.8835 GB, free: 1.77 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.006203, allocations: 8.031 kB / 0.8835 GB, free: 1.762 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001282/0.006332, allocations: 29.72 kB / 0.8835 GB, free: 1.734 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001892/0.006521, allocations: 180.2 kB / 0.8837 GB, free: 1.531 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.788e-05/0.006559, allocations: 21.02 kB / 0.8837 GB, free: 1.512 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.061e-05/0.006579, allocations: 20.38 kB / 0.8837 GB, free: 1.492 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002381/0.006817, allocations: 173.7 kB / 0.8839 GB, free: 1.316 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.006828, allocations: 192 / 0.8839 GB, free: 1.316 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.817e-05/0.006846, allocations: 8.375 kB / 0.8839 GB, free: 1.309 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.006856, allocations: 11.94 kB / 0.8839 GB, free: 1.297 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003278/0.007183, allocations: 327.8 kB / 0.8842 GB, free: 0.9766 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002104/0.007394, allocations: 177.1 kB / 0.8844 GB, free: 0.7773 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006956/0.008089, allocations: 449.3 kB / 0.8848 GB, free: 332 kB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.365e-05/0.008183, allocations: 80.58 kB / 0.8849 GB, free: 248 kB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001858/0.008369, allocations: 71.91 kB / 0.885 GB, free: 176 kB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.823e-05/0.008397, allocations: 45.14 kB / 0.885 GB, free: 120 kB / 0.8386 GB Notification: Performance of pre-optimization done (n=37): time 1.703e-06/0.008399, allocations: 0 / 0.885 GB, free: 120 kB / 0.8386 GB Notification: Performance of matching and sorting (n=37): time 0.0004048/0.008804, allocations: 266.2 kB / 0.8853 GB, free: 15.85 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.4e-05/0.008838, allocations: 59.34 kB / 0.8853 GB, free: 15.78 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.677e-05/0.008924, allocations: 181.8 kB / 0.8855 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.908e-05/0.008943, allocations: 33.7 kB / 0.8855 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.949e-05/0.008993, allocations: 139.5 kB / 0.8857 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 9.331e-05/0.009086, allocations: 134.8 kB / 0.8858 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.187e-05/0.009158, allocations: 79.05 kB / 0.8859 GB, free: 15.19 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.009303, allocations: 0.504 MB / 0.8864 GB, free: 14.67 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.871e-05/0.009372, allocations: 47.95 kB / 0.8864 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7e-05/0.009442, allocations: 48.03 kB / 0.8865 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001445/0.009586, allocations: 107.3 kB / 0.8866 GB, free: 14.47 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.009589, allocations: 0 / 0.8866 GB, free: 14.47 MB / 0.8542 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0002581/0.009847, allocations: 205.6 kB / 0.8868 GB, free: 14.26 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.009861, allocations: 7.938 kB / 0.8868 GB, free: 14.25 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.009866, allocations: 0 / 0.8868 GB, free: 14.25 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.009878, allocations: 4 kB / 0.8868 GB, free: 14.25 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002208/0.0101, allocations: 95.91 kB / 0.8869 GB, free: 14.16 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.0101, allocations: 7.938 kB / 0.8869 GB, free: 14.15 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.902e-05/0.0102, allocations: 51.8 kB / 0.8869 GB, free: 14.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.725e-05/0.01022, allocations: 11.98 kB / 0.8869 GB, free: 14.09 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * 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 9.004e-05/0.01031, allocations: 172.5 kB / 0.8871 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.335e-05/0.01034, allocations: 27.91 kB / 0.8871 GB, free: 13.88 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003245/0.01067, allocations: 263 kB / 0.8874 GB, free: 13.61 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.01067, allocations: 4 kB / 0.8874 GB, free: 13.61 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.01068, allocations: 3.984 kB / 0.8874 GB, free: 13.61 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.01068, allocations: 3.938 kB / 0.8874 GB, free: 13.6 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001611/0.01084, allocations: 177 kB / 0.8876 GB, free: 13.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.01084, allocations: 0 / 0.8876 GB, free: 13.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001884/0.01103, allocations: 103.8 kB / 0.8877 GB, free: 13.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.409e-06/0.01104, allocations: 8 kB / 0.8877 GB, free: 13.29 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.671e-05/0.01105, allocations: 15.98 kB / 0.8877 GB, free: 13.28 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.01106, allocations: 0 / 0.8877 GB, free: 13.28 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01106, allocations: 0 / 0.8877 GB, free: 13.28 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002854/0.01134, allocations: 272.2 kB / 0.8879 GB, free: 12.99 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.115e-05/0.01136, allocations: 23.8 kB / 0.888 GB, free: 12.96 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.094e-05/0.01138, allocations: 8 kB / 0.888 GB, free: 12.96 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.107e-05/0.01148, allocations: 39.95 kB / 0.888 GB, free: 12.92 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.033e-05/0.01156, allocations: 43.69 kB / 0.888 GB, free: 12.88 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.664e-05/0.01157, allocations: 15.98 kB / 0.8881 GB, free: 12.86 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.002e-05/0.01162, allocations: 139.1 kB / 0.8882 GB, free: 12.72 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.01162, allocations: 0 / 0.8882 GB, free: 12.72 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002332/0.01186, allocations: 99.86 kB / 0.8883 GB, free: 12.62 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 (37): * Single equations (assignments): 37 * 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.0002276/0.01208, allocations: 163 kB / 0.8884 GB, free: 12.45 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002556/0.01234, allocations: 191.2 kB / 0.8886 GB, free: 12.26 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.01234, allocations: 0 / 0.8886 GB, free: 12.26 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001322/0.01247, allocations: 136.2 kB / 0.8888 GB, free: 12.12 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002827/0.01276, allocations: 91.91 kB / 0.8888 GB, free: 12.04 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007269/0.01348, allocations: 359 kB / 0.8892 GB, free: 11.66 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.648e-05/0.01354, allocations: 84.83 kB / 0.8893 GB, free: 11.55 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001487/0.01369, allocations: 65.89 kB / 0.8893 GB, free: 11.49 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001976/0.01389, allocations: 166.1 kB / 0.8895 GB, free: 11.33 MB / 0.8542 GB Notification: Performance of SimCode: time 7.81e-07/0.01389, allocations: 0 / 0.8895 GB, free: 11.33 MB / 0.8542 GB Notification: Performance of Templates: time 0.007753/0.02164, allocations: 6.073 MB / 0.8954 GB, free: 5.379 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & ./Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater.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.927474719006568]