Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.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.002307/0.002307, allocations: 85.48 kB / 19.44 MB, free: 344 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.002598/0.002598, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.583/1.583, allocations: 177.1 MB / 203.1 MB, free: 5.605 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.46/3.46, allocations: 429.5 MB / 0.6729 GB, free: 4.008 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.From_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 0.8774 GB, free: 6.641 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.081e-05/3.23e-05, allocations: 6.516 kB / 0.8775 GB, free: 6.637 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.002138/0.002171, allocations: 0.8103 MB / 0.8782 GB, free: 5.855 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001703/0.002341, allocations: 39.78 kB / 0.8783 GB, free: 5.816 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.205e-05/0.002403, allocations: 5.656 kB / 0.8783 GB, free: 5.812 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.131e-05/0.002444, allocations: 11.86 kB / 0.8783 GB, free: 5.801 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.768e-05/0.002532, allocations: 8.094 kB / 0.8783 GB, free: 5.793 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 5.681e-05/0.002589, allocations: 19.98 kB / 0.8783 GB, free: 5.773 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001258/0.002715, allocations: 56.34 kB / 0.8784 GB, free: 5.719 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001392/0.002854, allocations: 39.89 kB / 0.8784 GB, free: 5.68 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 9.129e-05/0.002945, allocations: 33.86 kB / 0.8785 GB, free: 5.648 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.217e-05/0.003007, allocations: 19.91 kB / 0.8785 GB, free: 5.629 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.386e-05/0.003031, allocations: 11.94 kB / 0.8785 GB, free: 5.617 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.004e-05/0.003041, allocations: 4 kB / 0.8785 GB, free: 5.613 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.967e-05/0.003071, allocations: 19.91 kB / 0.8785 GB, free: 5.594 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.074e-05/0.003102, allocations: 17.28 kB / 0.8785 GB, free: 5.578 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001457/0.003247, allocations: 75.69 kB / 0.8786 GB, free: 5.504 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.00325, allocations: 0 / 0.8786 GB, free: 5.504 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.11e-07/0.00325, allocations: 0.75 kB / 0.8786 GB, free: 5.504 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.003256, allocations: 0 / 0.8786 GB, free: 5.504 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.0005662/0.003823, allocations: 408.6 kB / 0.879 GB, free: 5.066 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.003864, allocations: 9.625 kB / 0.879 GB, free: 5.059 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.954e-05/0.003924, allocations: 16.89 kB / 0.879 GB, free: 5.043 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002386/0.004162, allocations: 144.4 kB / 0.8791 GB, free: 4.875 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.949e-05/0.004192, allocations: 8.375 kB / 0.8792 GB, free: 4.867 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.454e-05/0.004206, allocations: 4.375 kB / 0.8792 GB, free: 4.863 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001922/0.004398, allocations: 102.4 kB / 0.8793 GB, free: 4.754 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.004408, allocations: 192 / 0.8793 GB, free: 4.754 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.004422, allocations: 4.375 kB / 0.8793 GB, free: 4.75 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.004431, allocations: 4.375 kB / 0.8793 GB, free: 4.746 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.56e-05/0.004526, allocations: 39.86 kB / 0.8793 GB, free: 4.707 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007269/0.005253, allocations: 472.6 kB / 0.8798 GB, free: 4.207 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.832e-05/0.005351, allocations: 58.31 kB / 0.8798 GB, free: 4.125 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.723e-05/0.005399, allocations: 23.44 kB / 0.8798 GB, free: 4.094 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.421e-05/0.005413, allocations: 4 kB / 0.8798 GB, free: 4.09 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.442e-05/0.005447, allocations: 38.09 kB / 0.8799 GB, free: 4.043 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.005448, allocations: 0 / 0.8799 GB, free: 4.043 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001894/0.005638, allocations: 54.92 kB / 0.8799 GB, free: 3.984 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.805e-05/0.005706, allocations: 81.11 kB / 0.88 GB, free: 3.887 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001833/0.005889, allocations: 198 kB / 0.8802 GB, free: 3.676 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/0.005911, allocations: 29.7 kB / 0.8802 GB, free: 3.641 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001203/0.006031, allocations: 162.7 kB / 0.8804 GB, free: 3.477 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.029e-05/0.006042, allocations: 3.953 kB / 0.8804 GB, free: 3.473 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.79e-05/0.006099, allocations: 23.38 kB / 0.8804 GB, free: 3.441 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002651/0.006365, allocations: 0.4884 MB / 0.8809 GB, free: 2.941 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.245e-05/0.006387, allocations: 8 kB / 0.8809 GB, free: 2.934 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.154e-05/0.006419, allocations: 19.38 kB / 0.8809 GB, free: 2.906 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.791e-05/0.006476, allocations: 35.36 kB / 0.8809 GB, free: 2.863 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.006478, allocations: 0 / 0.8809 GB, free: 2.863 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001003/0.006578, allocations: 61.59 kB / 0.881 GB, free: 2.797 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.006592, allocations: 4 kB / 0.881 GB, free: 2.793 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.006596, allocations: 0 / 0.881 GB, free: 2.793 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.006609, allocations: 0 / 0.881 GB, free: 2.793 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.743e-05/0.006677, allocations: 11.98 kB / 0.881 GB, free: 2.781 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.006685, allocations: 3.938 kB / 0.881 GB, free: 2.777 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.02e-05/0.006715, allocations: 7.938 kB / 0.881 GB, free: 2.77 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.483e-06/0.006722, allocations: 4 kB / 0.881 GB, free: 2.766 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.0001242/0.006846, allocations: 164.5 kB / 0.8812 GB, free: 2.594 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.863e-05/0.006884, allocations: 8.016 kB / 0.8812 GB, free: 2.586 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.52e-05/0.00691, allocations: 7.469 kB / 0.8812 GB, free: 2.578 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.006911, allocations: 0 / 0.8812 GB, free: 2.578 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.006916, allocations: 0 / 0.8812 GB, free: 2.578 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.659e-05/0.006932, allocations: 15.92 kB / 0.8812 GB, free: 2.562 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005388/0.007471, allocations: 0.55 MB / 0.8817 GB, free: 1.961 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.007473, allocations: 4 kB / 0.8818 GB, free: 1.957 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.97e-05/0.007492, allocations: 0 / 0.8818 GB, free: 1.957 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.614e-06/0.0075, allocations: 7.984 kB / 0.8818 GB, free: 1.949 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.007509, allocations: 3.938 kB / 0.8818 GB, free: 1.945 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.00751, allocations: 4.062 kB / 0.8818 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.007511, allocations: 0 / 0.8818 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000127/0.007638, allocations: 92.03 kB / 0.8819 GB, free: 1.824 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.605e-05/0.007664, allocations: 11.94 kB / 0.8819 GB, free: 1.812 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.63e-05/0.00768, allocations: 7.938 kB / 0.8819 GB, free: 1.805 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.735e-05/0.007698, allocations: 3.938 kB / 0.8819 GB, free: 1.801 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.942e-05/0.007717, allocations: 4.078 kB / 0.8819 GB, free: 1.797 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-06/0.007719, allocations: 0 / 0.8819 GB, free: 1.797 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001133/0.007832, allocations: 154.3 kB / 0.882 GB, free: 1.648 MB / 0.8386 GB Notification: Performance of sort global known variables: time 9e-08/0.007833, allocations: 0 / 0.882 GB, free: 1.648 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001934/0.008026, allocations: 12.03 kB / 0.882 GB, free: 1.637 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.0001197/0.008146, allocations: 91.25 kB / 0.8821 GB, free: 1.535 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.788e-05/0.008244, allocations: 31.61 kB / 0.8822 GB, free: 1.5 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.008245, allocations: 0 / 0.8822 GB, free: 1.5 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.487e-05/0.00827, allocations: 15.69 kB / 0.8822 GB, free: 1.48 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001474/0.008418, allocations: 4 kB / 0.8822 GB, free: 1.477 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003894/0.008807, allocations: 178.6 kB / 0.8823 GB, free: 1.262 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.452e-05/0.008902, allocations: 84.12 kB / 0.8824 GB, free: 1.16 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.571e-05/0.008927, allocations: 0 / 0.8824 GB, free: 1.16 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.928e-05/0.008957, allocations: 12.5 kB / 0.8824 GB, free: 1.148 MB / 0.8386 GB Notification: Performance of SimCode: time 8.62e-07/0.008957, allocations: 0 / 0.8824 GB, free: 1.148 MB / 0.8386 GB Notification: Performance of Templates: time 0.003158/0.01212, allocations: 347.9 kB / 0.8828 GB, free: 0.8125 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_quad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.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.678410804015584]