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.001374/0.001374, allocations: 100.4 kB / 19.7 MB, free: 2.125 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.001622/0.001622, allocations: 215.7 kB / 22.99 MB, free: 4.949 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.447/1.447, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.225/3.225, allocations: 0.4892 GB / 0.7951 GB, free: 35.55 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.002123/0.002123, allocations: 67.41 kB / 1.154 GB, free: 25.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3154/0.3175, allocations: 176.1 MB / 1.326 GB, free: 1.852 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.00208/0.3196, allocations: 0.7994 MB / 1.327 GB, free: 1.059 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001259/0.3197, allocations: 47.72 kB / 1.327 GB, free: 1.012 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.457e-05/0.3197, allocations: 0 / 1.327 GB, free: 1.012 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.824e-05/0.3198, allocations: 11.86 kB / 1.327 GB, free: 1 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.924e-05/0.3199, allocations: 11.88 kB / 1.327 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 4.554e-05/0.3199, allocations: 15.98 kB / 1.327 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001291/0.32, allocations: 59.91 kB / 1.327 GB, free: 0.9141 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001405/0.3202, allocations: 31.91 kB / 1.327 GB, free: 0.8828 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 6.486e-05/0.3203, allocations: 27.88 kB / 1.327 GB, free: 0.8555 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.173e-05/0.3203, allocations: 27.78 kB / 1.327 GB, free: 0.8281 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.685e-05/0.3203, allocations: 8 kB / 1.327 GB, free: 0.8203 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.366e-05/0.3203, allocations: 8 kB / 1.327 GB, free: 0.8125 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.166e-05/0.3204, allocations: 15.92 kB / 1.327 GB, free: 0.7969 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.559e-05/0.3204, allocations: 31.8 kB / 1.327 GB, free: 0.7656 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001265/0.3205, allocations: 79.53 kB / 1.327 GB, free: 0.6875 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.3205, allocations: 0 / 1.327 GB, free: 0.6875 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.433e-06/0.3205, allocations: 0 / 1.327 GB, free: 0.6875 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.3205, allocations: 0 / 1.327 GB, free: 0.6875 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.0004404/0.321, allocations: 306 kB / 1.328 GB, free: 364 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.321, allocations: 11.97 kB / 1.328 GB, free: 352 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.881e-05/0.3211, allocations: 16.89 kB / 1.328 GB, free: 336 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001921/0.3213, allocations: 130.4 kB / 1.328 GB, free: 180 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.3213, allocations: 8.375 kB / 1.328 GB, free: 172 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.372e-05/0.3213, allocations: 4.375 kB / 1.328 GB, free: 168 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001724/0.3215, allocations: 101.5 kB / 1.328 GB, free: 56 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.3215, allocations: 192 / 1.328 GB, free: 56 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.3215, allocations: 3.938 kB / 1.328 GB, free: 52 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.3215, allocations: 4 kB / 1.328 GB, free: 48 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.507e-05/0.3216, allocations: 43.91 kB / 1.328 GB, free: 4 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005108/0.3221, allocations: 352.5 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 7.424e-05/0.3222, allocations: 45.23 kB / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.743e-05/0.3222, allocations: 17.78 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 6.763e-06/0.3222, allocations: 0 / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.983e-05/0.3222, allocations: 34.56 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 8.71e-07/0.3222, allocations: 0 / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0001859/0.3224, allocations: 49.58 kB / 1.329 GB, free: 15.44 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.895e-05/0.3225, allocations: 81.09 kB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001385/0.3226, allocations: 126.1 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.3226, allocations: 29.7 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.377e-05/0.3227, allocations: 111.9 kB / 1.329 GB, free: 15.06 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.355e-05/0.3227, allocations: 11.94 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.455e-05/0.3228, allocations: 13.72 kB / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.3229, allocations: 314.8 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.774e-05/0.3229, allocations: 4 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.929e-05/0.323, allocations: 21.7 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.531e-05/0.323, allocations: 29.66 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.323, allocations: 0 / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.099e-05/0.3231, allocations: 65.58 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.3231, allocations: 4 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.3231, allocations: 0 / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/0.3232, allocations: 7.938 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.085e-05/0.3232, allocations: 4 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.3232, allocations: 3.938 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.848e-05/0.3233, allocations: 7.938 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.128e-06/0.3233, allocations: 0 / 1.329 GB, free: 14.55 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 8.987e-05/0.3234, allocations: 117.8 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.134e-05/0.3234, allocations: 12.02 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.091e-05/0.3234, allocations: 15.39 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.3234, allocations: 0 / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.3234, allocations: 0 / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.3234, allocations: 4 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00041/0.3238, allocations: 410.5 kB / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.3238, allocations: 7.938 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.255e-05/0.3239, allocations: 4 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.3239, allocations: 4 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.142e-06/0.3239, allocations: 0 / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.3239, allocations: 4.062 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3239, allocations: 0 / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.424e-05/0.324, allocations: 77.88 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.729e-05/0.324, allocations: 11.89 kB / 1.33 GB, free: 13.81 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.461e-05/0.324, allocations: 4.094 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2e-05/0.324, allocations: 4 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.524e-05/0.3241, allocations: 3.984 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-06/0.3241, allocations: 0 / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.623e-05/0.3241, allocations: 99.14 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3241, allocations: 0 / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001968/0.3243, allocations: 16.03 kB / 1.33 GB, free: 13.69 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.0001256/0.3245, allocations: 103.2 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 9.118e-05/0.3245, allocations: 19.94 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3245, allocations: 0 / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.084e-05/0.3246, allocations: 4 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001565/0.3247, allocations: 13.94 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003508/0.3251, allocations: 184.4 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.052e-05/0.3251, allocations: 87.38 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.788e-05/0.3252, allocations: 11.44 kB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of SimCode: time 3.31e-07/0.3252, allocations: 0 / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of Templates: time 0.002377/0.3275, allocations: 0.7974 MB / 1.331 GB, free: 12.4 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/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: 10.846462665125728]