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.001764/0.001764, allocations: 111.3 kB / 15.24 MB, free: 0.6484 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.002465/0.002464, allocations: 201.3 kB / 16.14 MB, free: 6.594 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.466/1.466, allocations: 222.9 MB / 239.8 MB, free: 4.559 MB / 190.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.545/2.545, allocations: 390.2 MB / 0.6642 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 71.89 kB / 0.8119 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8294/0.8307, allocations: 140.4 MB / 0.9489 GB, free: 9.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.002281/0.833, allocations: 0.8699 MB / 0.9498 GB, free: 8.461 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001087/0.8331, allocations: 47.88 kB / 0.9498 GB, free: 8.418 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.441e-05/0.8332, allocations: 6.438 kB / 0.9498 GB, free: 8.414 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.108e-05/0.8333, allocations: 3.938 kB / 0.9498 GB, free: 8.41 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.806e-05/0.8333, allocations: 3.938 kB / 0.9498 GB, free: 8.406 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.05e-05/0.8334, allocations: 16.42 kB / 0.9498 GB, free: 8.395 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.579e-05/0.8335, allocations: 53.94 kB / 0.9499 GB, free: 8.363 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001615/0.8337, allocations: 39.53 kB / 0.9499 GB, free: 8.34 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.802e-05/0.8337, allocations: 27.03 kB / 0.95 GB, free: 8.32 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.304e-05/0.8338, allocations: 29.28 kB / 0.95 GB, free: 8.297 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.932e-05/0.8338, allocations: 2.75 kB / 0.95 GB, free: 8.297 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.262e-05/0.8338, allocations: 4 kB / 0.95 GB, free: 8.297 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.516e-05/0.8338, allocations: 18.67 kB / 0.95 GB, free: 8.281 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.32e-05/0.8339, allocations: 30.64 kB / 0.95 GB, free: 8.258 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000106/0.834, allocations: 70.06 kB / 0.9501 GB, free: 8.203 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.834, allocations: 0 / 0.9501 GB, free: 8.203 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.242e-06/0.834, allocations: 0 / 0.9501 GB, free: 8.203 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.834, allocations: 0 / 0.9501 GB, free: 8.203 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.0004115/0.8345, allocations: 379 kB / 0.9505 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.8345, allocations: 13.56 kB / 0.9505 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.521e-05/0.8345, allocations: 10.34 kB / 0.9505 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001736/0.8347, allocations: 201.7 kB / 0.9507 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.8347, allocations: 7.109 kB / 0.9507 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.781e-05/0.8348, allocations: 13.88 kB / 0.9507 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000153/0.8349, allocations: 90.05 kB / 0.9508 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.8349, allocations: 1.562 kB / 0.9508 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.8349, allocations: 7.938 kB / 0.9508 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.835, allocations: 2.75 kB / 0.9508 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.574e-05/0.835, allocations: 35.23 kB / 0.9508 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004871/0.8355, allocations: 437.9 kB / 0.9513 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.218e-05/0.8356, allocations: 37.27 kB / 0.9513 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.699e-05/0.8356, allocations: 23.22 kB / 0.9513 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.947e-06/0.8357, allocations: 4 kB / 0.9513 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.179e-05/0.8357, allocations: 35.97 kB / 0.9514 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.353e-06/0.8357, allocations: 0 / 0.9514 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.000168/0.8359, allocations: 59.23 kB / 0.9514 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.56e-05/0.8359, allocations: 82.47 kB / 0.9515 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001372/0.836, allocations: 155.4 kB / 0.9516 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.283e-06/0.8361, allocations: 25.7 kB / 0.9517 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.454e-05/0.8361, allocations: 116.2 kB / 0.9518 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 9.527e-06/0.8361, allocations: 9.219 kB / 0.9518 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.054e-05/0.8362, allocations: 21.83 kB / 0.9518 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.976e-05/0.8362, allocations: 316.2 kB / 0.9521 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.938e-05/0.8363, allocations: 8.109 kB / 0.9521 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.886e-05/0.8363, allocations: 17.84 kB / 0.9521 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.327e-05/0.8363, allocations: 30.84 kB / 0.9522 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.8363, allocations: 0 / 0.9522 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.232e-05/0.8364, allocations: 59.19 kB / 0.9522 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.8364, allocations: 5.781 kB / 0.9522 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.8364, allocations: 7.922 kB / 0.9522 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.8365, allocations: 1.5 kB / 0.9522 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.238e-05/0.8365, allocations: 4.625 kB / 0.9522 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.8366, allocations: 4.969 kB / 0.9522 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.79e-05/0.8366, allocations: 2.719 kB / 0.9522 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.969e-06/0.8366, allocations: 5.375 kB / 0.9522 GB, free: 6.023 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 5.983e-05/0.8367, allocations: 113.7 kB / 0.9524 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.138e-05/0.8367, allocations: 7.906 kB / 0.9524 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.353e-05/0.8367, allocations: 18.23 kB / 0.9524 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.8367, allocations: 1.625 kB / 0.9524 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.8368, allocations: 3.938 kB / 0.9524 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.8368, allocations: 1.594 kB / 0.9524 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00028/0.837, allocations: 474.2 kB / 0.9528 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-06/0.8371, allocations: 0 / 0.9528 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.843e-05/0.8371, allocations: 3.281 kB / 0.9528 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.307e-06/0.8371, allocations: 1.25 kB / 0.9528 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.8371, allocations: 0 / 0.9528 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.8371, allocations: 4.984 kB / 0.9528 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.8371, allocations: 1.5 kB / 0.9528 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.274e-05/0.8372, allocations: 85.03 kB / 0.9529 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.197e-05/0.8372, allocations: 93 kB / 0.953 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.39e-05/0.8372, allocations: 1.562 kB / 0.953 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.862e-05/0.8373, allocations: 0 / 0.953 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.184e-05/0.8373, allocations: 1.406 kB / 0.953 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-06/0.8373, allocations: 1.375 kB / 0.953 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.135e-05/0.8374, allocations: 124.3 kB / 0.9531 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9.82e-07/0.8374, allocations: 5.281 kB / 0.9531 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000177/0.8375, allocations: 10.53 kB / 0.9532 GB, free: 5.07 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 9.782e-05/0.8376, allocations: 97 kB / 0.9532 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.684e-05/0.8377, allocations: 22.02 kB / 0.9533 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.8377, allocations: 0 / 0.9533 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.101e-05/0.8377, allocations: 3.906 kB / 0.9533 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001572/0.8379, allocations: 14.25 kB / 0.9533 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002683/0.8382, allocations: 179.1 kB / 0.9535 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000135/0.8383, allocations: 0.6981 MB / 0.9541 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3e-05/0.8384, allocations: 4.812 kB / 0.9541 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.343e-05/0.8384, allocations: 11.06 kB / 0.9542 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of SimCode: time 3.41e-07/0.8384, allocations: 0 / 0.9542 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of Templates: time 0.002434/0.8408, allocations: 434.5 kB / 0.9546 GB, free: 3.852 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/jenkins/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