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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0009745/0.0009745, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.000965/0.0009649, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.512/2.512, allocations: 390.3 MB / 0.6653 GB, free: 3.012 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003729/0.000373, allocations: 15.98 kB / 0.8145 GB, free: 14.29 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9256/0.926, allocations: 142.3 MB / 0.9535 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.001134/0.9272, allocations: 0.5176 MB / 0.954 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000125/0.9273, allocations: 45.42 kB / 0.9541 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.969e-05/0.9274, allocations: 1.344 kB / 0.9541 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.72e-05/0.9274, allocations: 3.938 kB / 0.9541 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.777e-05/0.9275, allocations: 13.53 kB / 0.9541 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.354e-05/0.9276, allocations: 15.88 kB / 0.9541 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.478e-05/0.9277, allocations: 35.84 kB / 0.9541 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001673/0.9279, allocations: 29.78 kB / 0.9541 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.132e-05/0.9279, allocations: 16.84 kB / 0.9542 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.036e-05/0.928, allocations: 24.12 kB / 0.9542 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.757e-05/0.928, allocations: 1.906 kB / 0.9542 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.266e-05/0.9281, allocations: 1.875 kB / 0.9542 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.765e-05/0.9281, allocations: 6.141 kB / 0.9542 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.373e-05/0.9281, allocations: 37.64 kB / 0.9542 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.284e-05/0.9282, allocations: 49.8 kB / 0.9543 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.9282, allocations: 0 / 0.9543 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.134e-06/0.9282, allocations: 0 / 0.9543 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.9283, allocations: 1.156 kB / 0.9543 GB, free: 7.469 MB / 0.7169 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.0004421/0.9287, allocations: 367.6 kB / 0.9546 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.506e-05/0.9288, allocations: 9.312 kB / 0.9546 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.568e-05/0.9288, allocations: 16.33 kB / 0.9547 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002145/0.929, allocations: 193.3 kB / 0.9548 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.911e-05/0.9291, allocations: 6.344 kB / 0.9548 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.576e-05/0.9291, allocations: 5 kB / 0.9549 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001756/0.9293, allocations: 95.83 kB / 0.9549 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.9293, allocations: 5.25 kB / 0.9549 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.571e-05/0.9293, allocations: 4 kB / 0.955 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.9293, allocations: 2.094 kB / 0.955 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.414e-05/0.9294, allocations: 35.22 kB / 0.955 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004981/0.9299, allocations: 442.9 kB / 0.9554 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.79e-05/0.93, allocations: 36.84 kB / 0.9554 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.824e-06/0.93, allocations: 0 / 0.9554 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.961e-05/0.93, allocations: 31.97 kB / 0.9555 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.93, allocations: 3.938 kB / 0.9555 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001712/0.9302, allocations: 51.77 kB / 0.9555 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.85e-05/0.9303, allocations: 85.05 kB / 0.9556 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001403/0.9304, allocations: 162.5 kB / 0.9558 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.021e-05/0.9304, allocations: 26.7 kB / 0.9558 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.274e-05/0.9305, allocations: 107.8 kB / 0.9559 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 9.799e-06/0.9305, allocations: 10 kB / 0.9559 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-06/0.9305, allocations: 3.938 kB / 0.9559 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.965e-05/0.9306, allocations: 325.9 kB / 0.9562 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.681e-05/0.9306, allocations: 11.22 kB / 0.9562 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.028e-05/0.9306, allocations: 22.25 kB / 0.9563 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.399e-05/0.9307, allocations: 8.844 kB / 0.9563 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.9307, allocations: 0 / 0.9563 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.669e-05/0.9308, allocations: 54.45 kB / 0.9563 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.9308, allocations: 5.531 kB / 0.9563 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.9308, allocations: 0 / 0.9563 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.9308, allocations: 5.719 kB / 0.9563 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.448e-05/0.9309, allocations: 12.73 kB / 0.9563 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.9309, allocations: 0.8125 kB / 0.9563 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.803e-05/0.9309, allocations: 2.656 kB / 0.9563 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.039e-06/0.9309, allocations: 1.406 kB / 0.9563 GB, free: 5.367 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.664e-05/0.931, allocations: 119.2 kB / 0.9565 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.831e-05/0.9311, allocations: 6.812 kB / 0.9565 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.461e-05/0.9311, allocations: 11.98 kB / 0.9565 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.9311, allocations: 0 / 0.9565 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.9311, allocations: 5.031 kB / 0.9565 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.9311, allocations: 0 / 0.9565 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002802/0.9314, allocations: 474.6 kB / 0.9569 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.9314, allocations: 1.219 kB / 0.9569 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.814e-05/0.9314, allocations: 2.562 kB / 0.9569 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.9314, allocations: 5.438 kB / 0.9569 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-06/0.9315, allocations: 0 / 0.9569 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.9315, allocations: 5.562 kB / 0.9569 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.9315, allocations: 0 / 0.9569 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.996e-05/0.9316, allocations: 92.12 kB / 0.957 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.683e-05/0.9316, allocations: 84.67 kB / 0.9571 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.704e-05/0.9316, allocations: 5.141 kB / 0.9571 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.989e-05/0.9316, allocations: 32 / 0.9571 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.543e-05/0.9317, allocations: 13.11 kB / 0.9571 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.425e-06/0.9317, allocations: 1.094 kB / 0.9571 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.195e-05/0.9317, allocations: 124.9 kB / 0.9572 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9318, allocations: 0 / 0.9572 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001836/0.9319, allocations: 12 kB / 0.9573 GB, free: 4.398 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001502/0.9321, allocations: 100.1 kB / 0.9574 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.763e-05/0.9322, allocations: 18.34 kB / 0.9574 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.9322, allocations: 0 / 0.9574 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.242e-05/0.9322, allocations: 7.875 kB / 0.9574 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001297/0.9324, allocations: 8.719 kB / 0.9574 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003846/0.9328, allocations: 185.1 kB / 0.9576 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001645/0.9329, allocations: 0.6967 MB / 0.9582 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.566e-05/0.933, allocations: 4.562 kB / 0.9582 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.677e-05/0.933, allocations: 10.69 kB / 0.9583 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of SimCode: time 1.81e-07/0.933, allocations: 0.9062 kB / 0.9583 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of Templates: time 0.002837/0.9358, allocations: 421 kB / 0.9587 GB, free: 3.172 MB / 0.7169 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","../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches