Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 88.72 kB / 19.44 MB, free: 352 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001601/0.001601, allocations: 157.7 kB / 22.75 MB, free: 1.68 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.519/1.519, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.431/3.431, allocations: 429.6 MB / 0.673 GB, free: 3.879 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.502e-06/1.502e-06, allocations: 0 / 0.8776 GB, free: 6.5 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.692e-05/2.842e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.496 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.002198/0.002227, allocations: 0.8061 MB / 0.8784 GB, free: 5.719 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001464/0.002373, allocations: 39.78 kB / 0.8784 GB, free: 5.68 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.295e-05/0.002426, allocations: 0 / 0.8784 GB, free: 5.68 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.533e-05/0.002471, allocations: 11.86 kB / 0.8784 GB, free: 5.668 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.401e-05/0.002555, allocations: 7.938 kB / 0.8784 GB, free: 5.66 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 6.099e-05/0.002616, allocations: 15.98 kB / 0.8785 GB, free: 5.645 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.000125/0.002741, allocations: 64.72 kB / 0.8785 GB, free: 5.582 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001444/0.002886, allocations: 39.89 kB / 0.8786 GB, free: 5.543 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001055/0.002991, allocations: 36.94 kB / 0.8786 GB, free: 5.508 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.377e-05/0.003035, allocations: 11.92 kB / 0.8786 GB, free: 5.496 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.221e-05/0.003057, allocations: 8 kB / 0.8786 GB, free: 5.488 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.037e-05/0.003068, allocations: 5.125 kB / 0.8786 GB, free: 5.484 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.264e-05/0.0031, allocations: 23.91 kB / 0.8786 GB, free: 5.461 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.504e-05/0.003135, allocations: 11.94 kB / 0.8787 GB, free: 5.449 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001487/0.003284, allocations: 84.72 kB / 0.8787 GB, free: 5.367 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.003286, allocations: 0 / 0.8787 GB, free: 5.367 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.72e-07/0.003287, allocations: 0 / 0.8787 GB, free: 5.367 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.003291, allocations: 1 kB / 0.8787 GB, free: 5.367 MB / 0.8386 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.0005027/0.003794, allocations: 302 kB / 0.879 GB, free: 5.039 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.003839, allocations: 19.58 kB / 0.879 GB, free: 5.023 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.49e-05/0.003894, allocations: 12.89 kB / 0.8791 GB, free: 5.012 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002334/0.004128, allocations: 133.7 kB / 0.8792 GB, free: 4.855 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.004142, allocations: 4.375 kB / 0.8792 GB, free: 4.852 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.939e-05/0.004161, allocations: 12.31 kB / 0.8792 GB, free: 4.84 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004451/0.004606, allocations: 87.95 kB / 0.8793 GB, free: 4.742 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.004615, allocations: 192 / 0.8793 GB, free: 4.742 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.456e-05/0.004629, allocations: 4.375 kB / 0.8793 GB, free: 4.738 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/0.004637, allocations: 4.375 kB / 0.8793 GB, free: 4.734 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001181/0.004756, allocations: 44.61 kB / 0.8793 GB, free: 4.691 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006348/0.00539, allocations: 353 kB / 0.8797 GB, free: 4.312 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.717e-05/0.005468, allocations: 42.5 kB / 0.8797 GB, free: 4.254 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.137e-05/0.005509, allocations: 21.7 kB / 0.8797 GB, free: 4.227 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.866e-06/0.005518, allocations: 1.469 kB / 0.8797 GB, free: 4.227 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.139e-05/0.005559, allocations: 34.56 kB / 0.8798 GB, free: 4.184 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.00556, allocations: 0 / 0.8798 GB, free: 4.184 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0002228/0.005783, allocations: 50.33 kB / 0.8798 GB, free: 4.129 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.671e-05/0.00585, allocations: 78.14 kB / 0.8799 GB, free: 4.035 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001616/0.006011, allocations: 132.6 kB / 0.88 GB, free: 3.898 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.286e-05/0.006034, allocations: 25.7 kB / 0.88 GB, free: 3.867 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.73e-05/0.006132, allocations: 112.2 kB / 0.8801 GB, free: 3.754 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.28e-05/0.006144, allocations: 11.95 kB / 0.8802 GB, free: 3.742 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.999e-05/0.006184, allocations: 17.72 kB / 0.8802 GB, free: 3.719 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000182/0.006366, allocations: 314.8 kB / 0.8805 GB, free: 3.402 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.643e-05/0.006393, allocations: 8 kB / 0.8805 GB, free: 3.395 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.069e-05/0.006423, allocations: 17.66 kB / 0.8805 GB, free: 3.371 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.973e-05/0.006483, allocations: 33.7 kB / 0.8805 GB, free: 3.332 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.006485, allocations: 3.938 kB / 0.8805 GB, free: 3.328 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001151/0.0066, allocations: 57.59 kB / 0.8806 GB, free: 3.266 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.006617, allocations: 8.062 kB / 0.8806 GB, free: 3.258 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.006622, allocations: 0 / 0.8806 GB, free: 3.258 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.133e-05/0.006643, allocations: 4 kB / 0.8806 GB, free: 3.254 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.594e-05/0.006709, allocations: 8.078 kB / 0.8806 GB, free: 3.246 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.006719, allocations: 3.938 kB / 0.8806 GB, free: 3.242 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.196e-05/0.006751, allocations: 7.938 kB / 0.8806 GB, free: 3.234 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.356e-06/0.006759, allocations: 3.984 kB / 0.8806 GB, free: 3.23 MB / 0.8386 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.0001026/0.006862, allocations: 113.8 kB / 0.8807 GB, free: 3.109 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.245e-05/0.006904, allocations: 7.953 kB / 0.8807 GB, free: 3.102 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.336e-05/0.006927, allocations: 7.469 kB / 0.8808 GB, free: 3.094 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.006929, allocations: 4 kB / 0.8808 GB, free: 3.09 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.942e-06/0.006935, allocations: 4 kB / 0.8808 GB, free: 3.086 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.00694, allocations: 3.938 kB / 0.8808 GB, free: 3.082 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004501/0.00739, allocations: 410.5 kB / 0.8812 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.007391, allocations: 0 / 0.8812 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.474e-05/0.007416, allocations: 7.938 kB / 0.8812 GB, free: 2.629 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-06/0.007421, allocations: 3.984 kB / 0.8812 GB, free: 2.625 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.328e-06/0.007431, allocations: 3.938 kB / 0.8812 GB, free: 2.621 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.007432, allocations: 0 / 0.8812 GB, free: 2.621 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.007433, allocations: 0 / 0.8812 GB, free: 2.621 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001322/0.007566, allocations: 82.02 kB / 0.8812 GB, free: 2.52 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.933e-05/0.007595, allocations: 11.92 kB / 0.8813 GB, free: 2.508 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.806e-05/0.007613, allocations: 7.938 kB / 0.8813 GB, free: 2.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.892e-05/0.007632, allocations: 0 / 0.8813 GB, free: 2.5 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.503e-05/0.007647, allocations: 0 / 0.8813 GB, free: 2.5 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-06/0.007649, allocations: 0 / 0.8813 GB, free: 2.5 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 9.131e-05/0.00774, allocations: 107.3 kB / 0.8814 GB, free: 2.395 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7.1e-08/0.00774, allocations: 3.938 kB / 0.8814 GB, free: 2.391 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001997/0.00794, allocations: 8 kB / 0.8814 GB, free: 2.383 MB / 0.8386 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.000139/0.008079, allocations: 98.52 kB / 0.8815 GB, free: 2.277 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.504e-05/0.008164, allocations: 19.98 kB / 0.8815 GB, free: 2.258 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.008166, allocations: 0 / 0.8815 GB, free: 2.258 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.419e-05/0.00818, allocations: 7.938 kB / 0.8815 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001498/0.00833, allocations: 4 kB / 0.8815 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003756/0.008705, allocations: 166.8 kB / 0.8817 GB, free: 2.047 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.196e-05/0.008797, allocations: 87.94 kB / 0.8817 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.543e-05/0.008823, allocations: 4 kB / 0.8818 GB, free: 1.938 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.006e-05/0.008853, allocations: 8.5 kB / 0.8818 GB, free: 1.93 MB / 0.8386 GB Notification: Performance of SimCode: time 4.31e-07/0.008853, allocations: 4 kB / 0.8818 GB, free: 1.926 MB / 0.8386 GB Notification: Performance of Templates: time 0.003058/0.01191, allocations: 350.4 kB / 0.8821 GB, free: 1.586 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_cfm.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.31599054695107]