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.001227/0.001227, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00194/0.00194, allocations: 193.1 kB / 16.13 MB, free: 6.652 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.429/1.429, allocations: 222.9 MB / 239.8 MB, free: 4.598 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.649/2.649, allocations: 437 MB / 0.7099 GB, free: 5.398 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001222, allocations: 63.91 kB / 0.8685 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7994/0.8006, allocations: 151.6 MB / 1.017 GB, free: 2.832 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.002139/0.8028, allocations: 0.8935 MB / 1.017 GB, free: 1.941 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001137/0.8029, allocations: 39.78 kB / 1.018 GB, free: 1.902 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.316e-05/0.803, allocations: 4 kB / 1.018 GB, free: 1.898 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.577e-05/0.803, allocations: 3.938 kB / 1.018 GB, free: 1.895 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.701e-05/0.8031, allocations: 3.938 kB / 1.018 GB, free: 1.891 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 4.87e-05/0.8032, allocations: 19.98 kB / 1.018 GB, free: 1.871 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001085/0.8033, allocations: 59.84 kB / 1.018 GB, free: 1.812 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000149/0.8034, allocations: 35.97 kB / 1.018 GB, free: 1.777 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.063e-05/0.8035, allocations: 23.86 kB / 1.018 GB, free: 1.754 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.573e-05/0.8036, allocations: 27.84 kB / 1.018 GB, free: 1.727 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.933e-05/0.8036, allocations: 4 kB / 1.018 GB, free: 1.723 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.021e-05/0.8036, allocations: 4 kB / 1.018 GB, free: 1.719 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.498e-05/0.8036, allocations: 19.88 kB / 1.018 GB, free: 1.699 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.097e-05/0.8037, allocations: 31.8 kB / 1.018 GB, free: 1.668 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001126/0.8038, allocations: 73.67 kB / 1.018 GB, free: 1.598 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.8038, allocations: 3.938 kB / 1.018 GB, free: 1.594 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.112e-06/0.8038, allocations: 0 / 1.018 GB, free: 1.594 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.8038, allocations: 0 / 1.018 GB, free: 1.594 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.0004742/0.8043, allocations: 383.2 kB / 1.018 GB, free: 1.168 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.8044, allocations: 8.031 kB / 1.018 GB, free: 1.16 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.825e-05/0.8044, allocations: 8.844 kB / 1.018 GB, free: 1.152 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002008/0.8046, allocations: 196.2 kB / 1.018 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.286e-05/0.8046, allocations: 4.375 kB / 1.018 GB, free: 0.918 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.503e-05/0.8047, allocations: 12.31 kB / 1.018 GB, free: 0.9062 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001629/0.8048, allocations: 93.42 kB / 1.018 GB, free: 0.8047 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.8049, allocations: 4.172 kB / 1.018 GB, free: 0.8008 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.8049, allocations: 3.938 kB / 1.018 GB, free: 0.7969 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.8049, allocations: 4 kB / 1.019 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.594e-05/0.805, allocations: 39.92 kB / 1.019 GB, free: 0.7539 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005345/0.8055, allocations: 428.7 kB / 1.019 GB, free: 288 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 6.832e-05/0.8056, allocations: 49.17 kB / 1.019 GB, free: 220 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.795e-05/0.8056, allocations: 21.78 kB / 1.019 GB, free: 192 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 9.588e-06/0.8056, allocations: 4 kB / 1.019 GB, free: 188 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.367e-05/0.8057, allocations: 30.56 kB / 1.019 GB, free: 148 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.8057, allocations: 0 / 1.019 GB, free: 148 kB / 0.7637 GB Notification: Performance of matching and sorting (n=2): time 0.0001578/0.8058, allocations: 57.39 kB / 1.019 GB, free: 84 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.019e-05/0.8059, allocations: 85.34 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001342/0.806, allocations: 159.5 kB / 1.019 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.8061, allocations: 33.69 kB / 1.019 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.838e-05/0.8061, allocations: 99.98 kB / 1.019 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.161e-05/0.8062, allocations: 15.88 kB / 1.019 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.873e-05/0.8062, allocations: 13.72 kB / 1.019 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.8063, allocations: 314.8 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.204e-05/0.8063, allocations: 11.98 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.347e-05/0.8064, allocations: 21.66 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.511e-05/0.8064, allocations: 29.72 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.8064, allocations: 0 / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.633e-05/0.8065, allocations: 57.53 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.8065, allocations: 4 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.8065, allocations: 7.938 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.8065, allocations: 0 / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.605e-05/0.8066, allocations: 8.062 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.8066, allocations: 0 / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.808e-05/0.8067, allocations: 7.906 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.8067, allocations: 8 kB / 1.02 GB, free: 15.15 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 7.667e-05/0.8067, allocations: 114.6 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.38e-05/0.8068, allocations: 11.89 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.397e-05/0.8068, allocations: 15.81 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.8068, allocations: 0 / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.8068, allocations: 0 / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.8068, allocations: 8 kB / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003477/0.8072, allocations: 466.8 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.8072, allocations: 4 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.644e-05/0.8072, allocations: 0 / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.8072, allocations: 4 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.8073, allocations: 7.922 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.8073, allocations: 3.938 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.8073, allocations: 64 / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.87e-05/0.8074, allocations: 77.84 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.139e-05/0.8074, allocations: 96.94 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.401e-05/0.8074, allocations: 0 / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.966e-05/0.8075, allocations: 0 / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.041e-05/0.8075, allocations: 4 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-06/0.8075, allocations: 32 / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.714e-05/0.8076, allocations: 125.5 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8076, allocations: 0 / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001827/0.8078, allocations: 8 kB / 1.021 GB, free: 14.11 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.0001568/0.8079, allocations: 99.25 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.53e-05/0.808, allocations: 19.92 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.808, allocations: 0 / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.345e-05/0.8081, allocations: 12.19 kB / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001528/0.8082, allocations: 11.94 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003124/0.8085, allocations: 176.5 kB / 1.021 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002792/0.8088, allocations: 0.6966 MB / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.053e-05/0.8089, allocations: 8.438 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.449e-05/0.8089, allocations: 7.438 kB / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of SimCode: time 3.51e-07/0.8089, allocations: 7.938 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of Templates: time 0.002487/0.8114, allocations: 442.9 kB / 1.022 GB, free: 12.57 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=480 -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