Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.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.001017/0.001017, allocations: 73.09 kB / 20.65 MB, free: 3.848 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.001006/0.001006, 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.9906/0.9906, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.081/2.081, allocations: 429.5 MB / 0.6743 GB, free: 3.91 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.To_cfm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 0.8794 GB, free: 6.051 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.219e-05/1.386e-05, allocations: 6.312 kB / 0.8794 GB, free: 6.043 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.0013/0.001314, allocations: 0.8219 MB / 0.8802 GB, free: 5.25 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001184/0.001432, allocations: 40.91 kB / 0.8803 GB, free: 5.211 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.877e-05/0.001481, allocations: 0 / 0.8803 GB, free: 5.211 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.048e-05/0.001521, allocations: 7.875 kB / 0.8803 GB, free: 5.203 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.559e-05/0.001617, allocations: 16.81 kB / 0.8803 GB, free: 5.188 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 4.618e-05/0.001663, allocations: 23.97 kB / 0.8803 GB, free: 5.164 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.684e-05/0.00174, allocations: 59.83 kB / 0.8804 GB, free: 5.105 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.636e-05/0.001836, allocations: 28.61 kB / 0.8804 GB, free: 5.078 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 8.633e-05/0.001923, allocations: 48.58 kB / 0.8804 GB, free: 5.031 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.431e-05/0.001957, allocations: 11.92 kB / 0.8804 GB, free: 5.02 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.467e-05/0.001972, allocations: 5.219 kB / 0.8804 GB, free: 5.016 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 6.211e-06/0.001978, allocations: 4 kB / 0.8804 GB, free: 5.012 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.785e-05/0.001996, allocations: 15.92 kB / 0.8805 GB, free: 4.996 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.255e-05/0.002018, allocations: 24.73 kB / 0.8805 GB, free: 4.973 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 7.501e-05/0.002093, allocations: 39.77 kB / 0.8805 GB, free: 4.934 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.734e-06/0.002095, allocations: 0.5312 kB / 0.8805 GB, free: 4.934 MB / 0.8386 GB Notification: Performance of FrontEnd: time 4.4e-07/0.002095, allocations: 0 / 0.8805 GB, free: 4.934 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.056e-06/0.002099, allocations: 1.094 kB / 0.8805 GB, free: 4.934 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0002867/0.002385, allocations: 412.2 kB / 0.8809 GB, free: 4.492 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.176e-05/0.002417, allocations: 12.69 kB / 0.8809 GB, free: 4.48 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.061e-05/0.002448, allocations: 16.89 kB / 0.8809 GB, free: 4.465 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001239/0.002572, allocations: 137.2 kB / 0.8811 GB, free: 4.305 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.969e-06/0.002582, allocations: 8.375 kB / 0.8811 GB, free: 4.297 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.736e-06/0.00259, allocations: 9.281 kB / 0.8811 GB, free: 4.289 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.108e-05/0.002671, allocations: 84.09 kB / 0.8812 GB, free: 4.195 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-06/0.002678, allocations: 7.812 kB / 0.8812 GB, free: 4.191 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.723e-06/0.002684, allocations: 384 / 0.8812 GB, free: 4.191 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.002688, allocations: 384 / 0.8812 GB, free: 4.191 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.005e-05/0.002718, allocations: 31.86 kB / 0.8812 GB, free: 4.16 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003661/0.003084, allocations: 0.7185 MB / 0.8819 GB, free: 3.395 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.29e-05/0.003167, allocations: 269.4 kB / 0.8822 GB, free: 3.117 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.4e-05/0.003201, allocations: 126.9 kB / 0.8823 GB, free: 2.988 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.837e-05/0.00323, allocations: 119.2 kB / 0.8824 GB, free: 2.871 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.388e-05/0.003274, allocations: 164.6 kB / 0.8826 GB, free: 2.699 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 7.61e-07/0.003274, allocations: 0.625 kB / 0.8826 GB, free: 2.699 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 4.665e-05/0.003321, allocations: 33.66 kB / 0.8826 GB, free: 2.66 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.968e-05/0.003371, allocations: 171.2 kB / 0.8828 GB, free: 2.48 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.838e-05/0.003469, allocations: 204.8 kB / 0.883 GB, free: 2.266 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.594e-06/0.003477, allocations: 25.7 kB / 0.883 GB, free: 2.234 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.389e-05/0.00354, allocations: 175.5 kB / 0.8831 GB, free: 2.059 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.435e-06/0.003543, allocations: 4 kB / 0.8832 GB, free: 2.055 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.736e-05/0.00357, allocations: 35.31 kB / 0.8832 GB, free: 2.012 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.003675, allocations: 497.6 kB / 0.8837 GB, free: 1.516 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.873e-06/0.003681, allocations: 7.984 kB / 0.8837 GB, free: 1.508 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.52e-05/0.003717, allocations: 77.42 kB / 0.8837 GB, free: 1.398 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.693e-05/0.003774, allocations: 89.42 kB / 0.8838 GB, free: 1.277 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.003775, allocations: 0 / 0.8838 GB, free: 1.277 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.356e-05/0.003869, allocations: 85.58 kB / 0.8839 GB, free: 1.188 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 9.578e-06/0.003878, allocations: 4 kB / 0.8839 GB, free: 1.184 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.003884, allocations: 4 kB / 0.8839 GB, free: 1.18 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.294e-06/0.003891, allocations: 0 / 0.8839 GB, free: 1.18 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.293e-05/0.003934, allocations: 19.92 kB / 0.8839 GB, free: 1.16 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.587e-06/0.003937, allocations: 4 kB / 0.8839 GB, free: 1.156 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.273e-05/0.00396, allocations: 15.89 kB / 0.884 GB, free: 1.141 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.937e-06/0.003964, allocations: 4 kB / 0.884 GB, free: 1.137 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 8.067e-05/0.004045, allocations: 279.7 kB / 0.8842 GB, free: 0.8516 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.515e-05/0.00409, allocations: 160.9 kB / 0.8844 GB, free: 0.6875 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.258e-05/0.004132, allocations: 156.7 kB / 0.8845 GB, free: 0.5273 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-05/0.004185, allocations: 268 kB / 0.8848 GB, free: 264 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.225e-05/0.004247, allocations: 276.1 kB / 0.885 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.421e-05/0.004302, allocations: 272 kB / 0.8853 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001585/0.00446, allocations: 0.4886 MB / 0.8858 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.94e-05/0.004489, allocations: 148.9 kB / 0.8859 GB, free: 15.03 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.935e-05/0.004519, allocations: 148.8 kB / 0.8861 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.801e-05/0.004567, allocations: 264.1 kB / 0.8863 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.079e-05/0.004618, allocations: 268.1 kB / 0.8866 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.875e-05/0.004666, allocations: 272 kB / 0.8868 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.825e-05/0.004715, allocations: 268.1 kB / 0.8871 GB, free: 13.8 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001441/0.004859, allocations: 459.8 kB / 0.8875 GB, free: 13.32 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.072e-05/0.004899, allocations: 156.8 kB / 0.8877 GB, free: 13.16 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.32e-05/0.004953, allocations: 268 kB / 0.8879 GB, free: 12.89 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.999e-05/0.005003, allocations: 148.9 kB / 0.8881 GB, free: 12.74 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.416e-05/0.005057, allocations: 268.3 kB / 0.8883 GB, free: 12.47 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.879e-05/0.005085, allocations: 144.9 kB / 0.8885 GB, free: 12.32 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.287e-05/0.005128, allocations: 149.4 kB / 0.8886 GB, free: 12.18 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.005128, allocations: 4 kB / 0.8886 GB, free: 12.18 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001432/0.005272, allocations: 4 kB / 0.8886 GB, free: 12.17 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 7.996e-05/0.005352, allocations: 218.4 kB / 0.8888 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 6.034e-05/0.005412, allocations: 39.52 kB / 0.8889 GB, free: 11.9 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.005413, allocations: 0 / 0.8889 GB, free: 11.9 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 8.91e-07/0.005414, allocations: 0 / 0.8889 GB, free: 11.9 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000264/0.005678, allocations: 0.7062 MB / 0.8896 GB, free: 11.19 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001898/0.005868, allocations: 269.7 kB / 0.8898 GB, free: 10.9 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.759e-05/0.005895, allocations: 60.05 kB / 0.8899 GB, free: 10.82 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.831e-05/0.005924, allocations: 13.22 kB / 0.8899 GB, free: 10.8 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.903e-05/0.005953, allocations: 70.2 kB / 0.8899 GB, free: 10.73 MB / 0.8542 GB Notification: Performance of SimCode: time 4.21e-07/0.005953, allocations: 0 / 0.8899 GB, free: 10.73 MB / 0.8542 GB Notification: Performance of Templates: time 0.0015/0.007453, allocations: 339.9 kB / 0.8903 GB, free: 10.4 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_cfm.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.181082411203533]