Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.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.0008316/0.0008316, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 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.0008203/0.0008203, allocations: 173.9 kB / 23.21 MB, free: 1.352 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 0.8844/0.8844, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.736/1.736, allocations: 377.8 MB / 0.6228 GB, free: 8.652 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_hp") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_hp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 0.9822 GB, free: 2.059 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.071e-05/2.211e-05, allocations: 6.281 kB / 0.9822 GB, free: 2.051 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.001511/0.001533, allocations: 0.79 MB / 0.983 GB, free: 1.266 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 9.457e-05/0.001628, allocations: 39.78 kB / 0.983 GB, free: 1.227 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.364e-05/0.001671, allocations: 4 kB / 0.983 GB, free: 1.223 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.444e-05/0.001706, allocations: 11.86 kB / 0.983 GB, free: 1.211 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 6.827e-05/0.001774, allocations: 7.875 kB / 0.983 GB, free: 1.203 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 3.752e-05/0.001811, allocations: 23.97 kB / 0.9831 GB, free: 1.18 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 9.247e-05/0.001904, allocations: 63.84 kB / 0.9831 GB, free: 1.117 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.002014, allocations: 27.97 kB / 0.9832 GB, free: 1.09 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 7.602e-05/0.00209, allocations: 39.84 kB / 0.9832 GB, free: 1.051 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 3.562e-05/0.002125, allocations: 23.91 kB / 0.9832 GB, free: 1.027 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.136e-05/0.002147, allocations: 4 kB / 0.9832 GB, free: 1.023 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 7.504e-06/0.002154, allocations: 8 kB / 0.9832 GB, free: 1.016 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.749e-05/0.002172, allocations: 15.86 kB / 0.9832 GB, free: 1 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.537e-05/0.002197, allocations: 23.92 kB / 0.9833 GB, free: 0.9766 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 9.778e-05/0.002295, allocations: 79.62 kB / 0.9833 GB, free: 0.8984 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.714e-06/0.002297, allocations: 0 / 0.9833 GB, free: 0.8984 MB / 0.9323 GB Notification: Performance of FrontEnd: time 7.01e-07/0.002297, allocations: 0 / 0.9833 GB, free: 0.8984 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.577e-06/0.002301, allocations: 4 kB / 0.9833 GB, free: 0.8945 MB / 0.9323 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.0003261/0.002627, allocations: 302 kB / 0.9836 GB, free: 0.5664 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.00266, allocations: 8.031 kB / 0.9836 GB, free: 0.5586 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.896e-05/0.002689, allocations: 12.84 kB / 0.9837 GB, free: 0.5469 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000146/0.002835, allocations: 133.6 kB / 0.9838 GB, free: 400 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.002847, allocations: 12.36 kB / 0.9838 GB, free: 388 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.307e-06/0.002856, allocations: 4.375 kB / 0.9838 GB, free: 384 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001107/0.002967, allocations: 87.95 kB / 0.9839 GB, free: 284 kB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/0.002976, allocations: 4.188 kB / 0.9839 GB, free: 280 kB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-06/0.002986, allocations: 12.31 kB / 0.9839 GB, free: 268 kB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.491e-06/0.002991, allocations: 4.359 kB / 0.9839 GB, free: 264 kB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.836e-05/0.003049, allocations: 39.86 kB / 0.9839 GB, free: 224 kB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003553/0.003405, allocations: 352.4 kB / 0.9843 GB, free: 15.84 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.763e-05/0.003452, allocations: 41.28 kB / 0.9843 GB, free: 15.78 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.7e-05/0.003479, allocations: 21.84 kB / 0.9843 GB, free: 15.75 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.192e-06/0.003485, allocations: 0 / 0.9843 GB, free: 15.75 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.911e-05/0.003505, allocations: 34.56 kB / 0.9844 GB, free: 15.71 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 7.31e-07/0.003505, allocations: 0 / 0.9844 GB, free: 15.71 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0001321/0.003637, allocations: 57.58 kB / 0.9844 GB, free: 15.65 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.59e-05/0.003673, allocations: 77.11 kB / 0.9845 GB, free: 15.55 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.873e-05/0.003752, allocations: 137.7 kB / 0.9846 GB, free: 15.41 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.216e-06/0.00376, allocations: 25.7 kB / 0.9847 GB, free: 15.38 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.93e-05/0.00381, allocations: 107.9 kB / 0.9848 GB, free: 15.27 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 7.044e-06/0.003817, allocations: 7.953 kB / 0.9848 GB, free: 15.26 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.27e-05/0.003839, allocations: 17.67 kB / 0.9848 GB, free: 15.24 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.985e-05/0.003909, allocations: 322.8 kB / 0.9851 GB, free: 14.91 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.19e-05/0.003921, allocations: 4 kB / 0.9851 GB, free: 14.91 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.588e-05/0.003937, allocations: 21.97 kB / 0.9851 GB, free: 14.88 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.961e-05/0.003967, allocations: 21.72 kB / 0.9851 GB, free: 14.86 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.003968, allocations: 0 / 0.9851 GB, free: 14.86 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.277e-05/0.004021, allocations: 57.62 kB / 0.9852 GB, free: 14.79 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.004032, allocations: 8 kB / 0.9852 GB, free: 14.79 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.004036, allocations: 0 / 0.9852 GB, free: 14.79 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.004048, allocations: 0 / 0.9852 GB, free: 14.79 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.455e-05/0.004092, allocations: 8 kB / 0.9852 GB, free: 14.78 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.81e-06/0.004097, allocations: 4 kB / 0.9852 GB, free: 14.77 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.361e-05/0.004111, allocations: 4 kB / 0.9852 GB, free: 14.77 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-06/0.004115, allocations: 7.922 kB / 0.9852 GB, free: 14.76 MB / 0.948 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 5.004e-05/0.004165, allocations: 113.8 kB / 0.9853 GB, free: 14.64 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.959e-05/0.004185, allocations: 11.89 kB / 0.9853 GB, free: 14.63 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.568e-05/0.0042, allocations: 11.47 kB / 0.9853 GB, free: 14.62 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.004202, allocations: 0 / 0.9853 GB, free: 14.62 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.004205, allocations: 0 / 0.9853 GB, free: 14.62 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-06/0.004208, allocations: 3.938 kB / 0.9854 GB, free: 14.62 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002326/0.004441, allocations: 418.4 kB / 0.9858 GB, free: 14.16 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.004441, allocations: 8 kB / 0.9858 GB, free: 14.16 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.916e-06/0.00445, allocations: 4 kB / 0.9858 GB, free: 14.15 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.133e-06/0.004451, allocations: 0 / 0.9858 GB, free: 14.15 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.00446, allocations: 7.938 kB / 0.9858 GB, free: 14.14 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.004461, allocations: 4 kB / 0.9858 GB, free: 14.14 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-07/0.004462, allocations: 0 / 0.9858 GB, free: 14.14 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.709e-05/0.004509, allocations: 69.98 kB / 0.9858 GB, free: 14.05 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.413e-05/0.004523, allocations: 7.953 kB / 0.9858 GB, free: 14.04 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.017e-06/0.004532, allocations: 3.938 kB / 0.9859 GB, free: 14.04 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.053e-05/0.004542, allocations: 3.984 kB / 0.9859 GB, free: 14.04 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.164e-05/0.004554, allocations: 7.969 kB / 0.9859 GB, free: 14.03 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-06/0.004555, allocations: 4 kB / 0.9859 GB, free: 14.02 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.256e-05/0.004598, allocations: 105.3 kB / 0.986 GB, free: 13.92 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.004598, allocations: 0 / 0.986 GB, free: 13.92 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001208/0.004719, allocations: 11.95 kB / 0.986 GB, free: 13.91 MB / 0.948 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 7.052e-05/0.004789, allocations: 95.78 kB / 0.9861 GB, free: 13.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 6.162e-05/0.004851, allocations: 15.98 kB / 0.9861 GB, free: 13.79 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.004852, allocations: 0 / 0.9861 GB, free: 13.79 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 9.227e-06/0.004861, allocations: 16.06 kB / 0.9861 GB, free: 13.77 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001021/0.004963, allocations: 7.938 kB / 0.9861 GB, free: 13.77 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002263/0.00519, allocations: 188.3 kB / 0.9863 GB, free: 13.54 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.162e-05/0.005241, allocations: 79.31 kB / 0.9864 GB, free: 13.44 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.061e-05/0.005262, allocations: 12.5 kB / 0.9864 GB, free: 13.43 MB / 0.948 GB Notification: Performance of SimCode: time 3.5e-07/0.005262, allocations: 0 / 0.9864 GB, free: 13.43 MB / 0.948 GB Notification: Performance of Templates: time 0.001366/0.006629, allocations: 0.8015 MB / 0.9872 GB, free: 12.62 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_hp -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_hp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.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: 6.318985939025879]