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.007527/0.007528, allocations: 101.1 kB / 15.88 MB, free: 5.867 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.00157/0.00157, allocations: 192.7 kB / 16.79 MB, free: 5.809 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.406/1.406, allocations: 222.9 MB / 240.5 MB, free: 4.555 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.418/2.418, allocations: 390.2 MB / 0.6649 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001478/0.001478, allocations: 67.89 kB / 0.8125 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7347/0.7362, allocations: 140.4 MB / 0.9496 GB, free: 9.156 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.00217/0.7384, allocations: 0.8719 MB / 0.9504 GB, free: 8.484 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001026/0.7385, allocations: 45.28 kB / 0.9505 GB, free: 8.445 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.453e-05/0.7386, allocations: 1.375 kB / 0.9505 GB, free: 8.445 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.249e-05/0.7387, allocations: 9.297 kB / 0.9505 GB, free: 8.438 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.06e-05/0.7387, allocations: 7.938 kB / 0.9505 GB, free: 8.43 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.679e-05/0.7388, allocations: 12.12 kB / 0.9505 GB, free: 8.422 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001009/0.7389, allocations: 57.84 kB / 0.9506 GB, free: 8.387 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000168/0.7391, allocations: 39.09 kB / 0.9506 GB, free: 8.363 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.228e-05/0.7391, allocations: 32.05 kB / 0.9506 GB, free: 8.34 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.432e-05/0.7392, allocations: 19.98 kB / 0.9507 GB, free: 8.324 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.39e-05/0.7392, allocations: 4.125 kB / 0.9507 GB, free: 8.324 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.335e-05/0.7393, allocations: 8.062 kB / 0.9507 GB, free: 8.32 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.469e-05/0.7393, allocations: 22.66 kB / 0.9507 GB, free: 8.301 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.493e-05/0.7393, allocations: 25.31 kB / 0.9507 GB, free: 8.281 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.193e-05/0.7394, allocations: 52.86 kB / 0.9508 GB, free: 8.242 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.7394, allocations: 0 / 0.9508 GB, free: 8.242 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.383e-06/0.7395, allocations: 4 kB / 0.9508 GB, free: 8.238 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.564e-06/0.7395, allocations: 0 / 0.9508 GB, free: 8.238 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.0004585/0.7399, allocations: 378.4 kB / 0.9511 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.74, allocations: 9.625 kB / 0.9511 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.225e-05/0.74, allocations: 14.34 kB / 0.9511 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001905/0.7402, allocations: 193.8 kB / 0.9513 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.7403, allocations: 3.125 kB / 0.9513 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.536e-05/0.7403, allocations: 9.875 kB / 0.9513 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001568/0.7404, allocations: 91.95 kB / 0.9514 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.7405, allocations: 192 / 0.9514 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/0.7405, allocations: 9.312 kB / 0.9514 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.7405, allocations: 1.375 kB / 0.9514 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.778e-05/0.7406, allocations: 39.17 kB / 0.9515 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004847/0.7411, allocations: 441.2 kB / 0.9519 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.966e-05/0.7411, allocations: 41.69 kB / 0.9519 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.301e-05/0.7412, allocations: 16.03 kB / 0.952 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.219e-05/0.7412, allocations: 0 / 0.952 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.625e-05/0.7412, allocations: 39.88 kB / 0.952 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.7412, allocations: 0 / 0.952 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001664/0.7414, allocations: 58.88 kB / 0.9521 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.91e-05/0.7414, allocations: 82.14 kB / 0.9521 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/0.7415, allocations: 159.4 kB / 0.9523 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.835e-06/0.7415, allocations: 29.7 kB / 0.9523 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.287e-05/0.7416, allocations: 104.6 kB / 0.9524 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.084e-06/0.7416, allocations: 13.33 kB / 0.9524 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.792e-05/0.7416, allocations: 17.38 kB / 0.9524 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.384e-05/0.7417, allocations: 321.4 kB / 0.9527 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.647e-05/0.7417, allocations: 2.594 kB / 0.9527 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.692e-05/0.7417, allocations: 18.62 kB / 0.9528 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.623e-05/0.7418, allocations: 27.03 kB / 0.9528 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.7418, allocations: 0 / 0.9528 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.768e-05/0.7419, allocations: 63.56 kB / 0.9529 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.7419, allocations: 4.75 kB / 0.9529 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.7419, allocations: 5.062 kB / 0.9529 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.7419, allocations: 7.922 kB / 0.9529 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.56e-05/0.742, allocations: 9.625 kB / 0.9529 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.742, allocations: 1.344 kB / 0.9529 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.851e-05/0.742, allocations: 2.594 kB / 0.9529 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-06/0.7421, allocations: 1.062 kB / 0.9529 GB, free: 6.074 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.202e-05/0.7421, allocations: 125.7 kB / 0.953 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.076e-05/0.7422, allocations: 7.875 kB / 0.953 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.338e-05/0.7422, allocations: 14.53 kB / 0.953 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.7422, allocations: 1.406 kB / 0.953 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.7422, allocations: 0 / 0.953 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.7422, allocations: 1.281 kB / 0.953 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002765/0.7425, allocations: 473.3 kB / 0.9535 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.7425, allocations: 1.5 kB / 0.9535 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.879e-05/0.7425, allocations: 10.73 kB / 0.9535 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/0.7425, allocations: 1.406 kB / 0.9535 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.38e-06/0.7426, allocations: 0 / 0.9535 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.7426, allocations: 1.5 kB / 0.9535 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.7426, allocations: 0 / 0.9535 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.976e-05/0.7426, allocations: 82.47 kB / 0.9536 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.031e-05/0.7427, allocations: 91.94 kB / 0.9537 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.64e-05/0.7427, allocations: 1.094 kB / 0.9537 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.073e-05/0.7427, allocations: 5.062 kB / 0.9537 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.506e-05/0.7427, allocations: 1 kB / 0.9537 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.7427, allocations: 5.125 kB / 0.9537 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.824e-05/0.7428, allocations: 121.4 kB / 0.9538 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7428, allocations: 0 / 0.9538 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001941/0.743, allocations: 6.469 kB / 0.9538 GB, free: 5.121 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 (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.0001071/0.7431, allocations: 100.4 kB / 0.9539 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.697e-05/0.7432, allocations: 18.89 kB / 0.9539 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.7432, allocations: 0 / 0.9539 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.183e-05/0.7432, allocations: 7.594 kB / 0.9539 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001649/0.7434, allocations: 14.25 kB / 0.9539 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003103/0.7437, allocations: 217.6 kB / 0.9541 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001027/0.7438, allocations: 0.6898 MB / 0.9548 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.309e-05/0.7439, allocations: 12.09 kB / 0.9548 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of SimCode: time 3.51e-07/0.7439, allocations: 4 kB / 0.9548 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of Templates: time 0.002338/0.7462, allocations: 0.8506 MB / 0.9557 GB, free: 3.648 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","/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