Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.To_cfm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 115.8 kB / 16.37 MB, free: 6.012 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.001034/0.001034, allocations: 193.4 kB / 17.31 MB, free: 5.613 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.345/1.345, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.54/2.54, allocations: 437.1 MB / 0.7112 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 64.48 kB / 0.8707 GB, free: 1.473 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2941/0.2954, allocations: 151.6 MB / 1.019 GB, free: 9.879 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.001968/0.2974, allocations: 0.8369 MB / 1.02 GB, free: 9.039 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 9.636e-05/0.2975, allocations: 35.8 kB / 1.02 GB, free: 9.004 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.999e-05/0.2975, allocations: 0 / 1.02 GB, free: 9.004 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.802e-05/0.2976, allocations: 7.875 kB / 1.02 GB, free: 8.996 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.356e-05/0.2977, allocations: 11.92 kB / 1.02 GB, free: 8.984 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 4.113e-05/0.2977, allocations: 23.97 kB / 1.02 GB, free: 8.961 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 8.996e-05/0.2978, allocations: 67.69 kB / 1.02 GB, free: 8.895 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.2979, allocations: 43.97 kB / 1.02 GB, free: 8.852 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 4.468e-05/0.298, allocations: 27.86 kB / 1.02 GB, free: 8.824 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.556e-05/0.298, allocations: 27.8 kB / 1.02 GB, free: 8.797 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.455e-05/0.2981, allocations: 8 kB / 1.02 GB, free: 8.789 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 9.047e-06/0.2981, allocations: 8 kB / 1.02 GB, free: 8.781 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.592e-05/0.2981, allocations: 15.92 kB / 1.02 GB, free: 8.766 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.506e-05/0.2981, allocations: 39.73 kB / 1.02 GB, free: 8.727 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 8.945e-05/0.2982, allocations: 71.7 kB / 1.02 GB, free: 8.656 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.2982, allocations: 0 / 1.02 GB, free: 8.656 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.753e-06/0.2982, allocations: 0 / 1.02 GB, free: 8.656 MB / 0.795 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.2983, allocations: 0 / 1.02 GB, free: 8.656 MB / 0.795 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.0003815/0.2986, allocations: 375.2 kB / 1.02 GB, free: 8.238 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.2987, allocations: 12.92 kB / 1.02 GB, free: 8.227 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.148e-05/0.2987, allocations: 8.844 kB / 1.02 GB, free: 8.219 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001785/0.2989, allocations: 196.1 kB / 1.021 GB, free: 7.988 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.2989, allocations: 4.375 kB / 1.021 GB, free: 7.984 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.252e-05/0.2989, allocations: 8.375 kB / 1.021 GB, free: 7.977 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001453/0.2991, allocations: 95.86 kB / 1.021 GB, free: 7.871 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.2991, allocations: 4.188 kB / 1.021 GB, free: 7.867 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.2991, allocations: 3.938 kB / 1.021 GB, free: 7.863 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.2991, allocations: 4 kB / 1.021 GB, free: 7.859 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.053e-05/0.2992, allocations: 39.92 kB / 1.021 GB, free: 7.82 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005118/0.2997, allocations: 440.5 kB / 1.021 GB, free: 7.336 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 5.626e-05/0.2998, allocations: 45.34 kB / 1.021 GB, free: 7.273 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.317e-05/0.2998, allocations: 13.78 kB / 1.021 GB, free: 7.254 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 9.197e-06/0.2999, allocations: 7.938 kB / 1.021 GB, free: 7.246 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/0.2999, allocations: 38.5 kB / 1.021 GB, free: 7.199 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.2999, allocations: 0 / 1.021 GB, free: 7.199 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0001643/0.3001, allocations: 61.56 kB / 1.021 GB, free: 7.133 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.625e-05/0.3001, allocations: 77.11 kB / 1.021 GB, free: 7.039 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000145/0.3003, allocations: 165 kB / 1.022 GB, free: 6.871 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.203e-05/0.3003, allocations: 25.7 kB / 1.022 GB, free: 6.84 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.322e-05/0.3004, allocations: 104 kB / 1.022 GB, free: 6.734 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 9.398e-06/0.3004, allocations: 7.906 kB / 1.022 GB, free: 6.727 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.88e-05/0.3004, allocations: 13.72 kB / 1.022 GB, free: 6.707 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.3005, allocations: 323 kB / 1.022 GB, free: 6.383 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.546e-05/0.3006, allocations: 8 kB / 1.022 GB, free: 6.375 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.13e-05/0.3006, allocations: 17.72 kB / 1.022 GB, free: 6.352 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.752e-05/0.3006, allocations: 21.72 kB / 1.022 GB, free: 6.324 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3006, allocations: 0 / 1.022 GB, free: 6.324 MB / 0.795 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.335e-05/0.3007, allocations: 65.53 kB / 1.022 GB, free: 6.254 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.3007, allocations: 4.062 kB / 1.022 GB, free: 6.25 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.3007, allocations: 7.938 kB / 1.022 GB, free: 6.242 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.3008, allocations: 0 / 1.022 GB, free: 6.242 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.471e-05/0.3008, allocations: 8 kB / 1.022 GB, free: 6.234 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.3008, allocations: 3.984 kB / 1.022 GB, free: 6.23 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.14e-05/0.3009, allocations: 11.84 kB / 1.022 GB, free: 6.219 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.148e-06/0.3009, allocations: 0 / 1.022 GB, free: 6.219 MB / 0.795 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 8.622e-05/0.301, allocations: 118.4 kB / 1.022 GB, free: 6.094 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.626e-05/0.301, allocations: 7.906 kB / 1.022 GB, free: 6.086 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.74e-05/0.301, allocations: 19.81 kB / 1.022 GB, free: 6.066 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.3011, allocations: 0 / 1.022 GB, free: 6.066 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.3011, allocations: 0 / 1.022 GB, free: 6.066 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.3011, allocations: 0 / 1.022 GB, free: 6.066 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003788/0.3015, allocations: 470.8 kB / 1.023 GB, free: 5.543 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.3015, allocations: 0 / 1.023 GB, free: 5.543 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.787e-05/0.3015, allocations: 4 kB / 1.023 GB, free: 5.539 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.3015, allocations: 0 / 1.023 GB, free: 5.539 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.685e-06/0.3015, allocations: 8.062 kB / 1.023 GB, free: 5.531 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.237e-06/0.3015, allocations: 4 kB / 1.023 GB, free: 5.527 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.3015, allocations: 0 / 1.023 GB, free: 5.527 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.175e-05/0.3016, allocations: 81.77 kB / 1.023 GB, free: 5.426 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.726e-05/0.3017, allocations: 85.02 kB / 1.023 GB, free: 5.324 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.425e-05/0.3017, allocations: 0 / 1.023 GB, free: 5.324 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.24e-05/0.3017, allocations: 8.031 kB / 1.023 GB, free: 5.316 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.084e-05/0.3017, allocations: 4.031 kB / 1.023 GB, free: 5.312 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.926e-06/0.3017, allocations: 7.984 kB / 1.023 GB, free: 5.305 MB / 0.795 GB Notification: Performance of sorting global known variables: time 9.403e-05/0.3018, allocations: 125.4 kB / 1.023 GB, free: 5.184 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3018, allocations: 0 / 1.023 GB, free: 5.184 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0001824/0.302, allocations: 4 kB / 1.023 GB, free: 5.18 MB / 0.795 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.0001118/0.3021, allocations: 103.2 kB / 1.023 GB, free: 5.066 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 8.504e-05/0.3022, allocations: 20 kB / 1.023 GB, free: 5.047 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3022, allocations: 0 / 1.023 GB, free: 5.047 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.233e-05/0.3023, allocations: 11.94 kB / 1.023 GB, free: 5.035 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001424/0.3024, allocations: 3.938 kB / 1.023 GB, free: 5.031 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002892/0.3027, allocations: 162.8 kB / 1.023 GB, free: 4.836 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002865/0.303, allocations: 0.697 MB / 1.024 GB, free: 4.113 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 3.003e-05/0.303, allocations: 8.422 kB / 1.024 GB, free: 4.105 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.411e-05/0.3031, allocations: 11.44 kB / 1.024 GB, free: 4.094 MB / 0.795 GB Notification: Performance of SimCode: time 2.3e-07/0.3031, allocations: 0 / 1.024 GB, free: 4.094 MB / 0.795 GB Notification: Performance of Templates: time 0.002217/0.3053, allocations: 454.1 kB / 1.024 GB, free: 3.652 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_cfm.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches