Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_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.001823/0.001823, allocations: 110.1 kB / 19.7 MB, free: 2.262 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.002254/0.002254, allocations: 215.9 kB / 23.01 MB, free: 5.113 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.492/1.492, allocations: 230.6 MB / 256.8 MB, free: 8.234 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.222/3.222, allocations: 0.49 GB / 0.7958 GB, free: 33.41 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.To_cfm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_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.002028/0.002028, allocations: 64.25 kB / 1.155 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3325/0.3345, allocations: 176.1 MB / 1.327 GB, free: 1.438 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.002155/0.3366, allocations: 0.8287 MB / 1.328 GB, free: 0.6133 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001146/0.3368, allocations: 39.78 kB / 1.328 GB, free: 0.5742 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.576e-05/0.3368, allocations: 4 kB / 1.328 GB, free: 0.5703 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.276e-05/0.3369, allocations: 11.86 kB / 1.328 GB, free: 0.5586 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.592e-05/0.3369, allocations: 11.88 kB / 1.328 GB, free: 0.5469 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 4.907e-05/0.337, allocations: 15.98 kB / 1.328 GB, free: 0.5312 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001332/0.3371, allocations: 63.84 kB / 1.328 GB, free: 480 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001485/0.3373, allocations: 35.97 kB / 1.328 GB, free: 444 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 7.242e-05/0.3373, allocations: 27.88 kB / 1.328 GB, free: 416 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.274e-05/0.3374, allocations: 27.84 kB / 1.328 GB, free: 388 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.699e-05/0.3374, allocations: 7.938 kB / 1.328 GB, free: 380 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.096e-05/0.3374, allocations: 8 kB / 1.328 GB, free: 372 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.81e-05/0.3374, allocations: 15.88 kB / 1.328 GB, free: 356 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.322e-05/0.3375, allocations: 39.72 kB / 1.328 GB, free: 316 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001237/0.3376, allocations: 75.59 kB / 1.328 GB, free: 240 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3376, allocations: 0 / 1.328 GB, free: 240 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3376, allocations: 0 / 1.328 GB, free: 240 kB / 1.014 GB Notification: Performance of Transformations before backend: time 5.169e-06/0.3376, allocations: 0 / 1.328 GB, free: 240 kB / 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.000464/0.3381, allocations: 310 kB / 1.329 GB, free: 15.9 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.3381, allocations: 8.031 kB / 1.329 GB, free: 15.89 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.141e-05/0.3382, allocations: 8.891 kB / 1.329 GB, free: 15.88 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002025/0.3384, allocations: 138.3 kB / 1.329 GB, free: 15.72 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.3384, allocations: 8.375 kB / 1.329 GB, free: 15.71 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.796e-05/0.3384, allocations: 8.375 kB / 1.329 GB, free: 15.71 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001575/0.3385, allocations: 89.83 kB / 1.329 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.3386, allocations: 4.125 kB / 1.329 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.757e-05/0.3386, allocations: 15.94 kB / 1.329 GB, free: 15.59 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.3386, allocations: 0 / 1.329 GB, free: 15.59 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.949e-05/0.3387, allocations: 35.97 kB / 1.329 GB, free: 15.55 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000559/0.3392, allocations: 403.9 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 5.687e-05/0.3393, allocations: 41.16 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.62e-05/0.3393, allocations: 17.78 kB / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 6.973e-06/0.3393, allocations: 0 / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.918e-05/0.3394, allocations: 38.48 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.3394, allocations: 4 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0001705/0.3395, allocations: 53.59 kB / 1.329 GB, free: 14.92 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.694e-05/0.3396, allocations: 85.05 kB / 1.33 GB, free: 14.82 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001608/0.3397, allocations: 164.2 kB / 1.33 GB, free: 14.65 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.3398, allocations: 25.7 kB / 1.33 GB, free: 14.62 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.35e-05/0.3398, allocations: 108 kB / 1.33 GB, free: 14.51 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 9.518e-06/0.3399, allocations: 7.953 kB / 1.33 GB, free: 14.5 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.501e-05/0.3399, allocations: 13.72 kB / 1.33 GB, free: 14.48 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.34, allocations: 323.1 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.877e-05/0.3401, allocations: 8 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.652e-05/0.3401, allocations: 21.7 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.956e-05/0.3401, allocations: 21.72 kB / 1.33 GB, free: 14.1 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.3401, allocations: 0 / 1.33 GB, free: 14.1 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.585e-05/0.3402, allocations: 57.59 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.3402, allocations: 8.062 kB / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.3402, allocations: 3.938 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.3402, allocations: 0 / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.704e-05/0.3403, allocations: 15.98 kB / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.3403, allocations: 3.938 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.013e-05/0.3404, allocations: 11.89 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.557e-06/0.3404, allocations: 0 / 1.33 GB, free: 13.99 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.566e-05/0.3404, allocations: 113.8 kB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.283e-05/0.3405, allocations: 7.953 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.111e-05/0.3405, allocations: 19.73 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.3405, allocations: 0 / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.3405, allocations: 0 / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.3405, allocations: 0 / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004356/0.341, allocations: 445.8 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.341, allocations: 0 / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.138e-05/0.341, allocations: 4 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.341, allocations: 4.062 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.079e-06/0.341, allocations: 0 / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.341, allocations: 4 kB / 1.331 GB, free: 13.33 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.341, allocations: 0 / 1.331 GB, free: 13.33 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.506e-05/0.3411, allocations: 85.81 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.087e-05/0.3411, allocations: 15.89 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.302e-05/0.3411, allocations: 0 / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.234e-05/0.3412, allocations: 8.031 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.93e-05/0.3412, allocations: 11.92 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-06/0.3412, allocations: 0 / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001058/0.3413, allocations: 125.3 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.3413, allocations: 0 / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001899/0.3415, allocations: 8 kB / 1.331 GB, free: 13.06 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.0001081/0.3416, allocations: 95.23 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 9.501e-05/0.3417, allocations: 23.94 kB / 1.331 GB, free: 12.94 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.3417, allocations: 0 / 1.331 GB, free: 12.94 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.05e-05/0.3417, allocations: 4 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001585/0.3419, allocations: 15.84 kB / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003502/0.3422, allocations: 184.5 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003339/0.3425, allocations: 0.6965 MB / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.835e-05/0.3426, allocations: 11.44 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of SimCode: time 3.01e-07/0.3426, allocations: 0 / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of Templates: time 0.002444/0.3451, allocations: 0.8716 MB / 1.333 GB, free: 11.09 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_cfm.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_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.970900593994884]