Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001452/0.001452, allocations: 105.4 kB / 16.27 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00164/0.00164, allocations: 195.3 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.322/2.322, allocations: 390.3 MB / 0.6653 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 72.05 kB / 0.8132 GB, free: 33.07 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2372/0.2386, allocations: 140.4 MB / 0.9503 GB, free: 8.859 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.002056/0.2406, allocations: 0.8278 MB / 0.9511 GB, free: 8.027 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001217/0.2408, allocations: 39.8 kB / 0.9511 GB, free: 7.988 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.739e-05/0.2409, allocations: 0 / 0.9511 GB, free: 7.988 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.562e-05/0.2409, allocations: 7.875 kB / 0.9511 GB, free: 7.98 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.667e-05/0.241, allocations: 19.84 kB / 0.9511 GB, free: 7.961 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 4.392e-05/0.2411, allocations: 15.98 kB / 0.9512 GB, free: 7.945 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001054/0.2412, allocations: 63.84 kB / 0.9512 GB, free: 7.883 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001408/0.2413, allocations: 43.97 kB / 0.9513 GB, free: 7.84 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.634e-05/0.2414, allocations: 31.8 kB / 0.9513 GB, free: 7.809 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.517e-05/0.2414, allocations: 23.86 kB / 0.9513 GB, free: 7.785 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.823e-05/0.2415, allocations: 4 kB / 0.9513 GB, free: 7.781 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.047e-05/0.2415, allocations: 8 kB / 0.9513 GB, free: 7.773 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.884e-05/0.2415, allocations: 15.92 kB / 0.9513 GB, free: 7.758 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.567e-05/0.2415, allocations: 35.75 kB / 0.9514 GB, free: 7.723 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 9.848e-05/0.2416, allocations: 68.05 kB / 0.9514 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.2417, allocations: 3.984 kB / 0.9514 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.523e-06/0.2417, allocations: 0 / 0.9514 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.2417, allocations: 4 kB / 0.9515 GB, free: 7.648 MB / 0.7325 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.0003947/0.2421, allocations: 371.2 kB / 0.9518 GB, free: 7.234 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.2421, allocations: 12.03 kB / 0.9518 GB, free: 7.223 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.459e-05/0.2422, allocations: 12.84 kB / 0.9518 GB, free: 7.211 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001962/0.2424, allocations: 200.1 kB / 0.952 GB, free: 6.977 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.2424, allocations: 8.375 kB / 0.952 GB, free: 6.969 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.138e-05/0.2424, allocations: 4.375 kB / 0.952 GB, free: 6.965 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001429/0.2425, allocations: 95.86 kB / 0.9521 GB, free: 6.859 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.2426, allocations: 192 / 0.9521 GB, free: 6.859 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.921e-05/0.2426, allocations: 11.88 kB / 0.9521 GB, free: 6.848 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/0.2426, allocations: 4 kB / 0.9521 GB, free: 6.844 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.12e-05/0.2427, allocations: 35.92 kB / 0.9522 GB, free: 6.809 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005007/0.2432, allocations: 440.6 kB / 0.9526 GB, free: 6.324 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 5.294e-05/0.2432, allocations: 37.34 kB / 0.9526 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.426e-05/0.2433, allocations: 21.78 kB / 0.9527 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 6.843e-06/0.2433, allocations: 0 / 0.9527 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.206e-05/0.2433, allocations: 34.56 kB / 0.9527 GB, free: 6.199 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.2433, allocations: 0 / 0.9527 GB, free: 6.199 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0001685/0.2435, allocations: 57.47 kB / 0.9527 GB, free: 6.137 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.773e-05/0.2435, allocations: 77.11 kB / 0.9528 GB, free: 6.043 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001445/0.2437, allocations: 177.6 kB / 0.953 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.012e-05/0.2437, allocations: 29.64 kB / 0.953 GB, free: 5.828 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.47e-05/0.2438, allocations: 99.98 kB / 0.9531 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.109e-05/0.2438, allocations: 15.89 kB / 0.9531 GB, free: 5.711 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.046e-05/0.2438, allocations: 13.72 kB / 0.9531 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.2439, allocations: 318.8 kB / 0.9534 GB, free: 5.371 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.848e-05/0.244, allocations: 8 kB / 0.9534 GB, free: 5.363 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.081e-05/0.244, allocations: 17.72 kB / 0.9535 GB, free: 5.34 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.893e-05/0.244, allocations: 25.72 kB / 0.9535 GB, free: 5.309 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.244, allocations: 0 / 0.9535 GB, free: 5.309 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.321e-05/0.2441, allocations: 61.53 kB / 0.9535 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.2441, allocations: 4 kB / 0.9535 GB, free: 5.238 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.2442, allocations: 3.938 kB / 0.9536 GB, free: 5.234 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.2442, allocations: 4 kB / 0.9536 GB, free: 5.23 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.908e-05/0.2442, allocations: 8.062 kB / 0.9536 GB, free: 5.223 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.2443, allocations: 0 / 0.9536 GB, free: 5.223 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.284e-05/0.2443, allocations: 11.84 kB / 0.9536 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.284e-05/0.2443, allocations: 4 kB / 0.9536 GB, free: 5.207 MB / 0.7325 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 7.025e-05/0.2444, allocations: 117.8 kB / 0.9537 GB, free: 5.082 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.362e-05/0.2444, allocations: 7.906 kB / 0.9537 GB, free: 5.074 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.467e-05/0.2445, allocations: 15.81 kB / 0.9537 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.2445, allocations: 0 / 0.9537 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.2445, allocations: 0 / 0.9537 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.2445, allocations: 4 kB / 0.9537 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003574/0.2448, allocations: 474.7 kB / 0.9542 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.2449, allocations: 0 / 0.9542 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.133e-05/0.2449, allocations: 7.984 kB / 0.9542 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.2449, allocations: 0 / 0.9542 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.2449, allocations: 4 kB / 0.9542 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.2449, allocations: 0 / 0.9542 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.2449, allocations: 4 kB / 0.9542 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.096e-05/0.245, allocations: 77.91 kB / 0.9543 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.659e-05/0.2451, allocations: 93 kB / 0.9543 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.25e-05/0.2451, allocations: 0 / 0.9543 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.035e-05/0.2451, allocations: 0 / 0.9543 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.412e-05/0.2451, allocations: 7.938 kB / 0.9544 GB, free: 4.297 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-06/0.2451, allocations: 0 / 0.9544 GB, free: 4.297 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.587e-05/0.2452, allocations: 123.3 kB / 0.9545 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2452, allocations: 0 / 0.9545 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001892/0.2454, allocations: 8 kB / 0.9545 GB, free: 4.168 MB / 0.7325 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 9.037e-05/0.2455, allocations: 99.25 kB / 0.9546 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 7.923e-05/0.2456, allocations: 23.98 kB / 0.9546 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.2456, allocations: 0 / 0.9546 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.175e-05/0.2456, allocations: 12.06 kB / 0.9546 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001477/0.2458, allocations: 14.19 kB / 0.9546 GB, free: 4.016 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002926/0.2461, allocations: 180.5 kB / 0.9548 GB, free: 3.801 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002366/0.2463, allocations: 0.7 MB / 0.9555 GB, free: 3.074 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.343e-05/0.2464, allocations: 11.44 kB / 0.9555 GB, free: 3.062 MB / 0.7325 GB Notification: Performance of SimCode: time 2.21e-07/0.2464, allocations: 0 / 0.9555 GB, free: 3.062 MB / 0.7325 GB Notification: Performance of Templates: time 0.002039/0.2484, allocations: 0.8677 MB / 0.9563 GB, free: 2.191 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_cfm.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches