Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_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.From_cfm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001129/0.001129, allocations: 105.6 kB / 16.27 MB, free: 6.414 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.001097/0.001097, allocations: 189.8 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.316/1.316, allocations: 222.9 MB / 240.9 MB, free: 15.26 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.247/2.247, allocations: 390.3 MB / 0.6653 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001449/0.001449, allocations: 64.22 kB / 0.8132 GB, free: 33.22 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2599/0.2613, allocations: 140.4 MB / 0.9503 GB, free: 8.902 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.002515/0.2639, allocations: 0.8274 MB / 0.9511 GB, free: 8.07 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001429/0.2641, allocations: 39.84 kB / 0.9511 GB, free: 8.031 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.122e-05/0.2641, allocations: 3.938 kB / 0.9511 GB, free: 8.027 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.446e-05/0.2642, allocations: 7.922 kB / 0.9511 GB, free: 8.02 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.221e-05/0.2643, allocations: 11.88 kB / 0.9511 GB, free: 8.008 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 5.315e-05/0.2644, allocations: 15.98 kB / 0.9512 GB, free: 7.992 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001189/0.2645, allocations: 63.84 kB / 0.9512 GB, free: 7.93 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001627/0.2647, allocations: 39.91 kB / 0.9513 GB, free: 7.891 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.156e-05/0.2647, allocations: 31.91 kB / 0.9513 GB, free: 7.859 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 9.4e-05/0.2648, allocations: 31.8 kB / 0.9513 GB, free: 7.828 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.754e-05/0.2649, allocations: 4 kB / 0.9513 GB, free: 7.824 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.392e-05/0.2649, allocations: 11.94 kB / 0.9513 GB, free: 7.812 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.575e-05/0.2649, allocations: 15.92 kB / 0.9513 GB, free: 7.797 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.333e-05/0.265, allocations: 31.81 kB / 0.9514 GB, free: 7.766 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001181/0.2651, allocations: 71.97 kB / 0.9514 GB, free: 7.695 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.2651, allocations: 0 / 0.9514 GB, free: 7.695 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.262e-06/0.2651, allocations: 0 / 0.9514 GB, free: 7.695 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.157e-06/0.2651, allocations: 0 / 0.9514 GB, free: 7.695 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.0004487/0.2656, allocations: 380.5 kB / 0.9518 GB, free: 7.273 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.2656, allocations: 12.03 kB / 0.9518 GB, free: 7.262 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.587e-05/0.2657, allocations: 8.844 kB / 0.9518 GB, free: 7.254 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000221/0.2659, allocations: 196.1 kB / 0.952 GB, free: 7.023 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.2659, allocations: 4.375 kB / 0.952 GB, free: 7.02 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.743e-05/0.2659, allocations: 8.375 kB / 0.952 GB, free: 7.012 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002204/0.2661, allocations: 95.8 kB / 0.9521 GB, free: 6.906 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.2662, allocations: 4.188 kB / 0.9521 GB, free: 6.902 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.542e-05/0.2662, allocations: 7.938 kB / 0.9521 GB, free: 6.895 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.2662, allocations: 4 kB / 0.9521 GB, free: 6.891 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.953e-05/0.2663, allocations: 31.98 kB / 0.9522 GB, free: 6.859 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005596/0.2669, allocations: 436.6 kB / 0.9526 GB, free: 6.379 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 5.92e-05/0.2669, allocations: 37.22 kB / 0.9526 GB, free: 6.324 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.74e-05/0.267, allocations: 17.78 kB / 0.9526 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 9.759e-06/0.267, allocations: 0 / 0.9526 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.267, allocations: 38.59 kB / 0.9527 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.267, allocations: 0 / 0.9527 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0001959/0.2672, allocations: 65.47 kB / 0.9527 GB, free: 6.184 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.309e-05/0.2673, allocations: 77.11 kB / 0.9528 GB, free: 6.09 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001503/0.2674, allocations: 169.1 kB / 0.953 GB, free: 5.918 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.22e-05/0.2675, allocations: 25.7 kB / 0.953 GB, free: 5.887 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.418e-05/0.2675, allocations: 108 kB / 0.9531 GB, free: 5.777 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.085e-05/0.2675, allocations: 11.89 kB / 0.9531 GB, free: 5.766 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.203e-05/0.2676, allocations: 13.72 kB / 0.9531 GB, free: 5.746 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.2677, allocations: 327.1 kB / 0.9534 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.861e-05/0.2677, allocations: 4 kB / 0.9534 GB, free: 5.414 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.59e-05/0.2678, allocations: 21.7 kB / 0.9535 GB, free: 5.387 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.875e-05/0.2678, allocations: 25.66 kB / 0.9535 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.2678, allocations: 0 / 0.9535 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.755e-05/0.2679, allocations: 65.62 kB / 0.9535 GB, free: 5.285 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.2679, allocations: 6.344 kB / 0.9536 GB, free: 5.281 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.2679, allocations: 3.938 kB / 0.9536 GB, free: 5.277 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.268, allocations: 0 / 0.9536 GB, free: 5.277 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.555e-05/0.268, allocations: 11.94 kB / 0.9536 GB, free: 5.266 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/0.268, allocations: 7.922 kB / 0.9536 GB, free: 5.258 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.873e-05/0.2681, allocations: 15.84 kB / 0.9536 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-06/0.2681, allocations: 0 / 0.9536 GB, free: 5.242 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 8.304e-05/0.2682, allocations: 113.8 kB / 0.9537 GB, free: 5.121 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.329e-05/0.2682, allocations: 7.938 kB / 0.9537 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.48e-05/0.2683, allocations: 19.81 kB / 0.9537 GB, free: 5.094 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.2683, allocations: 0 / 0.9537 GB, free: 5.094 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.2683, allocations: 0 / 0.9537 GB, free: 5.094 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.2683, allocations: 0 / 0.9537 GB, free: 5.094 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003794/0.2687, allocations: 470.8 kB / 0.9542 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.2687, allocations: 0 / 0.9542 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.037e-05/0.2687, allocations: 4 kB / 0.9542 GB, free: 4.566 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.2687, allocations: 4.062 kB / 0.9542 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-06/0.2687, allocations: 0 / 0.9542 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.2687, allocations: 4 kB / 0.9542 GB, free: 4.559 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2687, allocations: 0 / 0.9542 GB, free: 4.559 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001029/0.2688, allocations: 85.77 kB / 0.9543 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.276e-05/0.2689, allocations: 85.02 kB / 0.9543 GB, free: 4.352 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.515e-05/0.2689, allocations: 4.031 kB / 0.9544 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.163e-05/0.269, allocations: 0 / 0.9544 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.985e-05/0.269, allocations: 3.938 kB / 0.9544 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.222e-06/0.269, allocations: 7.984 kB / 0.9544 GB, free: 4.336 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 9.333e-05/0.2691, allocations: 121.3 kB / 0.9545 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2691, allocations: 0 / 0.9545 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001882/0.2693, allocations: 4 kB / 0.9545 GB, free: 4.215 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 0.0001092/0.2694, allocations: 103.8 kB / 0.9546 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 8.656e-05/0.2695, allocations: 23.94 kB / 0.9546 GB, free: 4.082 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.2695, allocations: 4 kB / 0.9546 GB, free: 4.078 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.091e-05/0.2695, allocations: 4 kB / 0.9546 GB, free: 4.074 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001634/0.2697, allocations: 7.938 kB / 0.9546 GB, free: 4.066 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003262/0.27, allocations: 188.8 kB / 0.9548 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002816/0.2703, allocations: 0.6961 MB / 0.9555 GB, free: 3.121 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.069e-05/0.2703, allocations: 11.44 kB / 0.9555 GB, free: 3.109 MB / 0.7325 GB Notification: Performance of SimCode: time 3.91e-07/0.2704, allocations: 0 / 0.9555 GB, free: 3.109 MB / 0.7325 GB Notification: Performance of Templates: time 0.002363/0.2727, allocations: 0.8716 MB / 0.9563 GB, free: 2.234 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_cfm.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches