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.001907/0.001907, allocations: 88.39 kB / 20.23 MB, free: 4.172 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.002544/0.002544, allocations: 161.3 kB / 23.55 MB, free: 0.8594 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 1.529/1.529, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.013/3.013, allocations: 377.8 MB / 0.6232 GB, free: 8.535 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.903e-06/1.903e-06, allocations: 0 / 0.8108 GB, free: 2.086 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.98e-05/3.17e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.082 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.002246/0.002278, allocations: 0.8043 MB / 0.8116 GB, free: 1.297 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001709/0.002449, allocations: 41.88 kB / 0.8116 GB, free: 1.258 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.246e-05/0.002511, allocations: 0 / 0.8116 GB, free: 1.258 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 5.766e-05/0.002569, allocations: 7.875 kB / 0.8116 GB, free: 1.25 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 9.811e-05/0.002667, allocations: 15.88 kB / 0.8117 GB, free: 1.234 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 6.531e-05/0.002732, allocations: 23.95 kB / 0.8117 GB, free: 1.211 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.000137/0.002869, allocations: 56.34 kB / 0.8117 GB, free: 1.156 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000136/0.003005, allocations: 32.92 kB / 0.8118 GB, free: 1.125 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 9.18e-05/0.003097, allocations: 39.89 kB / 0.8118 GB, free: 1.086 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 5.978e-05/0.003157, allocations: 20.89 kB / 0.8118 GB, free: 1.066 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.192e-05/0.003179, allocations: 8 kB / 0.8118 GB, free: 1.059 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 9.719e-06/0.003189, allocations: 4 kB / 0.8118 GB, free: 1.055 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.643e-05/0.003215, allocations: 21.31 kB / 0.8119 GB, free: 1.035 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 4.324e-05/0.003258, allocations: 15.94 kB / 0.8119 GB, free: 1.02 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001415/0.0034, allocations: 79.62 kB / 0.8119 GB, free: 0.9414 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.943e-06/0.003402, allocations: 0 / 0.8119 GB, free: 0.9414 MB / 0.7605 GB Notification: Performance of FrontEnd: time 8.22e-07/0.003403, allocations: 0.9062 kB / 0.8119 GB, free: 0.9414 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.003407, allocations: 0 / 0.8119 GB, free: 0.9414 MB / 0.7605 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.0005155/0.003923, allocations: 303.1 kB / 0.8122 GB, free: 0.6133 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.003962, allocations: 8.031 kB / 0.8122 GB, free: 0.6055 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.729e-05/0.00402, allocations: 20.84 kB / 0.8123 GB, free: 0.5859 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002382/0.004258, allocations: 130.2 kB / 0.8124 GB, free: 444 kB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.118e-05/0.004279, allocations: 9.031 kB / 0.8124 GB, free: 436 kB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.792e-05/0.004297, allocations: 9.562 kB / 0.8124 GB, free: 428 kB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001945/0.004491, allocations: 95.86 kB / 0.8125 GB, free: 320 kB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.004503, allocations: 192 / 0.8125 GB, free: 320 kB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.004515, allocations: 384 / 0.8125 GB, free: 320 kB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.004523, allocations: 6.812 kB / 0.8125 GB, free: 316 kB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001008/0.004624, allocations: 43.86 kB / 0.8125 GB, free: 272 kB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006466/0.00527, allocations: 352.5 kB / 0.8129 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.295e-05/0.005353, allocations: 41.19 kB / 0.8129 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.988e-05/0.005403, allocations: 26.33 kB / 0.8129 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 7.334e-06/0.005411, allocations: 1.531 kB / 0.813 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.518e-05/0.005446, allocations: 30.56 kB / 0.813 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.005447, allocations: 7.938 kB / 0.813 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0002029/0.00565, allocations: 50.94 kB / 0.813 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.619e-05/0.005726, allocations: 77.11 kB / 0.8131 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001616/0.005887, allocations: 133.8 kB / 0.8132 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.117e-05/0.005909, allocations: 26.23 kB / 0.8133 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.423e-05/0.006003, allocations: 107.9 kB / 0.8134 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.157e-05/0.006014, allocations: 8.484 kB / 0.8134 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.491e-05/0.006059, allocations: 22.58 kB / 0.8134 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.00018/0.006239, allocations: 314.8 kB / 0.8137 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.046e-05/0.00626, allocations: 4 kB / 0.8137 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.071e-05/0.0063, allocations: 26.45 kB / 0.8137 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.852e-05/0.006359, allocations: 23.62 kB / 0.8137 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.006363, allocations: 4 kB / 0.8137 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001101/0.006473, allocations: 53.64 kB / 0.8138 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.006495, allocations: 5.156 kB / 0.8138 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.0065, allocations: 0 / 0.8138 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.213e-05/0.006522, allocations: 4 kB / 0.8138 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.709e-05/0.006589, allocations: 8.766 kB / 0.8138 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.762e-05/0.006607, allocations: 3.938 kB / 0.8138 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.986e-05/0.006637, allocations: 4.547 kB / 0.8138 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.548e-06/0.006641, allocations: 4 kB / 0.8138 GB, free: 14.82 MB / 0.7761 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 9.803e-05/0.006739, allocations: 114.6 kB / 0.8139 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.059e-05/0.00678, allocations: 5.281 kB / 0.8139 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.283e-05/0.006803, allocations: 11.45 kB / 0.814 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.006805, allocations: 0 / 0.814 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/0.006815, allocations: 8.859 kB / 0.814 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.207e-06/0.006819, allocations: 3.938 kB / 0.814 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004634/0.007283, allocations: 416 kB / 0.8144 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.848e-06/0.007287, allocations: 4 kB / 0.8144 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.576e-05/0.007312, allocations: 7.922 kB / 0.8144 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-06/0.007315, allocations: 4 kB / 0.8144 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.007326, allocations: 4.969 kB / 0.8144 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.007327, allocations: 0 / 0.8144 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.007328, allocations: 0 / 0.8144 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000111/0.007439, allocations: 73.31 kB / 0.8145 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.642e-05/0.007466, allocations: 7.938 kB / 0.8145 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.765e-05/0.007483, allocations: 11.88 kB / 0.8145 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.755e-05/0.007511, allocations: 0 / 0.8145 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.528e-05/0.007526, allocations: 0 / 0.8145 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-06/0.007528, allocations: 0 / 0.8145 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0002342/0.007762, allocations: 103.3 kB / 0.8146 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.007762, allocations: 0 / 0.8146 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002033/0.007966, allocations: 12.39 kB / 0.8146 GB, free: 13.98 MB / 0.7761 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.0001417/0.008107, allocations: 101.2 kB / 0.8147 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 9.435e-05/0.008202, allocations: 16 kB / 0.8147 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.008204, allocations: 0 / 0.8147 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.781e-05/0.008221, allocations: 13.34 kB / 0.8147 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000166/0.008387, allocations: 6.75 kB / 0.8147 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004077/0.008795, allocations: 167.4 kB / 0.8149 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.625e-05/0.008881, allocations: 80.09 kB / 0.8149 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.095e-05/0.008912, allocations: 4.844 kB / 0.815 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.646e-05/0.008949, allocations: 13.78 kB / 0.815 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of SimCode: time 5.01e-07/0.008949, allocations: 0 / 0.815 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of Templates: time 0.003049/0.012, allocations: 350.5 kB / 0.8153 GB, free: 13.2 MB / 0.7761 GB " [Timeout remaining time 300] 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 -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/jenkins/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.033642778987996]