Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.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.001551/0.001551, allocations: 77.95 kB / 20.66 MB, free: 3.832 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.001883/0.001883, allocations: 165 kB / 24.05 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 1.045/1.045, allocations: 177.1 MB / 204.5 MB, free: 5.484 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.914 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.Controls.OBC.UnitConversions.Validation.From_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 1.094 kB / 0.8794 GB, free: 6.051 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.215e-05/2.334e-05, allocations: 6.234 kB / 0.8794 GB, free: 6.047 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_degC): time 0.001459/0.001482, allocations: 0.8629 MB / 0.8802 GB, free: 5.211 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001197/0.001602, allocations: 63.69 kB / 0.8803 GB, free: 5.148 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.783e-05/0.00165, allocations: 0.9688 kB / 0.8803 GB, free: 5.148 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.321e-05/0.001683, allocations: 7.875 kB / 0.8803 GB, free: 5.141 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.664e-05/0.001749, allocations: 23.75 kB / 0.8803 GB, free: 5.117 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 5.273e-05/0.001802, allocations: 25.62 kB / 0.8804 GB, free: 5.094 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.113e-05/0.001893, allocations: 79.77 kB / 0.8804 GB, free: 5.016 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.001999, allocations: 33.28 kB / 0.8805 GB, free: 4.984 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 7.749e-05/0.002076, allocations: 51.83 kB / 0.8805 GB, free: 4.934 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.555e-05/0.002122, allocations: 24.41 kB / 0.8805 GB, free: 4.91 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.471e-05/0.002136, allocations: 4 kB / 0.8806 GB, free: 4.906 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.065e-06/0.002144, allocations: 9.875 kB / 0.8806 GB, free: 4.898 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.878e-05/0.002163, allocations: 15.92 kB / 0.8806 GB, free: 4.883 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.958e-05/0.002193, allocations: 23.92 kB / 0.8806 GB, free: 4.859 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 8.862e-05/0.002281, allocations: 59.62 kB / 0.8807 GB, free: 4.801 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.002284, allocations: 0 / 0.8807 GB, free: 4.801 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.61e-07/0.002284, allocations: 1.344 kB / 0.8807 GB, free: 4.801 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.587e-06/0.002288, allocations: 0 / 0.8807 GB, free: 4.801 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0003011/0.002589, allocations: 424.3 kB / 0.8811 GB, free: 4.348 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.83e-05/0.002617, allocations: 9.625 kB / 0.8811 GB, free: 4.34 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.299e-05/0.00265, allocations: 24.84 kB / 0.8811 GB, free: 4.316 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.002772, allocations: 148.4 kB / 0.8812 GB, free: 4.145 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.002782, allocations: 8.562 kB / 0.8812 GB, free: 4.137 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.167e-06/0.002792, allocations: 10.84 kB / 0.8813 GB, free: 4.129 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.579e-05/0.002887, allocations: 95.2 kB / 0.8813 GB, free: 4.023 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.002895, allocations: 0 / 0.8813 GB, free: 4.023 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.584e-06/0.002902, allocations: 4 kB / 0.8813 GB, free: 4.02 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.002907, allocations: 4 kB / 0.8814 GB, free: 4.016 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.004e-05/0.002937, allocations: 23.92 kB / 0.8814 GB, free: 3.992 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003878/0.003325, allocations: 0.7399 MB / 0.8821 GB, free: 3.207 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.637e-05/0.003401, allocations: 269.4 kB / 0.8824 GB, free: 2.93 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.817e-05/0.00343, allocations: 126.9 kB / 0.8825 GB, free: 2.801 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.56e-05/0.003455, allocations: 123.2 kB / 0.8826 GB, free: 2.68 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.028e-05/0.003495, allocations: 156.6 kB / 0.8827 GB, free: 2.516 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/0.003496, allocations: 0.7188 kB / 0.8827 GB, free: 2.516 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 5.193e-05/0.003548, allocations: 37.59 kB / 0.8828 GB, free: 2.473 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.822e-05/0.003596, allocations: 171.8 kB / 0.8829 GB, free: 2.293 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.957e-05/0.003696, allocations: 207.6 kB / 0.8831 GB, free: 2.074 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.737e-06/0.003705, allocations: 25.7 kB / 0.8832 GB, free: 2.043 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.24e-05/0.003767, allocations: 182.4 kB / 0.8833 GB, free: 1.859 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.617e-06/0.003771, allocations: 7.984 kB / 0.8833 GB, free: 1.852 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.832e-05/0.003799, allocations: 31.36 kB / 0.8834 GB, free: 1.812 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.003901, allocations: 496.1 kB / 0.8838 GB, free: 1.316 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.194e-06/0.003908, allocations: 3.984 kB / 0.8839 GB, free: 1.312 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.624e-05/0.003944, allocations: 73.48 kB / 0.8839 GB, free: 1.207 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.202e-05/0.004006, allocations: 97.34 kB / 0.884 GB, free: 1.078 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.00401, allocations: 7.938 kB / 0.884 GB, free: 1.07 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001005/0.00411, allocations: 77.45 kB / 0.8841 GB, free: 0.9883 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.004124, allocations: 10.19 kB / 0.8841 GB, free: 0.9805 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.004128, allocations: 0 / 0.8841 GB, free: 0.9805 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.004139, allocations: 8.25 kB / 0.8841 GB, free: 0.9727 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.663e-05/0.004186, allocations: 23.92 kB / 0.8841 GB, free: 0.9492 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.785e-06/0.004188, allocations: 0 / 0.8841 GB, free: 0.9492 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.393e-05/0.004212, allocations: 11.89 kB / 0.8841 GB, free: 0.9375 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.649e-06/0.004217, allocations: 4 kB / 0.8842 GB, free: 0.9336 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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 7.969e-05/0.004297, allocations: 279.7 kB / 0.8844 GB, free: 0.6484 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000189/0.004486, allocations: 156.8 kB / 0.8846 GB, free: 500 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.601e-05/0.004532, allocations: 160.9 kB / 0.8847 GB, free: 332 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.174e-05/0.004583, allocations: 264.1 kB / 0.885 GB, free: 60 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.536e-05/0.004649, allocations: 276 kB / 0.8852 GB, free: 15.78 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.013e-05/0.004699, allocations: 268.1 kB / 0.8855 GB, free: 15.51 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001596/0.004858, allocations: 0.4926 MB / 0.886 GB, free: 14.98 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.017e-05/0.004889, allocations: 148.9 kB / 0.8861 GB, free: 14.83 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.367e-05/0.004922, allocations: 152.9 kB / 0.8863 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.159e-05/0.004974, allocations: 276 kB / 0.8865 GB, free: 14.4 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.297e-05/0.005027, allocations: 268.1 kB / 0.8868 GB, free: 14.13 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.512e-05/0.005082, allocations: 268 kB / 0.887 GB, free: 13.86 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.092e-05/0.005133, allocations: 268.1 kB / 0.8873 GB, free: 13.59 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001121/0.005245, allocations: 451.9 kB / 0.8877 GB, free: 13.12 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.65e-05/0.005292, allocations: 160.8 kB / 0.8879 GB, free: 12.96 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.96e-05/0.005351, allocations: 272.3 kB / 0.8881 GB, free: 12.68 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.239e-05/0.005403, allocations: 148.9 kB / 0.8883 GB, free: 12.53 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.175e-05/0.005465, allocations: 276 kB / 0.8885 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.664e-05/0.005502, allocations: 144.9 kB / 0.8887 GB, free: 12.11 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.211e-05/0.005554, allocations: 157.4 kB / 0.8888 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.005554, allocations: 0 / 0.8888 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001579/0.005712, allocations: 15.89 kB / 0.8888 GB, free: 11.94 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 (0): * Single equations (assignments): 0 * 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 9.952e-05/0.005811, allocations: 210.4 kB / 0.889 GB, free: 11.72 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 6.79e-05/0.005879, allocations: 32.05 kB / 0.8891 GB, free: 11.68 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.005881, allocations: 4.062 kB / 0.8891 GB, free: 11.68 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 9.82e-07/0.005882, allocations: 3.938 kB / 0.8891 GB, free: 11.68 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002839/0.006166, allocations: 0.7038 MB / 0.8898 GB, free: 10.97 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002304/0.006396, allocations: 297.9 kB / 0.8901 GB, free: 10.64 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.254e-05/0.006429, allocations: 63.34 kB / 0.8901 GB, free: 10.56 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.995e-05/0.006459, allocations: 4.5 kB / 0.8901 GB, free: 10.55 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.11e-05/0.00649, allocations: 74.2 kB / 0.8902 GB, free: 10.48 MB / 0.8542 GB Notification: Performance of SimCode: time 6.61e-07/0.00649, allocations: 0 / 0.8902 GB, free: 10.48 MB / 0.8542 GB Notification: Performance of Templates: time 0.001758/0.008249, allocations: 356 kB / 0.8905 GB, free: 10.14 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_degC.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.409323506988585]