Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_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.001352/0.001352, allocations: 77.55 kB / 19.76 MB, free: 2.027 MB / 14.72 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.001471/0.001471, allocations: 162.4 kB / 23.02 MB, free: 4.949 MB / 14.72 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.445/1.445, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.833/2.833, allocations: 377.9 MB / 0.6228 GB, free: 12.62 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_cfm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002249/0.002249, allocations: 63.89 kB / 0.982 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1/1.002, allocations: 176.1 MB / 1.154 GB, free: 33.34 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.001812/1.004, allocations: 0.793 MB / 1.155 GB, free: 32.85 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0001051/1.004, allocations: 36.5 kB / 1.155 GB, free: 32.82 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.94e-05/1.004, allocations: 3.938 kB / 1.155 GB, free: 32.82 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 3.896e-05/1.004, allocations: 3.938 kB / 1.155 GB, free: 32.81 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 8.69e-05/1.005, allocations: 18.03 kB / 1.155 GB, free: 32.8 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 3.918e-05/1.005, allocations: 14.02 kB / 1.155 GB, free: 32.79 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001024/1.005, allocations: 68.31 kB / 1.155 GB, free: 32.76 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000127/1.005, allocations: 33.48 kB / 1.155 GB, free: 32.74 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 5.4e-05/1.005, allocations: 26.77 kB / 1.155 GB, free: 32.73 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 5.466e-05/1.005, allocations: 27.75 kB / 1.155 GB, free: 32.71 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.617e-05/1.005, allocations: 5.156 kB / 1.155 GB, free: 32.71 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 9.648e-06/1.005, allocations: 7.875 kB / 1.155 GB, free: 32.71 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.999e-05/1.005, allocations: 17.84 kB / 1.155 GB, free: 32.7 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.826e-05/1.005, allocations: 25 kB / 1.155 GB, free: 32.68 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 9.982e-05/1.005, allocations: 84.66 kB / 1.155 GB, free: 32.64 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/1.005, allocations: 0 / 1.155 GB, free: 32.64 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.653e-06/1.005, allocations: 0 / 1.155 GB, free: 32.64 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.026e-05/1.005, allocations: 4 kB / 1.155 GB, free: 32.64 MB / 1.076 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.0003406/1.005, allocations: 303.2 kB / 1.155 GB, free: 32.34 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/1.005, allocations: 11.53 kB / 1.155 GB, free: 32.34 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.282e-05/1.005, allocations: 11.06 kB / 1.155 GB, free: 32.34 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001589/1.006, allocations: 133.5 kB / 1.155 GB, free: 32.2 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/1.006, allocations: 7.406 kB / 1.155 GB, free: 32.19 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.358e-05/1.006, allocations: 9.906 kB / 1.156 GB, free: 32.19 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001272/1.006, allocations: 96.86 kB / 1.156 GB, free: 32.12 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/1.006, allocations: 192 / 1.156 GB, free: 32.12 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/1.006, allocations: 3.938 kB / 1.156 GB, free: 32.11 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/1.006, allocations: 7.156 kB / 1.156 GB, free: 32.11 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.463e-05/1.006, allocations: 37.03 kB / 1.156 GB, free: 32.09 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003687/1.006, allocations: 355.2 kB / 1.156 GB, free: 31.77 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 4.132e-05/1.006, allocations: 35.94 kB / 1.156 GB, free: 31.72 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.765e-05/1.006, allocations: 19.59 kB / 1.156 GB, free: 31.7 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.121e-05/1.006, allocations: 0 / 1.156 GB, free: 31.7 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.333e-05/1.006, allocations: 37.5 kB / 1.156 GB, free: 31.66 MB / 1.076 GB Notification: Performance of pre-optimization done (n=2): time 1.302e-06/1.006, allocations: 3.984 kB / 1.156 GB, free: 31.65 MB / 1.076 GB Notification: Performance of matching and sorting (n=2): time 0.0001432/1.006, allocations: 60.92 kB / 1.156 GB, free: 31.6 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.618e-05/1.007, allocations: 84.05 kB / 1.156 GB, free: 31.5 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.412e-05/1.007, allocations: 126.2 kB / 1.156 GB, free: 31.39 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 5.741e-06/1.007, allocations: 25.7 kB / 1.156 GB, free: 31.36 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 4.094e-05/1.007, allocations: 117.5 kB / 1.156 GB, free: 31.25 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 9.167e-06/1.007, allocations: 11.89 kB / 1.156 GB, free: 31.24 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.501e-05/1.007, allocations: 14 kB / 1.156 GB, free: 31.23 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.429e-05/1.007, allocations: 321.2 kB / 1.157 GB, free: 30.91 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.415e-05/1.007, allocations: 2.844 kB / 1.157 GB, free: 30.91 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.752e-05/1.007, allocations: 23.41 kB / 1.157 GB, free: 30.89 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.171e-05/1.007, allocations: 26.12 kB / 1.157 GB, free: 30.86 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/1.007, allocations: 3.938 kB / 1.157 GB, free: 30.86 MB / 1.076 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.532e-05/1.007, allocations: 62.34 kB / 1.157 GB, free: 30.81 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/1.007, allocations: 7.156 kB / 1.157 GB, free: 30.81 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.359e-06/1.007, allocations: 0 / 1.157 GB, free: 30.81 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/1.007, allocations: 3.938 kB / 1.157 GB, free: 30.81 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.541e-05/1.007, allocations: 8.781 kB / 1.157 GB, free: 30.81 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/1.007, allocations: 0 / 1.157 GB, free: 30.81 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.292e-05/1.007, allocations: 6.938 kB / 1.157 GB, free: 30.8 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.619e-06/1.007, allocations: 0 / 1.157 GB, free: 30.8 MB / 1.076 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 4.54e-05/1.007, allocations: 116.6 kB / 1.157 GB, free: 30.69 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.648e-05/1.007, allocations: 6.734 kB / 1.157 GB, free: 30.68 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.114e-05/1.007, allocations: 14.19 kB / 1.157 GB, free: 30.67 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/1.007, allocations: 3.141 kB / 1.157 GB, free: 30.67 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/1.007, allocations: 0 / 1.157 GB, free: 30.67 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/1.007, allocations: 0 / 1.157 GB, free: 30.67 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002262/1.007, allocations: 409.3 kB / 1.157 GB, free: 30.26 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/1.007, allocations: 8 kB / 1.157 GB, free: 30.25 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.686e-05/1.007, allocations: 2.656 kB / 1.157 GB, free: 30.25 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/1.007, allocations: 2.469 kB / 1.157 GB, free: 30.25 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.481e-06/1.007, allocations: 0 / 1.157 GB, free: 30.25 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/1.007, allocations: 6.422 kB / 1.157 GB, free: 30.25 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/1.007, allocations: 2.531 kB / 1.157 GB, free: 30.25 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.262e-05/1.007, allocations: 72.66 kB / 1.158 GB, free: 30.17 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.728e-05/1.007, allocations: 10.77 kB / 1.158 GB, free: 30.16 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.08e-05/1.007, allocations: 4 kB / 1.158 GB, free: 30.16 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.686e-05/1.007, allocations: 2.969 kB / 1.158 GB, free: 30.16 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.438e-05/1.007, allocations: 7.969 kB / 1.158 GB, free: 30.15 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-06/1.007, allocations: 2.969 kB / 1.158 GB, free: 30.15 MB / 1.076 GB Notification: Performance of sorting global known variables: time 3.834e-05/1.007, allocations: 97.33 kB / 1.158 GB, free: 30.07 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/1.007, allocations: 0 / 1.158 GB, free: 30.07 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0001824/1.008, allocations: 16.69 kB / 1.158 GB, free: 30.06 MB / 1.076 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 7.971e-05/1.008, allocations: 97.66 kB / 1.158 GB, free: 29.97 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 7.402e-05/1.008, allocations: 16.2 kB / 1.158 GB, free: 29.97 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/1.008, allocations: 0 / 1.158 GB, free: 29.97 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.068e-05/1.008, allocations: 13.75 kB / 1.158 GB, free: 29.96 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000138/1.008, allocations: 10.81 kB / 1.158 GB, free: 29.95 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002685/1.008, allocations: 154.7 kB / 1.158 GB, free: 29.81 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.397e-05/1.008, allocations: 80.09 kB / 1.158 GB, free: 29.73 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.737e-05/1.008, allocations: 6.375 kB / 1.158 GB, free: 29.73 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.038e-05/1.008, allocations: 11.69 kB / 1.158 GB, free: 29.72 MB / 1.076 GB Notification: Performance of SimCode: time 3.01e-07/1.008, allocations: 4 kB / 1.158 GB, free: 29.72 MB / 1.076 GB Notification: Performance of Templates: time 0.002436/1.011, allocations: 325.5 kB / 1.158 GB, free: 29.64 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_cfm.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_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: 8.944995267083868]