Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_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.001334/0.001334, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001837/0.001837, allocations: 161.4 kB / 23.82 MB, free: 0.7539 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.022/1.022, allocations: 177.1 MB / 204.2 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.84/1.84, allocations: 359 MB / 0.6052 GB, free: 10.98 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.From_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.893e-06/1.893e-06, allocations: 0 / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.299e-05/3.489e-05, allocations: 7.469 kB / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.001847/0.001882, allocations: 0.82 MB / 0.7879 GB, free: 11.67 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0001294/0.002011, allocations: 40.88 kB / 0.7879 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.885e-05/0.00206, allocations: 0 / 0.7879 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.146e-05/0.002101, allocations: 8.703 kB / 0.788 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.25e-05/0.002184, allocations: 11.88 kB / 0.788 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 4.678e-05/0.002231, allocations: 20.92 kB / 0.788 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 9.905e-05/0.00233, allocations: 59.78 kB / 0.788 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001441/0.002474, allocations: 31.97 kB / 0.7881 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 8.118e-05/0.002555, allocations: 42.28 kB / 0.7881 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.111e-05/0.002616, allocations: 19.89 kB / 0.7881 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.184e-05/0.002638, allocations: 8 kB / 0.7881 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 8.025e-06/0.002646, allocations: 4 kB / 0.7881 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.056e-05/0.002666, allocations: 15.94 kB / 0.7882 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.102e-05/0.002697, allocations: 19.91 kB / 0.7882 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 9.855e-05/0.002796, allocations: 45.67 kB / 0.7882 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.002799, allocations: 7.875 kB / 0.7882 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.222e-06/0.0028, allocations: 0 / 0.7882 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.002805, allocations: 0 / 0.7882 GB, free: 11.35 MB / 0.7448 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.0004339/0.003239, allocations: 408.8 kB / 0.7886 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/0.003288, allocations: 8.031 kB / 0.7886 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.06e-05/0.003338, allocations: 22.33 kB / 0.7886 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002012/0.003539, allocations: 132.5 kB / 0.7888 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.003554, allocations: 8.375 kB / 0.7888 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.664e-05/0.003571, allocations: 5.75 kB / 0.7888 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001421/0.003713, allocations: 91.73 kB / 0.7889 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.003727, allocations: 192 / 0.7889 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.003741, allocations: 4.375 kB / 0.7889 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.112e-05/0.003752, allocations: 6.125 kB / 0.7889 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.934e-05/0.003801, allocations: 27.86 kB / 0.7889 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004847/0.004286, allocations: 454.4 kB / 0.7893 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.673e-05/0.004352, allocations: 54.19 kB / 0.7894 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.624e-05/0.004389, allocations: 28.55 kB / 0.7894 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.08e-05/0.0044, allocations: 4.531 kB / 0.7894 GB, free: 9.977 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.743e-05/0.004427, allocations: 37.39 kB / 0.7895 GB, free: 9.93 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.974e-06/0.004429, allocations: 1.938 kB / 0.7895 GB, free: 9.93 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001486/0.004578, allocations: 41.59 kB / 0.7895 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.745e-05/0.004615, allocations: 85.09 kB / 0.7896 GB, free: 9.781 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001/0.004715, allocations: 188.5 kB / 0.7898 GB, free: 9.582 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.297e-06/0.004724, allocations: 25.7 kB / 0.7898 GB, free: 9.551 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.767e-05/0.004792, allocations: 158.6 kB / 0.7899 GB, free: 9.391 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.005e-05/0.004802, allocations: 15.88 kB / 0.79 GB, free: 9.375 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.8e-05/0.00483, allocations: 23.38 kB / 0.79 GB, free: 9.344 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.004944, allocations: 496.1 kB / 0.7905 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.445e-05/0.004959, allocations: 4 kB / 0.7905 GB, free: 8.844 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.083e-05/0.00498, allocations: 24.08 kB / 0.7905 GB, free: 8.812 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.744e-05/0.005017, allocations: 31.84 kB / 0.7905 GB, free: 8.773 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.005019, allocations: 1.656 kB / 0.7905 GB, free: 8.773 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.281e-05/0.005082, allocations: 49.62 kB / 0.7906 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.005098, allocations: 11.94 kB / 0.7906 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.005103, allocations: 0.5312 kB / 0.7906 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.005121, allocations: 0.5312 kB / 0.7906 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.924e-05/0.005181, allocations: 8 kB / 0.7906 GB, free: 8.699 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.005187, allocations: 4.781 kB / 0.7906 GB, free: 8.695 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.714e-05/0.005204, allocations: 3.953 kB / 0.7906 GB, free: 8.691 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.318e-06/0.005209, allocations: 1.156 kB / 0.7906 GB, free: 8.691 MB / 0.7448 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 6.678e-05/0.005275, allocations: 156.6 kB / 0.7907 GB, free: 8.527 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.369e-05/0.005299, allocations: 4.844 kB / 0.7907 GB, free: 8.523 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.401e-05/0.005333, allocations: 11.45 kB / 0.7908 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.005335, allocations: 0 / 0.7908 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.005339, allocations: 4.844 kB / 0.7908 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.005343, allocations: 3.938 kB / 0.7908 GB, free: 8.508 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003196/0.005662, allocations: 0.5473 MB / 0.7913 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.005665, allocations: 0 / 0.7913 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.51e-05/0.00568, allocations: 4.844 kB / 0.7913 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.005682, allocations: 0 / 0.7913 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.00569, allocations: 3.938 kB / 0.7913 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.005691, allocations: 5.188 kB / 0.7913 GB, free: 7.898 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.005692, allocations: 3.938 kB / 0.7913 GB, free: 7.895 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.304e-05/0.005765, allocations: 85.56 kB / 0.7914 GB, free: 7.785 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.965e-05/0.005785, allocations: 15.94 kB / 0.7914 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.146e-05/0.005796, allocations: 3.938 kB / 0.7914 GB, free: 7.766 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.376e-06/0.005805, allocations: 0 / 0.7914 GB, free: 7.766 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.509e-05/0.00582, allocations: 1.531 kB / 0.7914 GB, free: 7.766 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-06/0.005823, allocations: 4 kB / 0.7914 GB, free: 7.762 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.166e-05/0.005875, allocations: 145.3 kB / 0.7916 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.005875, allocations: 0 / 0.7916 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000125/0.006, allocations: 14.7 kB / 0.7916 GB, free: 7.609 MB / 0.7448 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 9.37e-05/0.006094, allocations: 95.25 kB / 0.7917 GB, free: 7.508 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.444e-05/0.006178, allocations: 23.62 kB / 0.7917 GB, free: 7.48 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.00618, allocations: 0 / 0.7917 GB, free: 7.48 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.076e-05/0.006191, allocations: 16.17 kB / 0.7917 GB, free: 7.461 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001297/0.00632, allocations: 13.28 kB / 0.7917 GB, free: 7.449 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003025/0.006623, allocations: 174 kB / 0.7919 GB, free: 7.242 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.212e-05/0.006665, allocations: 59.34 kB / 0.7919 GB, free: 7.164 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.971e-05/0.006695, allocations: 9.031 kB / 0.7919 GB, free: 7.156 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.435e-05/0.006719, allocations: 9.156 kB / 0.792 GB, free: 7.148 MB / 0.7448 GB Notification: Performance of SimCode: time 7.72e-07/0.00672, allocations: 0 / 0.792 GB, free: 7.148 MB / 0.7448 GB Notification: Performance of Templates: time 0.002129/0.008849, allocations: 353.4 kB / 0.7923 GB, free: 6.82 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_hp.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.4687486588954926]