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.001533/0.001533, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001908/0.001908, allocations: 192.8 kB / 16.25 MB, free: 6.633 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.578/1.578, allocations: 222.9 MB / 239.9 MB, free: 4.527 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.668/2.668, allocations: 390.2 MB / 0.6643 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 75.89 kB / 0.8121 GB, free: 14.75 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9379/0.9392, allocations: 140.4 MB / 0.9491 GB, free: 9.246 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiplyByParameter): time 0.002083/0.9414, allocations: 0.7325 MB / 0.9498 GB, free: 8.688 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009057/0.9423, allocations: 0.7903 MB / 0.9506 GB, free: 8.039 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.991e-05/0.9423, allocations: 1.375 kB / 0.9506 GB, free: 8.039 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.841e-05/0.9424, allocations: 7.984 kB / 0.9506 GB, free: 8.031 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.307e-05/0.9425, allocations: 3.938 kB / 0.9506 GB, free: 8.027 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 6.089e-05/0.9425, allocations: 5.375 kB / 0.9506 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.93e-05/0.9426, allocations: 21.55 kB / 0.9506 GB, free: 8.012 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/0.9428, allocations: 8.125 kB / 0.9506 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.446e-05/0.9428, allocations: 6.75 kB / 0.9507 GB, free: 8.004 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.849e-05/0.9429, allocations: 10.67 kB / 0.9507 GB, free: 7.996 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.03e-05/0.9429, allocations: 2.75 kB / 0.9507 GB, free: 7.996 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.187e-06/0.9429, allocations: 1.375 kB / 0.9507 GB, free: 7.996 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.001e-05/0.9429, allocations: 13.36 kB / 0.9507 GB, free: 7.984 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.846e-05/0.943, allocations: 9.312 kB / 0.9507 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.092e-05/0.943, allocations: 24.02 kB / 0.9507 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.9431, allocations: 1.375 kB / 0.9507 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.834e-06/0.9431, allocations: 0 / 0.9507 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.9431, allocations: 0 / 0.9507 GB, free: 7.957 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.0004497/0.9435, allocations: 340.5 kB / 0.951 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.9436, allocations: 8.25 kB / 0.951 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.893e-05/0.9436, allocations: 2.312 kB / 0.9511 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.064e-05/0.9437, allocations: 179 kB / 0.9512 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.9437, allocations: 384 / 0.9512 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.152e-05/0.9437, allocations: 1.75 kB / 0.9512 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001683/0.9439, allocations: 49.23 kB / 0.9513 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.9439, allocations: 9.438 kB / 0.9513 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.944, allocations: 3.938 kB / 0.9513 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.944, allocations: 0 / 0.9513 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001602/0.9441, allocations: 35.22 kB / 0.9513 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003402/0.9445, allocations: 254.5 kB / 0.9516 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001486/0.9446, allocations: 38.88 kB / 0.9516 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.776e-05/0.9447, allocations: 22.41 kB / 0.9516 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.169e-05/0.9448, allocations: 5.375 kB / 0.9516 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/0.9448, allocations: 34.5 kB / 0.9517 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.9448, allocations: 0 / 0.9517 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003832/0.9452, allocations: 82.14 kB / 0.9517 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/0.9452, allocations: 51.41 kB / 0.9518 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.965e-05/0.9453, allocations: 104.2 kB / 0.9519 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.396e-05/0.9453, allocations: 29.7 kB / 0.9519 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.001e-05/0.9454, allocations: 85.77 kB / 0.952 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.142e-05/0.9454, allocations: 4.875 kB / 0.952 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.254e-05/0.9455, allocations: 11.91 kB / 0.952 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.14e-05/0.9455, allocations: 319.9 kB / 0.9523 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.258e-05/0.9456, allocations: 13.45 kB / 0.9523 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.669e-05/0.9457, allocations: 25.92 kB / 0.9524 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001478/0.9459, allocations: 35.08 kB / 0.9524 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.9459, allocations: 3.984 kB / 0.9524 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001863/0.9461, allocations: 68.48 kB / 0.9525 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/0.9461, allocations: 5.25 kB / 0.9525 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.9461, allocations: 0 / 0.9525 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.9461, allocations: 5.344 kB / 0.9525 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001112/0.9463, allocations: 9.641 kB / 0.9525 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.9463, allocations: 0 / 0.9525 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.721e-05/0.9463, allocations: 7.891 kB / 0.9525 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.9463, allocations: 1.219 kB / 0.9525 GB, free: 6.133 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.318e-05/0.9464, allocations: 119.2 kB / 0.9526 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.147e-05/0.9464, allocations: 1.062 kB / 0.9526 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.308e-05/0.9465, allocations: 4.375 kB / 0.9526 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.9465, allocations: 5.125 kB / 0.9526 GB, free: 6 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.9465, allocations: 0 / 0.9526 GB, free: 6 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.9465, allocations: 0 / 0.9526 GB, free: 6 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001415/0.9466, allocations: 163.3 kB / 0.9528 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.9467, allocations: 0 / 0.9528 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.764e-05/0.9467, allocations: 9.828 kB / 0.9528 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.9467, allocations: 1.188 kB / 0.9528 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.245e-05/0.9467, allocations: 4 kB / 0.9528 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.9467, allocations: 3.938 kB / 0.9528 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.9468, allocations: 5.125 kB / 0.9528 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002542/0.947, allocations: 166.6 kB / 0.9529 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.682e-05/0.9471, allocations: 82.27 kB / 0.953 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.956e-05/0.9471, allocations: 5.078 kB / 0.953 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.9472, allocations: 3.906 kB / 0.953 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.809e-05/0.9473, allocations: 9.141 kB / 0.953 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-06/0.9473, allocations: 7.969 kB / 0.953 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.307e-05/0.9473, allocations: 79.56 kB / 0.9531 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9473, allocations: 0 / 0.9531 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000214/0.9475, allocations: 3.625 kB / 0.9531 GB, free: 5.434 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.0001839/0.9477, allocations: 100.1 kB / 0.9532 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002239/0.948, allocations: 41.45 kB / 0.9533 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.948, allocations: 4.062 kB / 0.9533 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.347e-05/0.9481, allocations: 14.83 kB / 0.9533 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003572/0.9484, allocations: 14.8 kB / 0.9533 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003565/0.9488, allocations: 109.7 kB / 0.9534 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001886/0.949, allocations: 0.6817 MB / 0.9541 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.045e-05/0.949, allocations: 4.062 kB / 0.9541 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.188e-05/0.9491, allocations: 8.812 kB / 0.9541 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.9491, allocations: 0 / 0.9541 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of Templates: time 0.002874/0.9519, allocations: 388 kB / 0.9544 GB, free: 4.281 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