Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001097/0.001097, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001592/0.002689, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.00172/0.00172, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001932/0.003651, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9664/0.9664, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09189/1.058, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.439/2.439, allocations: 447.1 MB / 0.675 GB, free: 5.902 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2596/2.699, allocations: 146 MB / 0.8176 GB, free: 3.828 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.From_cfm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 0.8189 GB, free: 2.488 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.704e-05/1.82e-05, allocations: 5.125 kB / 0.8189 GB, free: 2.484 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.001608/0.001626, allocations: 0.8493 MB / 0.8198 GB, free: 1.629 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 9.656e-05/0.001723, allocations: 55.72 kB / 0.8198 GB, free: 1.574 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.865e-05/0.001761, allocations: 0 / 0.8198 GB, free: 1.574 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 3.146e-05/0.001793, allocations: 11.86 kB / 0.8198 GB, free: 1.562 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 4.202e-05/0.001835, allocations: 23.8 kB / 0.8199 GB, free: 1.539 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 3.667e-05/0.001871, allocations: 15.98 kB / 0.8199 GB, free: 1.523 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 9.002e-05/0.001961, allocations: 59.84 kB / 0.8199 GB, free: 1.465 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 9.466e-05/0.002056, allocations: 31.92 kB / 0.82 GB, free: 1.434 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 8.354e-05/0.00214, allocations: 51.83 kB / 0.82 GB, free: 1.383 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 3.901e-05/0.002179, allocations: 11.92 kB / 0.82 GB, free: 1.371 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.928e-05/0.002198, allocations: 4 kB / 0.82 GB, free: 1.367 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 8.776e-06/0.002207, allocations: 4 kB / 0.82 GB, free: 1.363 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.977e-05/0.002226, allocations: 11.94 kB / 0.82 GB, free: 1.352 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.483e-05/0.002251, allocations: 15.94 kB / 0.8201 GB, free: 1.336 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 9.529e-05/0.002347, allocations: 51.7 kB / 0.8201 GB, free: 1.285 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.086e-05/0.002357, allocations: 0 / 0.8201 GB, free: 1.285 MB / 0.7917 GB Notification: Performance of FrontEnd: time 5.01e-07/0.002358, allocations: 0 / 0.8201 GB, free: 1.285 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.338e-05/0.002371, allocations: 0 / 0.8201 GB, free: 1.285 MB / 0.7917 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.0003689/0.00274, allocations: 288.3 kB / 0.8204 GB, free: 0.9766 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.183e-05/0.002772, allocations: 8.031 kB / 0.8204 GB, free: 0.9688 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.485e-05/0.002807, allocations: 16.92 kB / 0.8204 GB, free: 0.9531 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001355/0.002942, allocations: 141.6 kB / 0.8205 GB, free: 0.7891 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.002953, allocations: 8.281 kB / 0.8205 GB, free: 0.7812 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.322e-05/0.002966, allocations: 8.375 kB / 0.8206 GB, free: 0.7734 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.789e-05/0.003064, allocations: 79.86 kB / 0.8206 GB, free: 0.6836 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.003072, allocations: 4.188 kB / 0.8206 GB, free: 0.6797 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-06/0.00308, allocations: 4.375 kB / 0.8206 GB, free: 0.6758 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.003087, allocations: 4.375 kB / 0.8206 GB, free: 0.6719 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.118e-05/0.003118, allocations: 23.81 kB / 0.8207 GB, free: 0.6484 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003441/0.006559, allocations: 0.5011 MB / 0.8212 GB, free: 116 kB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 7.608e-05/0.006635, allocations: 173.1 kB / 0.8213 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.169e-05/0.006656, allocations: 80.14 kB / 0.8214 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.912e-05/0.006675, allocations: 75.28 kB / 0.8215 GB, free: 15.78 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.901e-05/0.006774, allocations: 109.8 kB / 0.8216 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.006776, allocations: 4 kB / 0.8216 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 5.807e-05/0.006834, allocations: 29.73 kB / 0.8216 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.092e-05/0.006874, allocations: 126.7 kB / 0.8217 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.361e-05/0.006968, allocations: 149.7 kB / 0.8219 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.157e-06/0.006977, allocations: 25.7 kB / 0.8219 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.46e-05/0.007032, allocations: 127.8 kB / 0.822 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.615e-06/0.007034, allocations: 0 / 0.822 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.442e-05/0.007069, allocations: 25.67 kB / 0.822 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.455e-05/0.007163, allocations: 322.8 kB / 0.8223 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.968e-06/0.007173, allocations: 4 kB / 0.8224 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.541e-05/0.007219, allocations: 58.84 kB / 0.8224 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.349e-05/0.007272, allocations: 74.73 kB / 0.8225 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.007275, allocations: 0 / 0.8225 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.141e-05/0.007356, allocations: 77.48 kB / 0.8226 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.007368, allocations: 9.25 kB / 0.8226 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.007371, allocations: 0 / 0.8226 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.007386, allocations: 8 kB / 0.8226 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.341e-05/0.007429, allocations: 15.94 kB / 0.8226 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.007433, allocations: 4.156 kB / 0.8226 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.363e-05/0.007457, allocations: 19.8 kB / 0.8226 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.78e-06/0.007463, allocations: 7.984 kB / 0.8226 GB, free: 14.48 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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.339e-05/0.007526, allocations: 193.4 kB / 0.8228 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.187e-05/0.007558, allocations: 109 kB / 0.8229 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.302e-05/0.007591, allocations: 116.8 kB / 0.823 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-05/0.007626, allocations: 180.2 kB / 0.8232 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001664/0.007792, allocations: 184.2 kB / 0.8234 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-05/0.007827, allocations: 180.3 kB / 0.8235 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001198/0.007947, allocations: 337.3 kB / 0.8239 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.02e-05/0.007967, allocations: 101 kB / 0.824 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.157e-05/0.007988, allocations: 105 kB / 0.8241 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.254e-05/0.008021, allocations: 112.9 kB / 0.8242 GB, free: 12.81 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.279e-05/0.008054, allocations: 176.3 kB / 0.8243 GB, free: 12.63 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.696e-05/0.008091, allocations: 188.2 kB / 0.8245 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.551e-05/0.008126, allocations: 180.3 kB / 0.8247 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.513e-05/0.008171, allocations: 184.2 kB / 0.8249 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.89e-05/0.00826, allocations: 303.7 kB / 0.8251 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.701e-05/0.008307, allocations: 188.2 kB / 0.8253 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.225e-05/0.008349, allocations: 101 kB / 0.8254 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.942e-05/0.008389, allocations: 180.2 kB / 0.8256 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.247e-05/0.008411, allocations: 105 kB / 0.8257 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.338e-05/0.008435, allocations: 28.83 kB / 0.8257 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.008435, allocations: 0 / 0.8257 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001193/0.008554, allocations: 11.95 kB / 0.8257 GB, free: 11.11 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.866e-05/0.008633, allocations: 163.7 kB / 0.8259 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.712e-05/0.00869, allocations: 32.72 kB / 0.8259 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.008694, allocations: 0 / 0.8259 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.447e-06/0.008697, allocations: 4 kB / 0.8259 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001874/0.008885, allocations: 480.4 kB / 0.8264 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001924/0.009077, allocations: 224.1 kB / 0.8266 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.8e-05/0.009105, allocations: 63.34 kB / 0.8267 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.244e-05/0.009138, allocations: 8.719 kB / 0.8267 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.897e-05/0.009167, allocations: 51.38 kB / 0.8267 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of SimCode: time 4.31e-07/0.009167, allocations: 0 / 0.8267 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of Templates: time 0.001763/0.01093, allocations: 267.4 kB / 0.827 GB, free: 9.781 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.184339590370655]