Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.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.001397/0.001397, allocations: 93.06 kB / 19.65 MB, free: 276 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.001448/0.001448, allocations: 165 kB / 23.02 MB, free: 1.551 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.9525/0.9525, allocations: 177.1 MB / 203.4 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] 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 2.204/2.204, allocations: 429.5 MB / 0.6733 GB, free: 4.043 MB / 0.6355 GB " [Timeout remaining time 177] 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.CDL.Reals.Validation.MultiplyByParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|gain1.u|gain1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|gain1.u|gain1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 0.8782 GB, free: 6.246 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.313e-05/3.514e-05, allocations: 7.125 kB / 0.8782 GB, free: 6.242 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter): time 0.001807/0.001842, allocations: 0.6862 MB / 0.8789 GB, free: 5.578 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001046/0.002888, allocations: 0.8406 MB / 0.8797 GB, free: 4.727 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.718e-05/0.002935, allocations: 0 / 0.8797 GB, free: 4.727 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.448e-05/0.002969, allocations: 0 / 0.8797 GB, free: 4.727 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.187e-05/0.003041, allocations: 6.562 kB / 0.8797 GB, free: 4.723 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 6.459e-05/0.003106, allocations: 4 kB / 0.8797 GB, free: 4.719 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.619e-05/0.003182, allocations: 34.12 kB / 0.8798 GB, free: 4.688 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.567e-05/0.003278, allocations: 0 / 0.8798 GB, free: 4.688 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 8.152e-05/0.003359, allocations: 19.92 kB / 0.8798 GB, free: 4.668 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.564e-05/0.003395, allocations: 9.109 kB / 0.8798 GB, free: 4.66 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.905e-05/0.003414, allocations: 4 kB / 0.8798 GB, free: 4.656 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 5.931e-06/0.00342, allocations: 0 / 0.8798 GB, free: 4.656 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.619e-05/0.003436, allocations: 5.031 kB / 0.8798 GB, free: 4.652 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.338e-05/0.003459, allocations: 4 kB / 0.8798 GB, free: 4.648 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 8.47e-05/0.003544, allocations: 19.91 kB / 0.8798 GB, free: 4.629 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.003547, allocations: 1 kB / 0.8798 GB, free: 4.629 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.142e-06/0.003548, allocations: 0 / 0.8798 GB, free: 4.629 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.003553, allocations: 0.6875 kB / 0.8798 GB, free: 4.629 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004023/0.003955, allocations: 360.6 kB / 0.8802 GB, free: 4.238 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.004, allocations: 15.47 kB / 0.8802 GB, free: 4.227 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.999e-05/0.00404, allocations: 8.891 kB / 0.8802 GB, free: 4.219 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.397e-05/0.004133, allocations: 112.6 kB / 0.8803 GB, free: 4.082 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.004145, allocations: 384 / 0.8803 GB, free: 4.082 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.213e-05/0.004158, allocations: 384 / 0.8803 GB, free: 4.082 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001346/0.004292, allocations: 58.88 kB / 0.8804 GB, free: 4.016 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.004303, allocations: 192 / 0.8804 GB, free: 4.016 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.004312, allocations: 384 / 0.8804 GB, free: 4.016 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/0.004322, allocations: 8.375 kB / 0.8804 GB, free: 4.008 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.255e-05/0.004355, allocations: 8.531 kB / 0.8804 GB, free: 4 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003216/0.004677, allocations: 244.9 kB / 0.8806 GB, free: 3.727 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.541e-05/0.004742, allocations: 39.03 kB / 0.8807 GB, free: 3.676 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.587e-05/0.004768, allocations: 8.281 kB / 0.8807 GB, free: 3.664 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.846e-06/0.004777, allocations: 0 / 0.8807 GB, free: 3.664 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.523e-05/0.004812, allocations: 38.98 kB / 0.8807 GB, free: 3.617 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.473e-06/0.004813, allocations: 0 / 0.8807 GB, free: 3.617 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001627/0.004976, allocations: 41.64 kB / 0.8807 GB, free: 3.57 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.105e-05/0.005007, allocations: 52.41 kB / 0.8808 GB, free: 3.508 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.705e-05/0.005094, allocations: 161.9 kB / 0.8809 GB, free: 3.332 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.34e-05/0.005108, allocations: 29.7 kB / 0.881 GB, free: 3.297 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.188e-05/0.00516, allocations: 135.5 kB / 0.8811 GB, free: 3.16 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.893e-05/0.005178, allocations: 4.078 kB / 0.8811 GB, free: 3.156 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.845e-05/0.005217, allocations: 31.36 kB / 0.8811 GB, free: 3.117 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.005362, allocations: 496.1 kB / 0.8816 GB, free: 2.621 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.799e-05/0.00538, allocations: 4 kB / 0.8816 GB, free: 2.617 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.097e-05/0.005391, allocations: 0 / 0.8816 GB, free: 2.617 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.113e-05/0.005422, allocations: 11.69 kB / 0.8816 GB, free: 2.602 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.005424, allocations: 0 / 0.8816 GB, free: 2.602 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.178e-05/0.005496, allocations: 41.69 kB / 0.8817 GB, free: 2.555 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.005512, allocations: 8 kB / 0.8817 GB, free: 2.547 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.005518, allocations: 3.938 kB / 0.8817 GB, free: 2.543 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.005536, allocations: 4.094 kB / 0.8817 GB, free: 2.539 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.896e-05/0.005615, allocations: 7.938 kB / 0.8817 GB, free: 2.531 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.00562, allocations: 0 / 0.8817 GB, free: 2.531 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.353e-05/0.005644, allocations: 4 kB / 0.8817 GB, free: 2.527 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.218e-06/0.005648, allocations: 0 / 0.8817 GB, free: 2.527 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (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 prepare postOptimizeDAE: time 7.696e-05/0.005725, allocations: 156.6 kB / 0.8818 GB, free: 2.363 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.541e-05/0.00575, allocations: 8 kB / 0.8818 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.145e-05/0.005782, allocations: 7.25 kB / 0.8819 GB, free: 2.348 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.005784, allocations: 0 / 0.8819 GB, free: 2.348 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.005787, allocations: 0 / 0.8819 GB, free: 2.348 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.00579, allocations: 4 kB / 0.8819 GB, free: 2.344 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001275/0.005918, allocations: 120.6 kB / 0.882 GB, free: 2.191 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.005921, allocations: 4 kB / 0.882 GB, free: 2.188 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.168e-05/0.005952, allocations: 4 kB / 0.882 GB, free: 2.184 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.005957, allocations: 3.984 kB / 0.882 GB, free: 2.18 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.911e-06/0.005962, allocations: 0 / 0.882 GB, free: 2.18 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.357e-06/0.005966, allocations: 3.938 kB / 0.882 GB, free: 2.176 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.005967, allocations: 256 / 0.882 GB, free: 2.176 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001261/0.006093, allocations: 195.8 kB / 0.8822 GB, free: 1.965 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.392e-06/0.006099, allocations: 0 / 0.8822 GB, free: 1.965 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.45e-05/0.006114, allocations: 8.031 kB / 0.8822 GB, free: 1.957 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.78e-05/0.006172, allocations: 7.938 kB / 0.8822 GB, free: 1.949 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.364e-05/0.006215, allocations: 3.984 kB / 0.8822 GB, free: 1.945 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.796e-06/0.006218, allocations: 0 / 0.8822 GB, free: 1.945 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.13e-05/0.006269, allocations: 123.2 kB / 0.8823 GB, free: 1.824 MB / 0.8386 GB Notification: Performance of sort global known variables: time 8e-08/0.006269, allocations: 0 / 0.8823 GB, free: 1.824 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002411/0.006511, allocations: 8 kB / 0.8823 GB, free: 1.816 MB / 0.8386 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 (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.0001274/0.006638, allocations: 99.23 kB / 0.8824 GB, free: 1.711 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001059/0.006744, allocations: 19.62 kB / 0.8824 GB, free: 1.688 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.006746, allocations: 0 / 0.8824 GB, free: 1.688 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.716e-05/0.006773, allocations: 15.62 kB / 0.8824 GB, free: 1.668 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002996/0.007073, allocations: 4 kB / 0.8825 GB, free: 1.664 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003669/0.00744, allocations: 114.4 kB / 0.8826 GB, free: 1.523 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.417e-05/0.007494, allocations: 55.34 kB / 0.8826 GB, free: 1.449 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.841e-05/0.007523, allocations: 4 kB / 0.8826 GB, free: 1.445 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.724e-05/0.00756, allocations: 8.625 kB / 0.8826 GB, free: 1.438 MB / 0.8386 GB Notification: Performance of SimCode: time 1.373e-06/0.007561, allocations: 4 kB / 0.8826 GB, free: 1.434 MB / 0.8386 GB Notification: Performance of Templates: time 0.002775/0.01034, allocations: 492 kB / 0.8831 GB, free: 0.9648 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MultiplyByParameter.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.686665546149015]