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.0008073/0.0008073, allocations: 76.55 kB / 19.93 MB, free: 4.617 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.0008167/0.0008167, allocations: 177.9 kB / 23.22 MB, free: 1.332 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.891/0.891, allocations: 177.1 MB / 203.5 MB, free: 5.73 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.803/1.803, allocations: 389 MB / 0.6338 GB, free: 12.67 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.453e-06/1.453e-06, allocations: 0 / 1.001 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.386e-05/2.531e-05, allocations: 2.281 kB / 1.001 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.001421/0.001446, allocations: 0.7853 MB / 1.002 GB, free: 12.2 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0001029/0.001549, allocations: 43.78 kB / 1.002 GB, free: 12.15 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.604e-05/0.001595, allocations: 0 / 1.002 GB, free: 12.15 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.592e-05/0.001631, allocations: 15.8 kB / 1.002 GB, free: 12.14 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.357e-05/0.001705, allocations: 7.938 kB / 1.002 GB, free: 12.13 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 3.719e-05/0.001742, allocations: 15.98 kB / 1.002 GB, free: 12.11 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 9.672e-05/0.001838, allocations: 59.84 kB / 1.002 GB, free: 12.05 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.001964, allocations: 39.89 kB / 1.002 GB, free: 12.02 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 8.143e-05/0.002045, allocations: 35.86 kB / 1.002 GB, free: 11.98 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.307e-05/0.002088, allocations: 27.89 kB / 1.002 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.359e-05/0.002112, allocations: 4 kB / 1.002 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 7.133e-06/0.002119, allocations: 8 kB / 1.002 GB, free: 11.94 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.707e-05/0.002136, allocations: 7.938 kB / 1.002 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.75e-05/0.002164, allocations: 23.92 kB / 1.002 GB, free: 11.91 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001054/0.002269, allocations: 75.69 kB / 1.002 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.002272, allocations: 0 / 1.002 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.152e-06/0.002273, allocations: 0 / 1.002 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.002277, allocations: 0 / 1.002 GB, free: 11.84 MB / 0.9636 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.0003897/0.002667, allocations: 302 kB / 1.002 GB, free: 11.51 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.002708, allocations: 12.75 kB / 1.002 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.436e-05/0.002742, allocations: 8.891 kB / 1.002 GB, free: 11.49 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001782/0.00292, allocations: 141.6 kB / 1.002 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/0.002936, allocations: 16.23 kB / 1.002 GB, free: 11.31 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.343e-05/0.002949, allocations: 8.375 kB / 1.002 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001347/0.003084, allocations: 91.86 kB / 1.003 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.003094, allocations: 192 / 1.003 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.003107, allocations: 8.375 kB / 1.003 GB, free: 11.19 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.003114, allocations: 8.359 kB / 1.003 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.473e-05/0.003179, allocations: 39.86 kB / 1.003 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004085/0.003588, allocations: 356.5 kB / 1.003 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 5.18e-05/0.003639, allocations: 37.25 kB / 1.003 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3e-05/0.003669, allocations: 17.78 kB / 1.003 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 7.184e-06/0.003677, allocations: 0 / 1.003 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.326e-05/0.0037, allocations: 34.56 kB / 1.003 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.003701, allocations: 0 / 1.003 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.000152/0.003853, allocations: 57.58 kB / 1.003 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.78e-05/0.00389, allocations: 77.36 kB / 1.003 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.92e-05/0.00398, allocations: 140.3 kB / 1.003 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.088e-05/0.003991, allocations: 29.64 kB / 1.003 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 6.007e-05/0.004051, allocations: 111.9 kB / 1.003 GB, free: 10.19 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 7.634e-06/0.004058, allocations: 7.953 kB / 1.003 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.64e-05/0.004085, allocations: 17.72 kB / 1.003 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.354e-05/0.004168, allocations: 314.8 kB / 1.004 GB, free: 9.844 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.62e-05/0.004184, allocations: 8 kB / 1.004 GB, free: 9.836 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.852e-05/0.004203, allocations: 17.66 kB / 1.004 GB, free: 9.812 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.714e-05/0.00424, allocations: 29.72 kB / 1.004 GB, free: 9.777 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.004243, allocations: 4 kB / 1.004 GB, free: 9.773 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.679e-05/0.004309, allocations: 57.58 kB / 1.004 GB, free: 9.711 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.004323, allocations: 4 kB / 1.004 GB, free: 9.707 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.004328, allocations: 0 / 1.004 GB, free: 9.707 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.004342, allocations: 0 / 1.004 GB, free: 9.707 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.712e-05/0.004399, allocations: 8 kB / 1.004 GB, free: 9.699 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.004405, allocations: 3.938 kB / 1.004 GB, free: 9.695 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.749e-05/0.004423, allocations: 7.938 kB / 1.004 GB, free: 9.688 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.004429, allocations: 7.984 kB / 1.004 GB, free: 9.68 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 6.092e-05/0.00449, allocations: 113.9 kB / 1.004 GB, free: 9.559 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.021e-05/0.00451, allocations: 7.953 kB / 1.004 GB, free: 9.551 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.045e-05/0.004531, allocations: 7.469 kB / 1.004 GB, free: 9.539 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.004533, allocations: 3.938 kB / 1.004 GB, free: 9.535 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.004537, allocations: 0 / 1.004 GB, free: 9.535 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.00454, allocations: 3.938 kB / 1.004 GB, free: 9.531 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002524/0.004793, allocations: 414.5 kB / 1.004 GB, free: 9.082 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.004794, allocations: 0 / 1.004 GB, free: 9.082 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.011e-05/0.004804, allocations: 4 kB / 1.004 GB, free: 9.078 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.004807, allocations: 0 / 1.004 GB, free: 9.078 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.004814, allocations: 12 kB / 1.004 GB, free: 9.066 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.004817, allocations: 3.938 kB / 1.004 GB, free: 9.062 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.004818, allocations: 0 / 1.004 GB, free: 9.062 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.431e-05/0.004872, allocations: 74.72 kB / 1.005 GB, free: 8.969 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.578e-05/0.004888, allocations: 8 kB / 1.005 GB, free: 8.961 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.251e-05/0.004901, allocations: 7.922 kB / 1.005 GB, free: 8.953 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.518e-06/0.00491, allocations: 4 kB / 1.005 GB, free: 8.949 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.216e-05/0.004922, allocations: 4 kB / 1.005 GB, free: 8.945 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-06/0.004924, allocations: 0 / 1.005 GB, free: 8.945 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.027e-05/0.004964, allocations: 95.27 kB / 1.005 GB, free: 8.852 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.004964, allocations: 4.031 kB / 1.005 GB, free: 8.848 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001254/0.005089, allocations: 15.95 kB / 1.005 GB, free: 8.832 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 8.601e-05/0.005175, allocations: 99.19 kB / 1.005 GB, free: 8.727 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 8.228e-05/0.005258, allocations: 15.98 kB / 1.005 GB, free: 8.711 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.005259, allocations: 0 / 1.005 GB, free: 8.711 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 7.675e-06/0.005267, allocations: 11.88 kB / 1.005 GB, free: 8.699 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001179/0.005385, allocations: 9.562 kB / 1.005 GB, free: 8.691 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000285/0.00567, allocations: 188.5 kB / 1.005 GB, free: 8.465 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.261e-05/0.005722, allocations: 79.31 kB / 1.005 GB, free: 8.367 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.544e-05/0.005748, allocations: 12.5 kB / 1.005 GB, free: 8.355 MB / 0.9636 GB Notification: Performance of SimCode: time 4.61e-07/0.005748, allocations: 0 / 1.005 GB, free: 8.355 MB / 0.9636 GB Notification: Performance of Templates: time 0.00162/0.007369, allocations: 0.7937 MB / 1.006 GB, free: 7.559 MB / 0.9636 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe 2>&1) [Timeout 800] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.40108210220933]