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.001947/0.001947, allocations: 101.9 kB / 16.45 MB, free: 6.449 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.002114/0.002114, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.607/1.607, allocations: 230.6 MB / 252.8 MB, free: 9.125 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 3.388/3.388, allocations: 0.4899 GB / 0.7915 GB, free: 33.25 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.002042/0.002042, allocations: 68.11 kB / 1.149 GB, free: 26.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4055/0.4075, allocations: 176.1 MB / 1.321 GB, free: 2.773 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.002708/0.4102, allocations: 0.8286 MB / 1.322 GB, free: 1.945 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001826/0.4104, allocations: 39.84 kB / 1.322 GB, free: 1.906 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.809e-05/0.4105, allocations: 4 kB / 1.322 GB, free: 1.902 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.498e-05/0.4106, allocations: 7.875 kB / 1.322 GB, free: 1.895 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001004/0.4107, allocations: 7.875 kB / 1.322 GB, free: 1.887 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 6.369e-05/0.4107, allocations: 19.98 kB / 1.322 GB, free: 1.867 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001437/0.4109, allocations: 59.83 kB / 1.322 GB, free: 1.809 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001725/0.411, allocations: 39.86 kB / 1.322 GB, free: 1.77 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 7.318e-05/0.4111, allocations: 23.86 kB / 1.322 GB, free: 1.746 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.718e-05/0.4112, allocations: 27.84 kB / 1.322 GB, free: 1.719 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.822e-05/0.4112, allocations: 8 kB / 1.322 GB, free: 1.711 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.099e-05/0.4112, allocations: 8 kB / 1.322 GB, free: 1.703 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.174e-05/0.4113, allocations: 19.92 kB / 1.322 GB, free: 1.684 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.601e-05/0.4113, allocations: 35.75 kB / 1.322 GB, free: 1.648 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001672/0.4115, allocations: 79.52 kB / 1.322 GB, free: 1.57 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.4115, allocations: 0 / 1.322 GB, free: 1.57 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.593e-06/0.4115, allocations: 0 / 1.322 GB, free: 1.57 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.4115, allocations: 0 / 1.322 GB, free: 1.57 MB / 1.014 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.0005849/0.4121, allocations: 387 kB / 1.323 GB, free: 1.141 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.083e-05/0.4121, allocations: 15.98 kB / 1.323 GB, free: 1.125 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.729e-05/0.4122, allocations: 12.89 kB / 1.323 GB, free: 1.113 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002948/0.4125, allocations: 192.2 kB / 1.323 GB, free: 0.8867 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.4125, allocations: 8.375 kB / 1.323 GB, free: 0.8789 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.247e-05/0.4125, allocations: 8.312 kB / 1.323 GB, free: 0.8711 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001936/0.4127, allocations: 95.86 kB / 1.323 GB, free: 0.7656 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.4127, allocations: 192 / 1.323 GB, free: 0.7656 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.4127, allocations: 3.938 kB / 1.323 GB, free: 0.7617 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/0.4127, allocations: 7.984 kB / 1.323 GB, free: 0.7539 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.443e-05/0.4128, allocations: 35.92 kB / 1.323 GB, free: 0.7188 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006813/0.4135, allocations: 436.7 kB / 1.324 GB, free: 244 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 7.042e-05/0.4136, allocations: 41.19 kB / 1.324 GB, free: 184 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.629e-05/0.4136, allocations: 25.84 kB / 1.324 GB, free: 152 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.322e-05/0.4136, allocations: 0 / 1.324 GB, free: 152 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.15e-05/0.4137, allocations: 30.56 kB / 1.324 GB, free: 112 kB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.4137, allocations: 0 / 1.324 GB, free: 112 kB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0002267/0.4139, allocations: 65.47 kB / 1.324 GB, free: 40 kB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.05e-05/0.414, allocations: 77.11 kB / 1.324 GB, free: 15.95 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001944/0.4142, allocations: 164.5 kB / 1.324 GB, free: 15.78 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.207e-05/0.4142, allocations: 25.7 kB / 1.324 GB, free: 15.75 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.264e-05/0.4143, allocations: 100 kB / 1.324 GB, free: 15.64 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.283e-05/0.4143, allocations: 11.88 kB / 1.324 GB, free: 15.63 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.48e-05/0.4143, allocations: 17.72 kB / 1.324 GB, free: 15.61 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001728/0.4145, allocations: 322.8 kB / 1.324 GB, free: 15.29 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.154e-05/0.4145, allocations: 8 kB / 1.324 GB, free: 15.28 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.04e-05/0.4146, allocations: 17.66 kB / 1.324 GB, free: 15.25 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.859e-05/0.4146, allocations: 29.72 kB / 1.324 GB, free: 15.22 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.4146, allocations: 0 / 1.324 GB, free: 15.22 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.911e-05/0.4147, allocations: 57.58 kB / 1.325 GB, free: 15.16 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.4147, allocations: 8 kB / 1.325 GB, free: 15.15 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.4147, allocations: 3.938 kB / 1.325 GB, free: 15.14 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.4148, allocations: 0 / 1.325 GB, free: 15.14 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.03e-05/0.4148, allocations: 8 kB / 1.325 GB, free: 15.14 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.4148, allocations: 4.062 kB / 1.325 GB, free: 15.13 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.406e-05/0.4149, allocations: 3.953 kB / 1.325 GB, free: 15.13 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.4149, allocations: 4 kB / 1.325 GB, free: 15.12 MB / 1.029 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.0001011/0.415, allocations: 117.8 kB / 1.325 GB, free: 15 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.658e-05/0.415, allocations: 7.953 kB / 1.325 GB, free: 14.99 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.319e-05/0.4151, allocations: 11.81 kB / 1.325 GB, free: 14.98 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.4151, allocations: 3.938 kB / 1.325 GB, free: 14.97 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.4151, allocations: 8 kB / 1.325 GB, free: 14.96 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.4151, allocations: 0 / 1.325 GB, free: 14.96 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004614/0.4155, allocations: 478.8 kB / 1.325 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.4155, allocations: 0 / 1.325 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.519e-05/0.4156, allocations: 7.984 kB / 1.325 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.666e-06/0.4156, allocations: 0 / 1.325 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-06/0.4156, allocations: 0 / 1.325 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.4156, allocations: 3.938 kB / 1.325 GB, free: 14.42 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4156, allocations: 0 / 1.325 GB, free: 14.42 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001077/0.4157, allocations: 85.91 kB / 1.325 GB, free: 14.32 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.287e-05/0.4158, allocations: 92.98 kB / 1.325 GB, free: 14.21 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.679e-05/0.4158, allocations: 4 kB / 1.325 GB, free: 14.2 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.96e-05/0.4158, allocations: 0 / 1.325 GB, free: 14.2 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.915e-05/0.4158, allocations: 0 / 1.325 GB, free: 14.2 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-06/0.4158, allocations: 0 / 1.325 GB, free: 14.2 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001142/0.4159, allocations: 125.1 kB / 1.325 GB, free: 14.08 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4159, allocations: 0 / 1.325 GB, free: 14.08 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002047/0.4161, allocations: 11.94 kB / 1.325 GB, free: 14.07 MB / 1.029 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.0001369/0.4163, allocations: 99.25 kB / 1.326 GB, free: 13.96 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001172/0.4164, allocations: 19.92 kB / 1.326 GB, free: 13.95 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.4164, allocations: 0 / 1.326 GB, free: 13.95 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.315e-05/0.4164, allocations: 8 kB / 1.326 GB, free: 13.94 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001714/0.4166, allocations: 20.12 kB / 1.326 GB, free: 13.92 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004042/0.417, allocations: 158.8 kB / 1.326 GB, free: 13.73 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003371/0.4173, allocations: 0.6885 MB / 1.326 GB, free: 13.01 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.498e-05/0.4173, allocations: 8.422 kB / 1.326 GB, free: 13 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.05e-05/0.4174, allocations: 15.44 kB / 1.326 GB, free: 12.99 MB / 1.029 GB Notification: Performance of SimCode: time 2.9e-07/0.4174, allocations: 0 / 1.326 GB, free: 12.99 MB / 1.029 GB Notification: Performance of Templates: time 0.003267/0.4206, allocations: 466.3 kB / 1.327 GB, free: 12.54 MB / 1.029 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: 9.609491673763841]