Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001727/0.001727, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002036/0.002037, allocations: 190.9 kB / 16.25 MB, free: 6.637 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.551/1.551, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.979/2.979, allocations: 437 MB / 0.7101 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002013/0.002014, allocations: 67.89 kB / 0.8687 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7309/0.733, allocations: 151.6 MB / 1.017 GB, free: 2.719 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.002179/0.7352, allocations: 0.8973 MB / 1.018 GB, free: 1.824 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001083/0.7353, allocations: 39.78 kB / 1.018 GB, free: 1.785 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.617e-05/0.7354, allocations: 0 / 1.018 GB, free: 1.785 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.233e-05/0.7354, allocations: 7.922 kB / 1.018 GB, free: 1.777 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.025e-05/0.7355, allocations: 4 kB / 1.018 GB, free: 1.773 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 4.504e-05/0.7355, allocations: 12 kB / 1.018 GB, free: 1.762 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001017/0.7357, allocations: 63.78 kB / 1.018 GB, free: 1.699 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000162/0.7358, allocations: 47.97 kB / 1.018 GB, free: 1.652 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.558e-05/0.7359, allocations: 23.86 kB / 1.018 GB, free: 1.629 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.134e-05/0.736, allocations: 27.86 kB / 1.018 GB, free: 1.602 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.517e-05/0.736, allocations: 8 kB / 1.018 GB, free: 1.594 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.198e-05/0.736, allocations: 8 kB / 1.018 GB, free: 1.586 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.024e-05/0.736, allocations: 11.92 kB / 1.018 GB, free: 1.574 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.427e-05/0.7361, allocations: 35.8 kB / 1.018 GB, free: 1.539 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001129/0.7362, allocations: 77.61 kB / 1.018 GB, free: 1.465 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.7362, allocations: 0 / 1.018 GB, free: 1.465 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.733e-06/0.7362, allocations: 0 / 1.018 GB, free: 1.465 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.528e-06/0.7362, allocations: 0 / 1.018 GB, free: 1.465 MB / 0.7637 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.0004762/0.7367, allocations: 379.2 kB / 1.018 GB, free: 1.043 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.7367, allocations: 12.03 kB / 1.018 GB, free: 1.031 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.796e-05/0.7368, allocations: 16.83 kB / 1.018 GB, free: 1.016 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002271/0.737, allocations: 188.2 kB / 1.019 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/0.737, allocations: 12.36 kB / 1.019 GB, free: 0.7812 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.148e-05/0.7371, allocations: 4.375 kB / 1.019 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001752/0.7372, allocations: 101.4 kB / 1.019 GB, free: 0.668 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.697e-06/0.7373, allocations: 192 / 1.019 GB, free: 0.668 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.7373, allocations: 3.938 kB / 1.019 GB, free: 0.6641 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.7373, allocations: 4 kB / 1.019 GB, free: 0.6602 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.056e-05/0.7374, allocations: 51.84 kB / 1.019 GB, free: 0.6094 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00057/0.7379, allocations: 424.7 kB / 1.019 GB, free: 144 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 5.682e-05/0.738, allocations: 41.16 kB / 1.019 GB, free: 84 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.768e-05/0.7381, allocations: 25.81 kB / 1.019 GB, free: 52 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 7.815e-06/0.7381, allocations: 0 / 1.019 GB, free: 52 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.86e-05/0.7381, allocations: 34.56 kB / 1.019 GB, free: 8 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.7381, allocations: 0 / 1.019 GB, free: 8 kB / 0.7637 GB Notification: Performance of matching and sorting (n=2): time 0.000189/0.7383, allocations: 57.55 kB / 1.019 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.849e-05/0.7384, allocations: 81.36 kB / 1.019 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001844/0.7386, allocations: 164.3 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/0.7386, allocations: 25.7 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.124e-05/0.7387, allocations: 107.9 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.119e-05/0.7387, allocations: 11.91 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.081e-05/0.7387, allocations: 13.72 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.7389, allocations: 318.8 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.871e-05/0.7389, allocations: 8 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.25e-05/0.7389, allocations: 17.72 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.641e-05/0.739, allocations: 33.64 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.739, allocations: 0 / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.701e-05/0.7391, allocations: 57.55 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.7391, allocations: 4 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.7391, allocations: 3.938 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.7391, allocations: 4.062 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.855e-05/0.7392, allocations: 11.98 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.002e-06/0.7392, allocations: 0 / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.942e-05/0.7392, allocations: 4 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.7393, allocations: 0 / 1.02 GB, free: 15.02 MB / 0.7794 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 9.452e-05/0.7394, allocations: 114.6 kB / 1.02 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.347e-05/0.7394, allocations: 11.81 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.735e-05/0.7394, allocations: 15.81 kB / 1.02 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.614e-06/0.7394, allocations: 0 / 1.02 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/0.7395, allocations: 7.984 kB / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.7395, allocations: 0 / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004464/0.7399, allocations: 470.8 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.7399, allocations: 0 / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.963e-05/0.74, allocations: 4 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.908e-06/0.74, allocations: 0 / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.914e-06/0.74, allocations: 7.938 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.74, allocations: 4.062 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.74, allocations: 4 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001008/0.7401, allocations: 81.77 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.353e-05/0.7402, allocations: 96.89 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.29e-05/0.7402, allocations: 0 / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.997e-05/0.7402, allocations: 0 / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.464e-05/0.7402, allocations: 8.016 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-06/0.7402, allocations: 4 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001043/0.7403, allocations: 121.5 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7404, allocations: 0 / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001888/0.7405, allocations: 8 kB / 1.021 GB, free: 13.97 MB / 0.7794 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.0001177/0.7407, allocations: 95.25 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 9.377e-05/0.7408, allocations: 19.94 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.7408, allocations: 128 / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.432e-05/0.7408, allocations: 12 kB / 1.021 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001593/0.741, allocations: 7.938 kB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003314/0.7413, allocations: 186.9 kB / 1.021 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003217/0.7416, allocations: 0.6885 MB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.833e-05/0.7417, allocations: 8.422 kB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.539e-05/0.7417, allocations: 11.44 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of SimCode: time 3.01e-07/0.7417, allocations: 0 / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of Templates: time 0.00275/0.7445, allocations: 456.5 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_cfm.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches