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.001608/0.001608, allocations: 104.2 kB / 15.99 MB, free: 6.355 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.001858/0.001858, allocations: 195.9 kB / 16.91 MB, free: 6.188 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.41/1.41, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.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.522/2.522, allocations: 437.1 MB / 0.7107 GB, free: 4.645 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001889/0.001889, allocations: 68.98 kB / 0.8694 GB, free: 2.531 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2981/0.3, allocations: 151.6 MB / 1.017 GB, free: 10.96 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.002345/0.3024, allocations: 0.8856 MB / 1.018 GB, free: 10.07 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0001367/0.3025, allocations: 43.72 kB / 1.018 GB, free: 10.03 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.7e-05/0.3026, allocations: 8 kB / 1.018 GB, free: 10.02 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.501e-05/0.3027, allocations: 7.922 kB / 1.018 GB, free: 10.02 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 8.111e-05/0.3028, allocations: 0 / 1.018 GB, free: 10.02 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 5.106e-05/0.3028, allocations: 16 kB / 1.018 GB, free: 10 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.000115/0.303, allocations: 67.69 kB / 1.018 GB, free: 9.934 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001517/0.3031, allocations: 43.97 kB / 1.019 GB, free: 9.891 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 5.105e-05/0.3032, allocations: 27.86 kB / 1.019 GB, free: 9.863 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.417e-05/0.3032, allocations: 23.86 kB / 1.019 GB, free: 9.84 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.971e-05/0.3033, allocations: 8 kB / 1.019 GB, free: 9.832 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 9.979e-06/0.3033, allocations: 4 kB / 1.019 GB, free: 9.828 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.5e-05/0.3033, allocations: 19.92 kB / 1.019 GB, free: 9.809 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.076e-05/0.3033, allocations: 35.73 kB / 1.019 GB, free: 9.773 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 9.815e-05/0.3034, allocations: 52.17 kB / 1.019 GB, free: 9.723 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.3035, allocations: 0 / 1.019 GB, free: 9.723 MB / 0.795 GB Notification: Performance of FrontEnd: time 3.356e-06/0.3035, allocations: 0 / 1.019 GB, free: 9.723 MB / 0.795 GB Notification: Performance of Transformations before backend: time 8.907e-06/0.3035, allocations: 7.938 kB / 1.019 GB, free: 9.715 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.0004743/0.304, allocations: 379.2 kB / 1.019 GB, free: 9.293 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.304, allocations: 8.625 kB / 1.019 GB, free: 9.285 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.413e-05/0.3041, allocations: 12.84 kB / 1.019 GB, free: 9.273 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000233/0.3043, allocations: 188.2 kB / 1.019 GB, free: 9.051 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.3043, allocations: 4.375 kB / 1.019 GB, free: 9.047 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.351e-05/0.3043, allocations: 8.375 kB / 1.019 GB, free: 9.039 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001695/0.3045, allocations: 106.6 kB / 1.019 GB, free: 8.926 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.3045, allocations: 192 / 1.019 GB, free: 8.926 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.3046, allocations: 7.938 kB / 1.019 GB, free: 8.918 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.3046, allocations: 0 / 1.019 GB, free: 8.918 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.122e-05/0.3046, allocations: 35.98 kB / 1.019 GB, free: 8.883 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005641/0.3052, allocations: 444.5 kB / 1.02 GB, free: 8.395 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 5.611e-05/0.3053, allocations: 37.16 kB / 1.02 GB, free: 8.34 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.891e-05/0.3053, allocations: 21.88 kB / 1.02 GB, free: 8.312 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 9.147e-06/0.3053, allocations: 3.984 kB / 1.02 GB, free: 8.309 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/0.3054, allocations: 38.56 kB / 1.02 GB, free: 8.262 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 1.443e-06/0.3054, allocations: 0 / 1.02 GB, free: 8.262 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.000176/0.3056, allocations: 61.47 kB / 1.02 GB, free: 8.195 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.843e-05/0.3056, allocations: 77.11 kB / 1.02 GB, free: 8.102 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001581/0.3058, allocations: 160.7 kB / 1.02 GB, free: 7.934 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.388e-05/0.3058, allocations: 25.7 kB / 1.02 GB, free: 7.902 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 7.82e-05/0.3059, allocations: 99.98 kB / 1.02 GB, free: 7.801 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 9.929e-06/0.3059, allocations: 12.08 kB / 1.02 GB, free: 7.789 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.588e-05/0.306, allocations: 21.72 kB / 1.02 GB, free: 7.762 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001596/0.3061, allocations: 322.8 kB / 1.021 GB, free: 7.438 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.858e-05/0.3062, allocations: 4 kB / 1.021 GB, free: 7.434 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.777e-05/0.3062, allocations: 17.72 kB / 1.021 GB, free: 7.41 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.28e-05/0.3062, allocations: 29.59 kB / 1.021 GB, free: 7.375 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.3063, allocations: 4 kB / 1.021 GB, free: 7.371 MB / 0.795 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.4e-05/0.3064, allocations: 61.59 kB / 1.021 GB, free: 7.305 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.3064, allocations: 4 kB / 1.021 GB, free: 7.301 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.3064, allocations: 3.938 kB / 1.021 GB, free: 7.297 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.3064, allocations: 3.938 kB / 1.021 GB, free: 7.293 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.43e-05/0.3065, allocations: 8 kB / 1.021 GB, free: 7.285 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.3065, allocations: 3.984 kB / 1.021 GB, free: 7.281 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.117e-05/0.3065, allocations: 7.844 kB / 1.021 GB, free: 7.273 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-06/0.3065, allocations: 8 kB / 1.021 GB, free: 7.266 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 0.0001103/0.3067, allocations: 123.1 kB / 1.021 GB, free: 7.137 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.164e-05/0.3067, allocations: 7.906 kB / 1.021 GB, free: 7.129 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.602e-05/0.3067, allocations: 11.81 kB / 1.021 GB, free: 7.117 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.3067, allocations: 4 kB / 1.021 GB, free: 7.113 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.3067, allocations: 0 / 1.021 GB, free: 7.113 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.3068, allocations: 0 / 1.021 GB, free: 7.113 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004288/0.3072, allocations: 466.8 kB / 1.021 GB, free: 6.594 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.3072, allocations: 4.062 kB / 1.021 GB, free: 6.59 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.234e-05/0.3072, allocations: 7.984 kB / 1.021 GB, free: 6.582 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.3072, allocations: 0 / 1.021 GB, free: 6.582 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.09e-06/0.3073, allocations: 0 / 1.021 GB, free: 6.582 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.3073, allocations: 0 / 1.021 GB, free: 6.582 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.3073, allocations: 4 kB / 1.021 GB, free: 6.578 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.003e-05/0.3074, allocations: 85.78 kB / 1.022 GB, free: 6.473 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 6.877e-05/0.3074, allocations: 89 kB / 1.022 GB, free: 6.367 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.333e-05/0.3075, allocations: 0 / 1.022 GB, free: 6.367 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.973e-05/0.3075, allocations: 0 / 1.022 GB, free: 6.367 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.746e-05/0.3075, allocations: 4 kB / 1.022 GB, free: 6.363 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-06/0.3075, allocations: 4 kB / 1.022 GB, free: 6.359 MB / 0.795 GB Notification: Performance of sorting global known variables: time 9.548e-05/0.3076, allocations: 119.2 kB / 1.022 GB, free: 6.242 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3076, allocations: 0 / 1.022 GB, free: 6.242 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0001869/0.3078, allocations: 4 kB / 1.022 GB, free: 6.238 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.0001493/0.308, allocations: 107.3 kB / 1.022 GB, free: 6.121 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 8.92e-05/0.3081, allocations: 15.94 kB / 1.022 GB, free: 6.105 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.3081, allocations: 0 / 1.022 GB, free: 6.105 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.276e-05/0.3081, allocations: 8 kB / 1.022 GB, free: 6.098 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000171/0.3083, allocations: 15.81 kB / 1.022 GB, free: 6.082 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003599/0.3086, allocations: 216.7 kB / 1.022 GB, free: 5.832 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003354/0.309, allocations: 0.6889 MB / 1.023 GB, free: 5.117 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.835e-05/0.309, allocations: 11.44 kB / 1.023 GB, free: 5.105 MB / 0.795 GB Notification: Performance of SimCode: time 2.9e-07/0.309, allocations: 0 / 1.023 GB, free: 5.105 MB / 0.795 GB Notification: Performance of Templates: time 0.002406/0.3114, allocations: 0.8639 MB / 1.024 GB, free: 4.242 MB / 0.795 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/jenkins1/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