Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001531/0.001531, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001309/0.001309, allocations: 161 kB / 24.16 MB, free: 336 kB / 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.067/1.067, allocations: 177.2 MB / 204.6 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 2.025/2.025, allocations: 377.9 MB / 0.624 GB, free: 8.391 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.From_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.UnitConversions.Validation.From_hp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 0.7601 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.55e-05/1.692e-05, allocations: 2.312 kB / 0.7601 GB, free: 6.621 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.001715/0.001732, allocations: 0.8621 MB / 0.7609 GB, free: 5.781 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0001278/0.001859, allocations: 45.31 kB / 0.761 GB, free: 5.738 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.956e-05/0.001909, allocations: 4 kB / 0.761 GB, free: 5.734 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.941e-05/0.001948, allocations: 11.86 kB / 0.761 GB, free: 5.723 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.644e-05/0.002025, allocations: 14.28 kB / 0.761 GB, free: 5.711 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 4.251e-05/0.002067, allocations: 20.78 kB / 0.761 GB, free: 5.691 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001007/0.002168, allocations: 61.7 kB / 0.7611 GB, free: 5.641 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.00227, allocations: 33.2 kB / 0.7611 GB, free: 5.609 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001032/0.002373, allocations: 48.92 kB / 0.7611 GB, free: 5.566 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.758e-05/0.002411, allocations: 11.92 kB / 0.7612 GB, free: 5.555 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.553e-05/0.002427, allocations: 5.344 kB / 0.7612 GB, free: 5.551 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 7.164e-06/0.002434, allocations: 4 kB / 0.7612 GB, free: 5.547 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.897e-05/0.002453, allocations: 15.98 kB / 0.7612 GB, free: 5.531 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.526e-05/0.002478, allocations: 21.17 kB / 0.7612 GB, free: 5.512 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 8.472e-05/0.002563, allocations: 43.7 kB / 0.7612 GB, free: 5.469 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.002565, allocations: 0 / 0.7612 GB, free: 5.469 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.973e-06/0.002567, allocations: 4 kB / 0.7612 GB, free: 5.465 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.487e-06/0.00257, allocations: 1.25 kB / 0.7612 GB, free: 5.465 MB / 0.7136 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.0002733/0.002843, allocations: 280.6 kB / 0.7615 GB, free: 5.164 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.002877, allocations: 9.062 kB / 0.7615 GB, free: 5.156 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.272e-05/0.002909, allocations: 16.92 kB / 0.7615 GB, free: 5.141 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001495/0.003059, allocations: 137.5 kB / 0.7617 GB, free: 4.98 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.003071, allocations: 8.906 kB / 0.7617 GB, free: 4.973 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.198e-06/0.00308, allocations: 4.375 kB / 0.7617 GB, free: 4.969 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001064/0.003187, allocations: 81.14 kB / 0.7618 GB, free: 4.879 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.003195, allocations: 192 / 0.7618 GB, free: 4.879 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.003203, allocations: 4.375 kB / 0.7618 GB, free: 4.875 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.003211, allocations: 5.094 kB / 0.7618 GB, free: 4.871 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.662e-05/0.003248, allocations: 19.88 kB / 0.7618 GB, free: 4.852 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004006/0.003648, allocations: 0.4945 MB / 0.7623 GB, free: 4.324 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.794e-05/0.003716, allocations: 177.1 kB / 0.7624 GB, free: 4.141 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.61e-05/0.003742, allocations: 80.64 kB / 0.7625 GB, free: 4.059 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.112e-05/0.003764, allocations: 76.03 kB / 0.7626 GB, free: 3.984 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.086e-05/0.003804, allocations: 113.9 kB / 0.7627 GB, free: 3.863 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 2.214e-06/0.003807, allocations: 4.734 kB / 0.7627 GB, free: 3.859 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 6.527e-05/0.003872, allocations: 29.7 kB / 0.7627 GB, free: 3.824 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.578e-05/0.003918, allocations: 128.5 kB / 0.7629 GB, free: 3.688 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.004023, allocations: 148.5 kB / 0.763 GB, free: 3.531 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.969e-06/0.004033, allocations: 25.7 kB / 0.763 GB, free: 3.5 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.231e-05/0.004096, allocations: 127.8 kB / 0.7631 GB, free: 3.371 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.944e-06/0.004097, allocations: 3.938 kB / 0.7631 GB, free: 3.367 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.517e-05/0.004133, allocations: 30.38 kB / 0.7632 GB, free: 3.332 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.951e-05/0.004222, allocations: 318.8 kB / 0.7635 GB, free: 3.012 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.336e-06/0.00423, allocations: 5.25 kB / 0.7635 GB, free: 3.008 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.175e-05/0.004272, allocations: 62.81 kB / 0.7635 GB, free: 2.922 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.23e-05/0.004335, allocations: 66.06 kB / 0.7636 GB, free: 2.836 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.004336, allocations: 0 / 0.7636 GB, free: 2.836 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001106/0.004447, allocations: 76.52 kB / 0.7637 GB, free: 2.758 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.004463, allocations: 9.719 kB / 0.7637 GB, free: 2.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.004468, allocations: 0 / 0.7637 GB, free: 2.75 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.004482, allocations: 4 kB / 0.7637 GB, free: 2.746 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.845e-05/0.00454, allocations: 19.92 kB / 0.7637 GB, free: 2.727 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.447e-06/0.004544, allocations: 1.5 kB / 0.7637 GB, free: 2.727 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.661e-05/0.00458, allocations: 7.938 kB / 0.7637 GB, free: 2.719 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/0.004587, allocations: 4 kB / 0.7637 GB, free: 2.715 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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 8.198e-05/0.004669, allocations: 198.5 kB / 0.7639 GB, free: 2.512 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.456e-05/0.004723, allocations: 112.9 kB / 0.764 GB, free: 2.395 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.009e-05/0.004773, allocations: 108.8 kB / 0.7641 GB, free: 2.281 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.93e-05/0.004823, allocations: 180.2 kB / 0.7643 GB, free: 2.098 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.998e-05/0.004873, allocations: 181.5 kB / 0.7645 GB, free: 1.914 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.983e-05/0.004923, allocations: 184.2 kB / 0.7646 GB, free: 1.727 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000178/0.005101, allocations: 337.3 kB / 0.765 GB, free: 1.371 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-05/0.005131, allocations: 101 kB / 0.7651 GB, free: 1.266 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.118e-05/0.005162, allocations: 109.7 kB / 0.7652 GB, free: 1.152 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.938e-05/0.005211, allocations: 176.8 kB / 0.7653 GB, free: 0.9727 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.025e-05/0.005261, allocations: 176.3 kB / 0.7655 GB, free: 0.793 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.191e-05/0.005313, allocations: 188.8 kB / 0.7657 GB, free: 0.6016 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.674e-05/0.00536, allocations: 176.3 kB / 0.7658 GB, free: 432 kB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001138/0.005474, allocations: 313.1 kB / 0.7661 GB, free: 96 kB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.289e-05/0.005537, allocations: 124.8 kB / 0.7663 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.417e-05/0.005591, allocations: 176.3 kB / 0.7664 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.874e-05/0.00566, allocations: 103.7 kB / 0.7665 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.764e-05/0.005717, allocations: 184.2 kB / 0.7667 GB, free: 15.49 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.829e-05/0.005745, allocations: 109 kB / 0.7668 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.913e-05/0.005775, allocations: 31.25 kB / 0.7668 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of sort global known variables: time 9.1e-08/0.005775, allocations: 0 / 0.7668 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001947/0.005969, allocations: 11.89 kB / 0.7669 GB, free: 15.34 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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 8.366e-05/0.006053, allocations: 158.5 kB / 0.767 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 5.623e-05/0.006109, allocations: 28.72 kB / 0.767 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 7.364e-06/0.006117, allocations: 12 kB / 0.767 GB, free: 15.13 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.92e-07/0.006118, allocations: 0 / 0.767 GB, free: 15.13 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002302/0.006348, allocations: 461.1 kB / 0.7675 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002178/0.006566, allocations: 224 kB / 0.7677 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.57e-05/0.006601, allocations: 59.34 kB / 0.7678 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.328e-05/0.006635, allocations: 10.28 kB / 0.7678 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.368e-05/0.006668, allocations: 51.97 kB / 0.7678 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of SimCode: time 4.51e-07/0.006669, allocations: 0 / 0.7678 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of Templates: time 0.001815/0.008484, allocations: 343.8 kB / 0.7681 GB, free: 13.98 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_hp -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.196632420644164]