Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiplyByParameter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiplyByParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain1.u|gain1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiplyByParameter") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiplyByParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain1.u|gain1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiplyByParameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001396/0.001396, allocations: 90.75 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.01253/0.01253, allocations: 172.7 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.644/1.644, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.579/2.579, allocations: 390.9 MB / 0.6663 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0006212/0.0006216, allocations: 15.94 kB / 0.816 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.047/1.047, allocations: 142.4 MB / 0.9551 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiplyByParameter): time 0.001081/1.048, allocations: 406.6 kB / 0.9554 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001164/1.049, allocations: 0.7874 MB / 0.9562 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.343e-05/1.05, allocations: 0 / 0.9562 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.011e-05/1.05, allocations: 0 / 0.9562 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.903e-05/1.05, allocations: 1.312 kB / 0.9562 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 6.472e-05/1.05, allocations: 9.359 kB / 0.9562 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.101e-05/1.05, allocations: 20.44 kB / 0.9562 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001248/1.05, allocations: 8.141 kB / 0.9563 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.136e-05/1.05, allocations: 10.78 kB / 0.9563 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.956e-05/1.05, allocations: 14.44 kB / 0.9563 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.103e-05/1.05, allocations: 1.25 kB / 0.9563 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.036e-06/1.05, allocations: 1.406 kB / 0.9563 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.812e-05/1.05, allocations: 4 kB / 0.9563 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.048e-05/1.05, allocations: 31.27 kB / 0.9563 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.824e-05/1.05, allocations: 28.7 kB / 0.9563 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/1.05, allocations: 0 / 0.9563 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.004e-06/1.05, allocations: 0 / 0.9563 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.7e-06/1.05, allocations: 1.156 kB / 0.9563 GB, free: 6.68 MB / 0.7169 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.0004357/1.051, allocations: 342.3 kB / 0.9567 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.442e-05/1.051, allocations: 8.906 kB / 0.9567 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.253e-05/1.051, allocations: 3.281 kB / 0.9567 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.887e-05/1.051, allocations: 169.5 kB / 0.9568 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/1.051, allocations: 1.469 kB / 0.9568 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.474e-05/1.051, allocations: 9.641 kB / 0.9569 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001867/1.051, allocations: 53.41 kB / 0.9569 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/1.051, allocations: 1.312 kB / 0.9569 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/1.051, allocations: 3.938 kB / 0.9569 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/1.051, allocations: 1.344 kB / 0.9569 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001899/1.051, allocations: 47.92 kB / 0.957 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000318/1.052, allocations: 249.3 kB / 0.9572 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001285/1.052, allocations: 48.22 kB / 0.9572 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.641e-05/1.052, allocations: 31.66 kB / 0.9573 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.665e-05/1.052, allocations: 4.922 kB / 0.9573 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.896e-05/1.052, allocations: 35.75 kB / 0.9573 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.653e-06/1.052, allocations: 0 / 0.9573 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003842/1.052, allocations: 107 kB / 0.9574 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.634e-05/1.052, allocations: 52.47 kB / 0.9575 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.416e-05/1.053, allocations: 103.6 kB / 0.9576 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.376e-06/1.053, allocations: 26.83 kB / 0.9576 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.297e-05/1.053, allocations: 81.11 kB / 0.9577 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.065e-05/1.053, allocations: 9.062 kB / 0.9577 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.567e-05/1.053, allocations: 14.69 kB / 0.9577 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.831e-05/1.053, allocations: 311.8 kB / 0.958 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.101e-05/1.053, allocations: 21.22 kB / 0.958 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.383e-05/1.053, allocations: 27.3 kB / 0.958 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001666/1.053, allocations: 44.98 kB / 0.9581 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/1.053, allocations: 0 / 0.9581 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002207/1.053, allocations: 86.66 kB / 0.9582 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/1.053, allocations: 5.344 kB / 0.9582 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/1.053, allocations: 0 / 0.9582 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/1.053, allocations: 1.156 kB / 0.9582 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.381e-05/1.054, allocations: 12.27 kB / 0.9582 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/1.054, allocations: 0 / 0.9582 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.223e-05/1.054, allocations: 15.31 kB / 0.9582 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-06/1.054, allocations: 0 / 0.9582 GB, free: 4.848 MB / 0.7169 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.389e-05/1.054, allocations: 115.5 kB / 0.9583 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.831e-05/1.054, allocations: 5.719 kB / 0.9583 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.233e-05/1.054, allocations: 3.125 kB / 0.9583 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/1.054, allocations: 1.875 kB / 0.9583 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/1.054, allocations: 0 / 0.9583 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/1.054, allocations: 4 kB / 0.9583 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001249/1.054, allocations: 171 kB / 0.9585 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/1.054, allocations: 0 / 0.9585 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.92e-05/1.054, allocations: 8.906 kB / 0.9585 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/1.054, allocations: 0 / 0.9585 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.723e-06/1.054, allocations: 3.938 kB / 0.9585 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/1.054, allocations: 0 / 0.9585 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/1.054, allocations: 1.812 kB / 0.9585 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002253/1.054, allocations: 180.2 kB / 0.9587 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.499e-05/1.054, allocations: 78.42 kB / 0.9587 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.176e-05/1.054, allocations: 4.234 kB / 0.9587 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.767e-05/1.054, allocations: 14.5 kB / 0.9588 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.491e-05/1.054, allocations: 5.109 kB / 0.9588 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-06/1.054, allocations: 1.219 kB / 0.9588 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.621e-05/1.054, allocations: 79.25 kB / 0.9588 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/1.054, allocations: 0 / 0.9588 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002066/1.055, allocations: 7.812 kB / 0.9588 GB, free: 4.152 MB / 0.7169 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.0001281/1.055, allocations: 103.2 kB / 0.9589 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000197/1.055, allocations: 55.48 kB / 0.959 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/1.055, allocations: 0 / 0.959 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.046e-05/1.055, allocations: 20.05 kB / 0.959 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002765/1.055, allocations: 14.19 kB / 0.959 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002877/1.056, allocations: 112.7 kB / 0.9591 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001256/1.056, allocations: 0.6767 MB / 0.9598 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.558e-05/1.056, allocations: 1.031 kB / 0.9598 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.251e-05/1.056, allocations: 8.531 kB / 0.9598 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of SimCode: time 4.91e-07/1.056, allocations: 0 / 0.9598 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of Templates: time 0.002763/1.059, allocations: 366.4 kB / 0.9602 GB, free: 3.004 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiplyByParameter.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiplyByParameter.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiplyByParameter.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiplyByParameter.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiplyByParameter.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiplyByParameter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiplyByParameter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiplyByParameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_MultiplyByParameter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiplyByParameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches