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.001551/0.001551, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001635/0.001635, allocations: 217.2 kB / 23.01 MB, free: 4.566 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.518/1.518, allocations: 230.6 MB / 256.8 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.316/3.316, allocations: 0.505 GB / 0.8108 GB, free: 22.05 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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: 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.002154/0.002154, allocations: 63.61 kB / 1.178 GB, free: 16.87 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3593/0.3615, allocations: 180.2 MB / 1.354 GB, free: 7.93 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.002269/0.3638, allocations: 0.8392 MB / 1.355 GB, free: 7.094 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0001209/0.3639, allocations: 39.78 kB / 1.355 GB, free: 7.055 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.561e-05/0.3639, allocations: 0 / 1.355 GB, free: 7.055 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.87e-05/0.364, allocations: 7.875 kB / 1.355 GB, free: 7.047 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 8.801e-05/0.3641, allocations: 15.88 kB / 1.355 GB, free: 7.031 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 4.556e-05/0.3641, allocations: 19.97 kB / 1.355 GB, free: 7.012 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001144/0.3642, allocations: 59.84 kB / 1.355 GB, free: 6.953 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001527/0.3644, allocations: 35.97 kB / 1.355 GB, free: 6.918 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 6.345e-05/0.3644, allocations: 27.86 kB / 1.355 GB, free: 6.891 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.606e-05/0.3645, allocations: 23.86 kB / 1.355 GB, free: 6.867 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.105e-05/0.3645, allocations: 8 kB / 1.355 GB, free: 6.859 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.351e-05/0.3645, allocations: 4 kB / 1.355 GB, free: 6.855 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.515e-05/0.3646, allocations: 19.86 kB / 1.355 GB, free: 6.836 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.387e-05/0.3646, allocations: 31.75 kB / 1.355 GB, free: 6.805 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001286/0.3647, allocations: 83.56 kB / 1.355 GB, free: 6.723 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.3647, allocations: 4 kB / 1.355 GB, free: 6.719 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3647, allocations: 0 / 1.355 GB, free: 6.719 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.663e-06/0.3647, allocations: 0 / 1.355 GB, free: 6.719 MB / 1.045 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.0004652/0.3652, allocations: 302 kB / 1.356 GB, free: 6.391 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.3652, allocations: 8.031 kB / 1.356 GB, free: 6.383 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.098e-05/0.3653, allocations: 12.89 kB / 1.356 GB, free: 6.371 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001992/0.3655, allocations: 134.3 kB / 1.356 GB, free: 6.215 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/0.3655, allocations: 8.375 kB / 1.356 GB, free: 6.207 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.707e-05/0.3655, allocations: 4.375 kB / 1.356 GB, free: 6.203 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001735/0.3657, allocations: 105.2 kB / 1.356 GB, free: 6.09 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.477e-06/0.3657, allocations: 192 / 1.356 GB, free: 6.09 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.521e-05/0.3657, allocations: 15.81 kB / 1.356 GB, free: 6.074 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.3657, allocations: 4 kB / 1.356 GB, free: 6.07 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.526e-05/0.3658, allocations: 31.98 kB / 1.356 GB, free: 6.039 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005853/0.3664, allocations: 407.7 kB / 1.356 GB, free: 5.594 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 6.555e-05/0.3665, allocations: 41.33 kB / 1.356 GB, free: 5.535 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.407e-05/0.3665, allocations: 17.78 kB / 1.356 GB, free: 5.512 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 7.484e-06/0.3665, allocations: 0 / 1.356 GB, free: 5.512 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.474e-05/0.3665, allocations: 42.5 kB / 1.356 GB, free: 5.461 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.3665, allocations: 0 / 1.356 GB, free: 5.461 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0001739/0.3667, allocations: 53.58 kB / 1.356 GB, free: 5.402 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.87e-05/0.3668, allocations: 81.05 kB / 1.356 GB, free: 5.305 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001676/0.3669, allocations: 161.1 kB / 1.357 GB, free: 5.141 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.828e-05/0.367, allocations: 25.7 kB / 1.357 GB, free: 5.109 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.965e-05/0.3671, allocations: 104 kB / 1.357 GB, free: 5.004 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.313e-05/0.3671, allocations: 12.19 kB / 1.357 GB, free: 4.992 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.498e-05/0.3671, allocations: 21.72 kB / 1.357 GB, free: 4.965 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001601/0.3673, allocations: 310.8 kB / 1.357 GB, free: 4.652 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.271e-05/0.3673, allocations: 11.98 kB / 1.357 GB, free: 4.641 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.79e-05/0.3673, allocations: 21.7 kB / 1.357 GB, free: 4.613 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.344e-05/0.3674, allocations: 25.66 kB / 1.357 GB, free: 4.582 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3674, allocations: 4 kB / 1.357 GB, free: 4.578 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.847e-05/0.3674, allocations: 65.58 kB / 1.357 GB, free: 4.508 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.3675, allocations: 4 kB / 1.357 GB, free: 4.504 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.3675, allocations: 3.938 kB / 1.357 GB, free: 4.5 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.3675, allocations: 4 kB / 1.357 GB, free: 4.496 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.093e-05/0.3675, allocations: 4 kB / 1.357 GB, free: 4.492 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.3675, allocations: 0 / 1.357 GB, free: 4.492 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.084e-05/0.3676, allocations: 7.953 kB / 1.357 GB, free: 4.484 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.517e-06/0.3676, allocations: 0 / 1.357 GB, free: 4.484 MB / 1.045 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.305e-05/0.3677, allocations: 126.4 kB / 1.357 GB, free: 4.352 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.468e-05/0.3677, allocations: 11.94 kB / 1.357 GB, free: 4.34 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.818e-05/0.3678, allocations: 11.75 kB / 1.357 GB, free: 4.324 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.3678, allocations: 0 / 1.357 GB, free: 4.324 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.3678, allocations: 0 / 1.357 GB, free: 4.324 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.3678, allocations: 0 / 1.357 GB, free: 4.324 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004285/0.3682, allocations: 449.7 kB / 1.358 GB, free: 3.828 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.3682, allocations: 4.062 kB / 1.358 GB, free: 3.824 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.708e-05/0.3682, allocations: 4 kB / 1.358 GB, free: 3.82 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.3682, allocations: 0 / 1.358 GB, free: 3.82 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.3682, allocations: 7.984 kB / 1.358 GB, free: 3.812 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.3682, allocations: 3.938 kB / 1.358 GB, free: 3.809 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3682, allocations: 0 / 1.358 GB, free: 3.809 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.892e-05/0.3683, allocations: 85.83 kB / 1.358 GB, free: 3.703 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.779e-05/0.3684, allocations: 11.94 kB / 1.358 GB, free: 3.691 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.284e-05/0.3684, allocations: 0 / 1.358 GB, free: 3.691 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.983e-05/0.3684, allocations: 0 / 1.358 GB, free: 3.691 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.635e-05/0.3684, allocations: 8 kB / 1.358 GB, free: 3.684 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-06/0.3684, allocations: 0 / 1.358 GB, free: 3.684 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001156/0.3685, allocations: 124.9 kB / 1.358 GB, free: 3.562 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3685, allocations: 0 / 1.358 GB, free: 3.562 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0001913/0.3687, allocations: 8 kB / 1.358 GB, free: 3.555 MB / 1.045 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.0001284/0.3688, allocations: 95.28 kB / 1.358 GB, free: 3.453 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001003/0.3689, allocations: 23.92 kB / 1.358 GB, free: 3.43 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3689, allocations: 0 / 1.358 GB, free: 3.43 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.098e-05/0.369, allocations: 4 kB / 1.358 GB, free: 3.426 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001697/0.3691, allocations: 17.77 kB / 1.358 GB, free: 3.41 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000382/0.3695, allocations: 180.7 kB / 1.358 GB, free: 3.191 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003687/0.3699, allocations: 0.7002 MB / 1.359 GB, free: 2.465 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.121e-05/0.3699, allocations: 11.44 kB / 1.359 GB, free: 2.453 MB / 1.045 GB Notification: Performance of SimCode: time 3.31e-07/0.3699, allocations: 0 / 1.359 GB, free: 2.453 MB / 1.045 GB Notification: Performance of Templates: time 0.00269/0.3726, allocations: 0.8683 MB / 1.36 GB, free: 1.582 MB / 1.045 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_cfm.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.529234929999802]