Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002531/0.002531, allocations: 83.69 kB / 20.23 MB, free: 4.184 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.003005/0.003005, allocations: 161.3 kB / 23.55 MB, free: 0.8711 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.767/1.767, allocations: 177.1 MB / 203.9 MB, free: 5.617 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.098/3.098, allocations: 377.8 MB / 0.6232 GB, free: 8.547 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.To_cfm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.8108 GB, free: 2.117 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.84e-05/3.005e-05, allocations: 6.938 kB / 0.8108 GB, free: 2.109 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.003056/0.003086, allocations: 0.8101 MB / 0.8116 GB, free: 1.324 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001558/0.003241, allocations: 43.72 kB / 0.8116 GB, free: 1.281 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.864e-05/0.0033, allocations: 0 / 0.8116 GB, free: 1.281 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.891e-05/0.003339, allocations: 8.531 kB / 0.8117 GB, free: 1.273 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0001001/0.003439, allocations: 11.92 kB / 0.8117 GB, free: 1.262 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 7.752e-05/0.003517, allocations: 20.61 kB / 0.8117 GB, free: 1.242 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001471/0.003664, allocations: 60.83 kB / 0.8117 GB, free: 1.184 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001346/0.003798, allocations: 31.86 kB / 0.8118 GB, free: 1.152 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001193/0.003918, allocations: 43.89 kB / 0.8118 GB, free: 1.109 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 5.483e-05/0.003972, allocations: 16.66 kB / 0.8118 GB, free: 1.094 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.564e-05/0.003998, allocations: 8 kB / 0.8118 GB, free: 1.086 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 1.419e-05/0.004012, allocations: 6.406 kB / 0.8118 GB, free: 1.082 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 3.183e-05/0.004044, allocations: 15.94 kB / 0.8119 GB, free: 1.066 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 4.564e-05/0.00409, allocations: 23.91 kB / 0.8119 GB, free: 1.043 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001652/0.004255, allocations: 67.7 kB / 0.8119 GB, free: 0.9766 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.004258, allocations: 0 / 0.8119 GB, free: 0.9766 MB / 0.7605 GB Notification: Performance of FrontEnd: time 4.138e-06/0.004262, allocations: 3.984 kB / 0.812 GB, free: 0.9727 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 7.574e-06/0.004269, allocations: 5.094 kB / 0.812 GB, free: 0.9688 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.0006556/0.004925, allocations: 408 kB / 0.8123 GB, free: 0.5312 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.004966, allocations: 9.062 kB / 0.8124 GB, free: 0.5234 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.074e-05/0.005026, allocations: 16.89 kB / 0.8124 GB, free: 0.5078 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002531/0.00528, allocations: 136.4 kB / 0.8125 GB, free: 356 kB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.151e-05/0.005301, allocations: 13.22 kB / 0.8125 GB, free: 344 kB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.702e-05/0.005318, allocations: 4.375 kB / 0.8125 GB, free: 340 kB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002472/0.005565, allocations: 106.8 kB / 0.8126 GB, free: 220 kB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.005576, allocations: 192 / 0.8126 GB, free: 220 kB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.005588, allocations: 384 / 0.8126 GB, free: 220 kB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.817e-06/0.005596, allocations: 4.375 kB / 0.8126 GB, free: 216 kB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001367/0.005733, allocations: 49.73 kB / 0.8127 GB, free: 168 kB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006874/0.006421, allocations: 470.4 kB / 0.8131 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.564e-05/0.006506, allocations: 58.16 kB / 0.8132 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.378e-05/0.00655, allocations: 25.19 kB / 0.8132 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.006e-05/0.00656, allocations: 4 kB / 0.8132 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.175e-05/0.006592, allocations: 33.39 kB / 0.8132 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.006593, allocations: 0 / 0.8132 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001772/0.00677, allocations: 54.48 kB / 0.8133 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.304e-05/0.006833, allocations: 81.64 kB / 0.8134 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001737/0.007007, allocations: 201.6 kB / 0.8136 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.007024, allocations: 25.7 kB / 0.8136 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001135/0.007138, allocations: 159.2 kB / 0.8137 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 9.818e-06/0.007147, allocations: 7.953 kB / 0.8137 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.224e-05/0.00719, allocations: 20.66 kB / 0.8138 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002734/0.007463, allocations: 0.4923 MB / 0.8142 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.292e-05/0.007486, allocations: 8 kB / 0.8142 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.944e-05/0.007515, allocations: 23.84 kB / 0.8143 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.212e-05/0.007568, allocations: 32.75 kB / 0.8143 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.007569, allocations: 0 / 0.8143 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.111e-05/0.00766, allocations: 58.78 kB / 0.8144 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.007672, allocations: 4 kB / 0.8144 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.007676, allocations: 0.8438 kB / 0.8144 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.007688, allocations: 0 / 0.8144 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.537e-05/0.007743, allocations: 8 kB / 0.8144 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.832e-06/0.00775, allocations: 4.781 kB / 0.8144 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.777e-05/0.007778, allocations: 7.891 kB / 0.8144 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.38e-05/0.007791, allocations: 13.27 kB / 0.8144 GB, free: 14.23 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 0.0001076/0.007899, allocations: 156.6 kB / 0.8145 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.51e-05/0.007944, allocations: 16.02 kB / 0.8146 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.82e-05/0.007962, allocations: 4.312 kB / 0.8146 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.007964, allocations: 0 / 0.8146 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.007967, allocations: 5.125 kB / 0.8146 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.708e-06/0.007972, allocations: 7.938 kB / 0.8146 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005231/0.008495, allocations: 0.5552 MB / 0.8151 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.008496, allocations: 0 / 0.8151 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.009e-05/0.008516, allocations: 7.938 kB / 0.8151 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.008518, allocations: 4 kB / 0.8151 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.008526, allocations: 5.469 kB / 0.8151 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.008527, allocations: 0 / 0.8151 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.008528, allocations: 0 / 0.8151 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001127/0.00864, allocations: 94.94 kB / 0.8152 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.216e-05/0.008662, allocations: 3.953 kB / 0.8152 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.507e-05/0.008678, allocations: 7.938 kB / 0.8152 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.974e-05/0.008697, allocations: 3.984 kB / 0.8152 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.498e-05/0.008712, allocations: 0 / 0.8152 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-06/0.008714, allocations: 3.938 kB / 0.8152 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001065/0.008821, allocations: 147.2 kB / 0.8154 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7.1e-08/0.008821, allocations: 0 / 0.8154 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001829/0.009004, allocations: 12.45 kB / 0.8154 GB, free: 13.12 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.0001312/0.009135, allocations: 99.62 kB / 0.8155 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 8.954e-05/0.009224, allocations: 23.67 kB / 0.8155 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.009226, allocations: 0.875 kB / 0.8155 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.692e-05/0.009253, allocations: 19.62 kB / 0.8155 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001334/0.009386, allocations: 5.344 kB / 0.8155 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003561/0.009742, allocations: 174.6 kB / 0.8157 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.753e-05/0.00983, allocations: 84.73 kB / 0.8158 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.712e-05/0.009857, allocations: 4.656 kB / 0.8158 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.648e-05/0.009884, allocations: 8.5 kB / 0.8158 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of SimCode: time 4.51e-07/0.009884, allocations: 2.812 kB / 0.8158 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of Templates: time 0.002925/0.01281, allocations: 346.3 kB / 0.8161 GB, free: 12.32 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_cfm.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.385541287949309]