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.001532/0.001533, allocations: 110 kB / 16.27 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.001531/0.001531, allocations: 189.6 kB / 17.2 MB, free: 5.953 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.45/1.45, allocations: 222.9 MB / 240.9 MB, free: 15.22 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.555/2.555, allocations: 437.1 MB / 0.7111 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001917/0.001917, allocations: 67.86 kB / 0.8699 GB, free: 2.184 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3177/0.3196, allocations: 151.6 MB / 1.018 GB, free: 10.62 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.00214/0.3218, allocations: 0.8232 MB / 1.019 GB, free: 9.793 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0001226/0.322, allocations: 43.8 kB / 1.019 GB, free: 9.75 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.673e-05/0.322, allocations: 0 / 1.019 GB, free: 9.75 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.282e-05/0.3221, allocations: 7.875 kB / 1.019 GB, free: 9.742 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.647e-05/0.3222, allocations: 15.86 kB / 1.019 GB, free: 9.727 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 5.056e-05/0.3222, allocations: 19.97 kB / 1.019 GB, free: 9.707 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001068/0.3223, allocations: 63.77 kB / 1.019 GB, free: 9.645 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001532/0.3225, allocations: 47.94 kB / 1.019 GB, free: 9.598 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 5.041e-05/0.3226, allocations: 27.88 kB / 1.019 GB, free: 9.57 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.701e-05/0.3226, allocations: 35.78 kB / 1.019 GB, free: 9.535 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.596e-05/0.3227, allocations: 4 kB / 1.019 GB, free: 9.531 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.349e-05/0.3227, allocations: 8 kB / 1.019 GB, free: 9.523 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.913e-05/0.3227, allocations: 11.94 kB / 1.019 GB, free: 9.512 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.479e-05/0.3227, allocations: 39.78 kB / 1.019 GB, free: 9.473 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 9.666e-05/0.3228, allocations: 64 kB / 1.019 GB, free: 9.41 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3229, allocations: 0 / 1.019 GB, free: 9.41 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.182e-06/0.3229, allocations: 0 / 1.019 GB, free: 9.41 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.3229, allocations: 0 / 1.019 GB, free: 9.41 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.0004658/0.3233, allocations: 385 kB / 1.02 GB, free: 8.984 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.3234, allocations: 12.92 kB / 1.02 GB, free: 8.973 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.111e-05/0.3234, allocations: 8.844 kB / 1.02 GB, free: 8.965 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002287/0.3237, allocations: 192.2 kB / 1.02 GB, free: 8.738 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.3237, allocations: 4.375 kB / 1.02 GB, free: 8.734 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.681e-05/0.3237, allocations: 8.375 kB / 1.02 GB, free: 8.727 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000155/0.3239, allocations: 95.84 kB / 1.02 GB, free: 8.621 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.3239, allocations: 192 / 1.02 GB, free: 8.621 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.3239, allocations: 11.94 kB / 1.02 GB, free: 8.609 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.419e-05/0.3239, allocations: 4 kB / 1.02 GB, free: 8.605 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.569e-05/0.324, allocations: 35.92 kB / 1.02 GB, free: 8.57 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005661/0.3246, allocations: 440.5 kB / 1.02 GB, free: 8.086 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 6.414e-05/0.3246, allocations: 41.31 kB / 1.02 GB, free: 8.027 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.338e-05/0.3247, allocations: 21.66 kB / 1.02 GB, free: 8 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.344e-05/0.3247, allocations: 3.984 kB / 1.02 GB, free: 7.996 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.678e-05/0.3247, allocations: 30.56 kB / 1.02 GB, free: 7.957 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.3247, allocations: 4 kB / 1.02 GB, free: 7.953 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0001765/0.3249, allocations: 61.48 kB / 1.02 GB, free: 7.887 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.103e-05/0.325, allocations: 77.11 kB / 1.021 GB, free: 7.793 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001765/0.3252, allocations: 157.3 kB / 1.021 GB, free: 7.629 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.596e-05/0.3252, allocations: 25.7 kB / 1.021 GB, free: 7.598 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 7.353e-05/0.3253, allocations: 108 kB / 1.021 GB, free: 7.488 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 7.935e-06/0.3253, allocations: 3.906 kB / 1.021 GB, free: 7.484 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.442e-05/0.3253, allocations: 17.72 kB / 1.021 GB, free: 7.461 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.00016/0.3255, allocations: 327.1 kB / 1.021 GB, free: 7.133 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.007e-05/0.3255, allocations: 7.938 kB / 1.021 GB, free: 7.125 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.721e-05/0.3255, allocations: 21.7 kB / 1.021 GB, free: 7.098 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.218e-05/0.3256, allocations: 21.72 kB / 1.021 GB, free: 7.07 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3256, allocations: 0 / 1.021 GB, free: 7.07 MB / 0.795 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.968e-05/0.3257, allocations: 61.55 kB / 1.021 GB, free: 7.004 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.3257, allocations: 8.062 kB / 1.021 GB, free: 6.996 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.3257, allocations: 7.922 kB / 1.021 GB, free: 6.988 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.3257, allocations: 0 / 1.021 GB, free: 6.988 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.178e-05/0.3258, allocations: 8 kB / 1.021 GB, free: 6.98 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.3258, allocations: 0 / 1.021 GB, free: 6.98 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.382e-05/0.3259, allocations: 7.844 kB / 1.021 GB, free: 6.973 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.757e-06/0.3259, allocations: 4 kB / 1.021 GB, free: 6.969 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 9.366e-05/0.326, allocations: 113.8 kB / 1.021 GB, free: 6.848 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.205e-05/0.326, allocations: 7.906 kB / 1.021 GB, free: 6.84 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.62e-05/0.326, allocations: 19.8 kB / 1.021 GB, free: 6.82 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-06/0.3261, allocations: 4 kB / 1.021 GB, free: 6.816 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.3261, allocations: 0 / 1.021 GB, free: 6.816 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.3261, allocations: 0 / 1.021 GB, free: 6.816 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000439/0.3265, allocations: 466.8 kB / 1.022 GB, free: 6.297 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.3265, allocations: 0 / 1.022 GB, free: 6.297 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.365e-05/0.3266, allocations: 7.938 kB / 1.022 GB, free: 6.289 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.3266, allocations: 8 kB / 1.022 GB, free: 6.281 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.286e-06/0.3266, allocations: 4 kB / 1.022 GB, free: 6.277 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.3266, allocations: 4 kB / 1.022 GB, free: 6.273 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.3266, allocations: 0 / 1.022 GB, free: 6.273 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001035/0.3267, allocations: 81.83 kB / 1.022 GB, free: 6.172 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.835e-05/0.3268, allocations: 85.02 kB / 1.022 GB, free: 6.07 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.77e-05/0.3268, allocations: 4.078 kB / 1.022 GB, free: 6.066 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.014e-05/0.3268, allocations: 4.031 kB / 1.022 GB, free: 6.062 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.869e-05/0.3268, allocations: 3.984 kB / 1.022 GB, free: 6.059 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-06/0.3268, allocations: 7.938 kB / 1.022 GB, free: 6.051 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001062/0.327, allocations: 123.2 kB / 1.022 GB, free: 5.93 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.024e-06/0.327, allocations: 0 / 1.022 GB, free: 5.93 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0001819/0.3271, allocations: 7.938 kB / 1.022 GB, free: 5.922 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.0001241/0.3273, allocations: 99.25 kB / 1.022 GB, free: 5.812 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 8.231e-05/0.3274, allocations: 16 kB / 1.022 GB, free: 5.797 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.3274, allocations: 4 kB / 1.022 GB, free: 5.793 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.683e-05/0.3274, allocations: 11.92 kB / 1.022 GB, free: 5.781 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001529/0.3276, allocations: 7.938 kB / 1.022 GB, free: 5.773 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003442/0.3279, allocations: 185.4 kB / 1.023 GB, free: 5.555 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003356/0.3283, allocations: 0.6924 MB / 1.023 GB, free: 4.836 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.961e-05/0.3283, allocations: 15.42 kB / 1.023 GB, free: 4.82 MB / 0.795 GB Notification: Performance of SimCode: time 1.9e-07/0.3283, allocations: 0 / 1.023 GB, free: 4.82 MB / 0.795 GB Notification: Performance of Templates: time 0.002562/0.3309, allocations: 0.8613 MB / 1.024 GB, free: 3.961 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