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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001754/0.001754, allocations: 113.8 kB / 17.6 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001834/0.001834, allocations: 189.9 kB / 20.78 MB, free: 1.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.531/1.531, allocations: 225.6 MB / 249.4 MB, free: 3.152 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.986/2.986, allocations: 496.2 MB / 0.7819 GB, free: 12.4 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002001/0.002001, allocations: 72.11 kB / 1.136 GB, free: 12.45 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.214/1.216, allocations: 173.6 MB / 1.305 GB, free: 33.43 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.002117/1.218, allocations: 0.8415 MB / 1.306 GB, free: 32.88 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001149/1.219, allocations: 40.98 kB / 1.306 GB, free: 32.85 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.62e-05/1.219, allocations: 0 / 1.306 GB, free: 32.85 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.29e-05/1.219, allocations: 11.16 kB / 1.306 GB, free: 32.84 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.879e-05/1.219, allocations: 10.53 kB / 1.306 GB, free: 32.83 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 5.464e-05/1.219, allocations: 13.98 kB / 1.306 GB, free: 32.82 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001228/1.219, allocations: 69.81 kB / 1.306 GB, free: 32.79 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001583/1.219, allocations: 33.94 kB / 1.306 GB, free: 32.77 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.855e-05/1.219, allocations: 23.72 kB / 1.306 GB, free: 32.76 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.161e-05/1.219, allocations: 31.41 kB / 1.306 GB, free: 32.74 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.27e-05/1.219, allocations: 5.281 kB / 1.306 GB, free: 32.74 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.047e-05/1.219, allocations: 5.938 kB / 1.306 GB, free: 32.74 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.532e-05/1.219, allocations: 14.11 kB / 1.307 GB, free: 32.73 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.648e-05/1.219, allocations: 29.47 kB / 1.307 GB, free: 32.71 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001277/1.219, allocations: 83.09 kB / 1.307 GB, free: 32.67 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/1.219, allocations: 0 / 1.307 GB, free: 32.67 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.553e-06/1.219, allocations: 0 / 1.307 GB, free: 32.67 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.464e-06/1.219, allocations: 0 / 1.307 GB, free: 32.67 MB / 1.061 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.0004777/1.22, allocations: 387 kB / 1.307 GB, free: 32.28 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/1.22, allocations: 8.281 kB / 1.307 GB, free: 32.28 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.033e-05/1.22, allocations: 18.56 kB / 1.307 GB, free: 32.27 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002121/1.22, allocations: 199.3 kB / 1.307 GB, free: 32.05 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/1.22, allocations: 9.844 kB / 1.307 GB, free: 32.04 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.878e-05/1.22, allocations: 3.188 kB / 1.307 GB, free: 32.04 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000168/1.22, allocations: 95.45 kB / 1.307 GB, free: 31.98 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/1.22, allocations: 4.188 kB / 1.307 GB, free: 31.97 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/1.22, allocations: 7.938 kB / 1.307 GB, free: 31.96 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/1.22, allocations: 2.812 kB / 1.307 GB, free: 31.96 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.446e-05/1.221, allocations: 34.22 kB / 1.307 GB, free: 31.95 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004555/1.221, allocations: 443.8 kB / 1.308 GB, free: 31.54 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.64e-05/1.221, allocations: 40.34 kB / 1.308 GB, free: 31.49 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.336e-05/1.221, allocations: 18.94 kB / 1.308 GB, free: 31.47 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 9.368e-06/1.221, allocations: 0 / 1.308 GB, free: 31.47 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.527e-05/1.221, allocations: 32.84 kB / 1.308 GB, free: 31.43 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/1.221, allocations: 3.938 kB / 1.308 GB, free: 31.43 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0001773/1.221, allocations: 62.31 kB / 1.308 GB, free: 31.38 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.373e-05/1.221, allocations: 77.11 kB / 1.308 GB, free: 31.28 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000124/1.221, allocations: 166.2 kB / 1.308 GB, free: 31.16 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.805e-06/1.221, allocations: 25.7 kB / 1.308 GB, free: 31.13 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.932e-05/1.222, allocations: 105.8 kB / 1.308 GB, free: 31.03 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 7.795e-06/1.222, allocations: 7.953 kB / 1.308 GB, free: 31.02 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.962e-05/1.222, allocations: 16.48 kB / 1.308 GB, free: 31 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.614e-05/1.222, allocations: 321.1 kB / 1.309 GB, free: 30.69 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.649e-05/1.222, allocations: 11.12 kB / 1.309 GB, free: 30.68 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.8e-05/1.222, allocations: 19.22 kB / 1.309 GB, free: 30.66 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.696e-05/1.222, allocations: 28.84 kB / 1.309 GB, free: 30.64 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/1.222, allocations: 2.812 kB / 1.309 GB, free: 30.64 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.436e-05/1.222, allocations: 54.94 kB / 1.309 GB, free: 30.59 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/1.222, allocations: 5.812 kB / 1.309 GB, free: 30.59 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/1.222, allocations: 8 kB / 1.309 GB, free: 30.59 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/1.222, allocations: 3.328 kB / 1.309 GB, free: 30.59 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.328e-05/1.222, allocations: 5.875 kB / 1.309 GB, free: 30.59 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/1.222, allocations: 0 / 1.309 GB, free: 30.59 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.719e-05/1.222, allocations: 10.81 kB / 1.309 GB, free: 30.58 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.1e-06/1.222, allocations: 4 kB / 1.309 GB, free: 30.57 MB / 1.061 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 5.043e-05/1.222, allocations: 111.6 kB / 1.309 GB, free: 30.46 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.743e-05/1.222, allocations: 6.734 kB / 1.309 GB, free: 30.46 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.449e-05/1.222, allocations: 18.09 kB / 1.309 GB, free: 30.44 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/1.222, allocations: 4.094 kB / 1.309 GB, free: 30.44 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.808e-06/1.222, allocations: 2.844 kB / 1.309 GB, free: 30.44 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/1.222, allocations: 3.984 kB / 1.309 GB, free: 30.43 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002788/1.222, allocations: 474.9 kB / 1.309 GB, free: 29.95 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/1.222, allocations: 0 / 1.309 GB, free: 29.95 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.736e-05/1.222, allocations: 6.719 kB / 1.309 GB, free: 29.94 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/1.222, allocations: 3.094 kB / 1.309 GB, free: 29.94 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.183e-06/1.222, allocations: 4.062 kB / 1.309 GB, free: 29.94 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/1.222, allocations: 0 / 1.309 GB, free: 29.94 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/1.222, allocations: 4 kB / 1.309 GB, free: 29.93 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.372e-05/1.222, allocations: 79.61 kB / 1.309 GB, free: 29.85 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.684e-05/1.222, allocations: 91.48 kB / 1.31 GB, free: 29.75 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.337e-05/1.222, allocations: 0 / 1.31 GB, free: 29.75 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.903e-05/1.222, allocations: 4.031 kB / 1.31 GB, free: 29.75 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.024e-05/1.222, allocations: 3.031 kB / 1.31 GB, free: 29.75 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-06/1.222, allocations: 0 / 1.31 GB, free: 29.75 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.205e-05/1.223, allocations: 120.2 kB / 1.31 GB, free: 29.66 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.223, allocations: 0 / 1.31 GB, free: 29.66 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001939/1.223, allocations: 12.88 kB / 1.31 GB, free: 29.66 MB / 1.061 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 0.0001146/1.223, allocations: 107.9 kB / 1.31 GB, free: 29.56 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 9.369e-05/1.223, allocations: 13.03 kB / 1.31 GB, free: 29.56 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/1.223, allocations: 0 / 1.31 GB, free: 29.56 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.119e-05/1.223, allocations: 10.84 kB / 1.31 GB, free: 29.55 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000157/1.223, allocations: 15.22 kB / 1.31 GB, free: 29.54 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002989/1.223, allocations: 164.4 kB / 1.31 GB, free: 29.39 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001288/1.224, allocations: 0.6975 MB / 1.311 GB, free: 28.7 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.019e-05/1.224, allocations: 7.109 kB / 1.311 GB, free: 28.7 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.401e-05/1.224, allocations: 10.44 kB / 1.311 GB, free: 28.69 MB / 1.061 GB Notification: Performance of SimCode: time 2.9e-07/1.224, allocations: 0 / 1.311 GB, free: 28.69 MB / 1.061 GB Notification: Performance of Templates: time 0.003002/1.227, allocations: 469 kB / 1.311 GB, free: 28.61 MB / 1.061 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe 2>&1) [Timeout 400] 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: 10.011420703493059]