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.001317/0.001317, allocations: 111.5 kB / 17.13 MB, free: 6.008 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.001429/0.001429, allocations: 213.8 kB / 20.1 MB, free: 3.055 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.517/1.517, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.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.954/2.954, allocations: 0.49 GB / 0.7923 GB, free: 1.277 MB / 0.6231 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.002658/0.002658, allocations: 68.09 kB / 1.15 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9162/0.9189, allocations: 176.1 MB / 1.322 GB, free: 25.04 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.001802/0.9207, allocations: 0.8374 MB / 1.323 GB, free: 24.49 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 9.378e-05/0.9208, allocations: 39.67 kB / 1.323 GB, free: 24.46 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.763e-05/0.9208, allocations: 6.625 kB / 1.323 GB, free: 24.46 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.136e-05/0.9209, allocations: 3.938 kB / 1.323 GB, free: 24.46 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.182e-05/0.9209, allocations: 11.88 kB / 1.323 GB, free: 24.45 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 4.337e-05/0.921, allocations: 23.89 kB / 1.323 GB, free: 24.43 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 8.876e-05/0.9211, allocations: 59.3 kB / 1.323 GB, free: 24.4 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.9212, allocations: 37.09 kB / 1.323 GB, free: 24.38 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.799e-05/0.9212, allocations: 29.64 kB / 1.323 GB, free: 24.37 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.982e-05/0.9213, allocations: 21.53 kB / 1.323 GB, free: 24.35 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.47e-05/0.9213, allocations: 8 kB / 1.323 GB, free: 24.35 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.356e-06/0.9213, allocations: 5.594 kB / 1.323 GB, free: 24.35 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.82e-05/0.9213, allocations: 17.94 kB / 1.323 GB, free: 24.34 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.994e-05/0.9214, allocations: 31.88 kB / 1.323 GB, free: 24.32 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 9.354e-05/0.9214, allocations: 81.48 kB / 1.323 GB, free: 24.28 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.9215, allocations: 0 / 1.323 GB, free: 24.28 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.593e-06/0.9215, allocations: 4 kB / 1.323 GB, free: 24.28 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.581e-06/0.9215, allocations: 3.328 kB / 1.323 GB, free: 24.28 MB / 1.061 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.0003167/0.9218, allocations: 381.1 kB / 1.324 GB, free: 23.89 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.247e-05/0.9218, allocations: 11.95 kB / 1.324 GB, free: 23.88 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.551e-05/0.9218, allocations: 10.58 kB / 1.324 GB, free: 23.88 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001488/0.922, allocations: 184.6 kB / 1.324 GB, free: 23.67 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.922, allocations: 7.406 kB / 1.324 GB, free: 23.67 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.171e-05/0.922, allocations: 14.17 kB / 1.324 GB, free: 23.66 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001272/0.9221, allocations: 96.38 kB / 1.324 GB, free: 23.59 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.9221, allocations: 192 / 1.324 GB, free: 23.59 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.9222, allocations: 7.938 kB / 1.324 GB, free: 23.58 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.9222, allocations: 2.781 kB / 1.324 GB, free: 23.58 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.522e-05/0.9222, allocations: 38.03 kB / 1.324 GB, free: 23.57 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004013/0.9226, allocations: 445 kB / 1.324 GB, free: 23.16 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.714e-05/0.9227, allocations: 42.72 kB / 1.324 GB, free: 23.1 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.029e-05/0.9227, allocations: 19.38 kB / 1.324 GB, free: 23.08 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 6.933e-06/0.9227, allocations: 3.938 kB / 1.324 GB, free: 23.08 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.524e-05/0.9227, allocations: 37.75 kB / 1.324 GB, free: 23.04 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.9227, allocations: 0 / 1.324 GB, free: 23.04 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0001579/0.9229, allocations: 59.73 kB / 1.324 GB, free: 22.98 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.962e-05/0.9229, allocations: 77.11 kB / 1.325 GB, free: 22.89 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/0.923, allocations: 165.2 kB / 1.325 GB, free: 22.77 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.482e-06/0.923, allocations: 25.7 kB / 1.325 GB, free: 22.74 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.386e-05/0.9231, allocations: 110.3 kB / 1.325 GB, free: 22.63 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 8.365e-06/0.9231, allocations: 7.016 kB / 1.325 GB, free: 22.63 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.736e-05/0.9231, allocations: 16.69 kB / 1.325 GB, free: 22.61 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.408e-05/0.9232, allocations: 321.5 kB / 1.325 GB, free: 22.29 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.555e-05/0.9232, allocations: 6.812 kB / 1.325 GB, free: 22.29 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.754e-05/0.9232, allocations: 23.73 kB / 1.325 GB, free: 22.27 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.149e-05/0.9232, allocations: 24.59 kB / 1.325 GB, free: 22.25 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.9232, allocations: 0 / 1.325 GB, free: 22.25 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.04e-05/0.9233, allocations: 61.48 kB / 1.325 GB, free: 22.2 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/0.9233, allocations: 5.438 kB / 1.325 GB, free: 22.2 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.9233, allocations: 3.938 kB / 1.325 GB, free: 22.2 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.9233, allocations: 2.594 kB / 1.325 GB, free: 22.2 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.819e-05/0.9234, allocations: 9.188 kB / 1.325 GB, free: 22.19 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.9234, allocations: 0 / 1.325 GB, free: 22.19 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.104e-05/0.9234, allocations: 10.52 kB / 1.325 GB, free: 22.18 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.528e-06/0.9234, allocations: 2.531 kB / 1.325 GB, free: 22.18 MB / 1.061 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.758e-05/0.9235, allocations: 116.6 kB / 1.325 GB, free: 22.06 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.123e-05/0.9235, allocations: 10.03 kB / 1.325 GB, free: 22.06 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.183e-05/0.9235, allocations: 12.91 kB / 1.325 GB, free: 22.05 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.9235, allocations: 0 / 1.325 GB, free: 22.05 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.9235, allocations: 0 / 1.325 GB, free: 22.05 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.9235, allocations: 0 / 1.325 GB, free: 22.05 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002808/0.9238, allocations: 471.7 kB / 1.326 GB, free: 21.56 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.9238, allocations: 4.062 kB / 1.326 GB, free: 21.56 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.832e-05/0.9238, allocations: 5.984 kB / 1.326 GB, free: 21.56 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.9238, allocations: 2.438 kB / 1.326 GB, free: 21.56 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.989e-06/0.9239, allocations: 0 / 1.326 GB, free: 21.56 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.9239, allocations: 3.938 kB / 1.326 GB, free: 21.55 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.9239, allocations: 2.656 kB / 1.326 GB, free: 21.55 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.752e-05/0.9239, allocations: 80.5 kB / 1.326 GB, free: 21.46 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.751e-05/0.9239, allocations: 91.53 kB / 1.326 GB, free: 21.36 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.269e-05/0.924, allocations: 2.812 kB / 1.326 GB, free: 21.36 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.004e-05/0.924, allocations: 0 / 1.326 GB, free: 21.36 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.822e-05/0.924, allocations: 6.219 kB / 1.326 GB, free: 21.36 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-06/0.924, allocations: 4 kB / 1.326 GB, free: 21.36 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.848e-05/0.924, allocations: 123.8 kB / 1.326 GB, free: 21.27 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.924, allocations: 3.938 kB / 1.326 GB, free: 21.27 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001855/0.9242, allocations: 12.28 kB / 1.326 GB, free: 21.26 MB / 1.061 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 8.857e-05/0.9243, allocations: 104.1 kB / 1.326 GB, free: 21.17 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 7.577e-05/0.9244, allocations: 18.3 kB / 1.326 GB, free: 21.16 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.9244, allocations: 0 / 1.326 GB, free: 21.16 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.937e-06/0.9244, allocations: 6.719 kB / 1.326 GB, free: 21.16 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001515/0.9246, allocations: 17.09 kB / 1.326 GB, free: 21.15 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002624/0.9248, allocations: 187.2 kB / 1.327 GB, free: 20.96 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.432e-05/0.9249, allocations: 0.696 MB / 1.327 GB, free: 20.27 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.269e-05/0.9249, allocations: 9.781 kB / 1.327 GB, free: 20.26 MB / 1.061 GB Notification: Performance of SimCode: time 2.91e-07/0.9249, allocations: 0 / 1.327 GB, free: 20.26 MB / 1.061 GB Notification: Performance of Templates: time 0.002089/0.927, allocations: 0.869 MB / 1.328 GB, free: 20.18 MB / 1.061 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 -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: 11.295373371001915]