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.001065/0.001065, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001257/0.001257, allocations: 173 kB / 23.49 MB, free: 1.062 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.052/1.052, allocations: 177.1 MB / 203.8 MB, free: 5.637 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.451/2.451, allocations: 429.5 MB / 0.6736 GB, free: 4.047 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 6.301e-06/6.301e-06, allocations: 4 kB / 0.8782 GB, free: 6.57 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.854e-05/4.484e-05, allocations: 2.969 kB / 0.8783 GB, free: 6.566 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter): time 0.002814/0.002859, allocations: 0.6882 MB / 0.8789 GB, free: 5.902 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001591/0.00445, allocations: 0.8343 MB / 0.8797 GB, free: 5.059 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.017e-05/0.00452, allocations: 0.6562 kB / 0.8797 GB, free: 5.059 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.807e-05/0.004568, allocations: 7.938 kB / 0.8797 GB, free: 5.051 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001155/0.004683, allocations: 1.531 kB / 0.8797 GB, free: 5.051 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001073/0.004791, allocations: 4 kB / 0.8798 GB, free: 5.047 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.000159/0.00495, allocations: 27.86 kB / 0.8798 GB, free: 5.02 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001765/0.005126, allocations: 15.27 kB / 0.8798 GB, free: 5.008 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001359/0.005262, allocations: 11.94 kB / 0.8798 GB, free: 4.996 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.307e-05/0.005315, allocations: 7.984 kB / 0.8798 GB, free: 4.988 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.298e-05/0.005348, allocations: 0 / 0.8798 GB, free: 4.988 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 9.618e-06/0.005358, allocations: 4 kB / 0.8798 GB, free: 4.984 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.599e-05/0.005384, allocations: 4 kB / 0.8798 GB, free: 4.98 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.514e-05/0.005429, allocations: 15.91 kB / 0.8798 GB, free: 4.965 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001506/0.005579, allocations: 15.98 kB / 0.8799 GB, free: 4.949 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.003e-05/0.005589, allocations: 0.9375 kB / 0.8799 GB, free: 4.949 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.547e-06/0.005593, allocations: 0 / 0.8799 GB, free: 4.949 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.151e-05/0.005604, allocations: 0 / 0.8799 GB, free: 4.949 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.0006548/0.006259, allocations: 361.6 kB / 0.8802 GB, free: 4.559 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 7.301e-05/0.006332, allocations: 8.031 kB / 0.8802 GB, free: 4.551 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.108e-05/0.006403, allocations: 10.02 kB / 0.8802 GB, free: 4.543 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001729/0.006576, allocations: 108.6 kB / 0.8803 GB, free: 4.41 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.676e-05/0.006603, allocations: 4.375 kB / 0.8803 GB, free: 4.406 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.635e-05/0.006619, allocations: 1.469 kB / 0.8803 GB, free: 4.406 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002466/0.006866, allocations: 54.95 kB / 0.8804 GB, free: 4.344 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.006879, allocations: 4.125 kB / 0.8804 GB, free: 4.34 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.006894, allocations: 1 kB / 0.8804 GB, free: 4.34 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.534e-05/0.006909, allocations: 5.141 kB / 0.8804 GB, free: 4.336 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.732e-05/0.006956, allocations: 7.938 kB / 0.8804 GB, free: 4.328 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004946/0.007451, allocations: 251.3 kB / 0.8806 GB, free: 4.051 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.873e-05/0.00753, allocations: 27.06 kB / 0.8807 GB, free: 4.012 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.55e-05/0.007565, allocations: 11.75 kB / 0.8807 GB, free: 3.996 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.07e-05/0.007576, allocations: 3.938 kB / 0.8807 GB, free: 3.992 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.016e-05/0.007606, allocations: 37.33 kB / 0.8807 GB, free: 3.945 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 2.555e-06/0.007608, allocations: 0 / 0.8807 GB, free: 3.945 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0002294/0.007838, allocations: 49.62 kB / 0.8808 GB, free: 3.891 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.068e-05/0.007889, allocations: 51.41 kB / 0.8808 GB, free: 3.828 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001237/0.008012, allocations: 158.5 kB / 0.881 GB, free: 3.656 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/0.008027, allocations: 26.86 kB / 0.881 GB, free: 3.625 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.83e-05/0.008106, allocations: 138.8 kB / 0.8811 GB, free: 3.484 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.56e-05/0.008131, allocations: 7.953 kB / 0.8811 GB, free: 3.477 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.121e-05/0.008173, allocations: 19.88 kB / 0.8811 GB, free: 3.449 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001842/0.008357, allocations: 492.1 kB / 0.8816 GB, free: 2.957 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.1e-05/0.008378, allocations: 1.781 kB / 0.8816 GB, free: 2.957 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.772e-05/0.008396, allocations: 7.938 kB / 0.8816 GB, free: 2.949 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.794e-05/0.008443, allocations: 19.88 kB / 0.8816 GB, free: 2.926 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.008447, allocations: 4 kB / 0.8816 GB, free: 2.922 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000102/0.008549, allocations: 37.69 kB / 0.8817 GB, free: 2.879 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.67e-05/0.008576, allocations: 6.5 kB / 0.8817 GB, free: 2.875 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.008585, allocations: 3.938 kB / 0.8817 GB, free: 2.871 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.423e-05/0.008609, allocations: 0 / 0.8817 GB, free: 2.871 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000164/0.008773, allocations: 8 kB / 0.8817 GB, free: 2.863 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.395e-06/0.008782, allocations: 0 / 0.8817 GB, free: 2.863 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.197e-05/0.008814, allocations: 3.984 kB / 0.8817 GB, free: 2.859 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/0.008825, allocations: 8 kB / 0.8817 GB, free: 2.852 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 0.0001221/0.008948, allocations: 160.5 kB / 0.8819 GB, free: 2.684 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.742e-05/0.008975, allocations: 0 / 0.8819 GB, free: 2.684 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.14e-05/0.009016, allocations: 11.25 kB / 0.8819 GB, free: 2.672 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.009021, allocations: 0 / 0.8819 GB, free: 2.672 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.009026, allocations: 0 / 0.8819 GB, free: 2.672 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.009031, allocations: 0 / 0.8819 GB, free: 2.672 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001661/0.009197, allocations: 120.6 kB / 0.882 GB, free: 2.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.0092, allocations: 0 / 0.882 GB, free: 2.52 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.649e-05/0.009256, allocations: 4 kB / 0.882 GB, free: 2.516 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.009261, allocations: 0 / 0.882 GB, free: 2.516 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.00927, allocations: 4 kB / 0.882 GB, free: 2.512 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.009274, allocations: 7.938 kB / 0.882 GB, free: 2.504 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/0.009277, allocations: 3.984 kB / 0.882 GB, free: 2.5 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001856/0.009463, allocations: 187.8 kB / 0.8822 GB, free: 2.297 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.632e-05/0.009479, allocations: 4 kB / 0.8822 GB, free: 2.293 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.649e-05/0.009496, allocations: 0 / 0.8822 GB, free: 2.293 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.011e-05/0.009576, allocations: 15.86 kB / 0.8822 GB, free: 2.277 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.597e-05/0.009632, allocations: 0 / 0.8822 GB, free: 2.277 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.028e-06/0.009636, allocations: 0 / 0.8822 GB, free: 2.277 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.778e-05/0.009694, allocations: 127.2 kB / 0.8823 GB, free: 2.152 MB / 0.8386 GB Notification: Performance of sort global known variables: time 9.1e-08/0.009694, allocations: 0 / 0.8823 GB, free: 2.152 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002573/0.009951, allocations: 8.031 kB / 0.8823 GB, free: 2.145 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.0001732/0.01012, allocations: 95.23 kB / 0.8824 GB, free: 2.043 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000123/0.01025, allocations: 15.69 kB / 0.8824 GB, free: 2.023 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.01025, allocations: 0 / 0.8824 GB, free: 2.023 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.043e-05/0.01028, allocations: 15.69 kB / 0.8825 GB, free: 2.004 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003666/0.01065, allocations: 12.12 kB / 0.8825 GB, free: 1.992 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000478/0.01113, allocations: 118.5 kB / 0.8826 GB, free: 1.848 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.297e-05/0.01121, allocations: 55.34 kB / 0.8826 GB, free: 1.773 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.721e-05/0.01124, allocations: 0 / 0.8826 GB, free: 1.773 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.16e-05/0.01128, allocations: 12.5 kB / 0.8826 GB, free: 1.762 MB / 0.8386 GB Notification: Performance of SimCode: time 1.623e-06/0.01128, allocations: 0 / 0.8826 GB, free: 1.762 MB / 0.8386 GB Notification: Performance of Templates: time 0.003556/0.01483, allocations: 497.1 kB / 0.8831 GB, free: 1.285 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.98449560906738]