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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001598/0.001598, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001888/0.001888, allocations: 198.7 kB / 16.79 MB, free: 6.809 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.452/1.452, allocations: 222.9 MB / 240.5 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.414/2.414, allocations: 390.2 MB / 0.6649 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001499/0.001499, allocations: 75.89 kB / 0.8125 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6618/0.6633, allocations: 140.4 MB / 0.9496 GB, free: 9.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiplyByParameter): time 0.001773/0.6651, allocations: 0.722 MB / 0.9503 GB, free: 8.586 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006254/0.6658, allocations: 0.7906 MB / 0.9511 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.002e-05/0.6658, allocations: 5.375 kB / 0.9511 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.164e-05/0.6658, allocations: 0 / 0.9511 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.509e-05/0.6659, allocations: 5.312 kB / 0.9511 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.674e-05/0.666, allocations: 7.984 kB / 0.9511 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.688e-05/0.666, allocations: 21.61 kB / 0.9511 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.872e-05/0.6661, allocations: 12.05 kB / 0.9511 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.011e-05/0.6662, allocations: 2.75 kB / 0.9511 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.949e-05/0.6662, allocations: 14.67 kB / 0.9511 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.334e-05/0.6662, allocations: 1.375 kB / 0.9511 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.494e-06/0.6662, allocations: 5.375 kB / 0.9512 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.346e-05/0.6663, allocations: 5.375 kB / 0.9512 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.123e-05/0.6663, allocations: 5.312 kB / 0.9512 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 4.691e-05/0.6663, allocations: 20.08 kB / 0.9512 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.6663, allocations: 0 / 0.9512 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.02e-07/0.6663, allocations: 0 / 0.9512 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.446e-06/0.6664, allocations: 0 / 0.9512 GB, free: 7.863 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.0003614/0.6667, allocations: 345.7 kB / 0.9515 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.6668, allocations: 13.56 kB / 0.9515 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.97e-05/0.6668, allocations: 6.312 kB / 0.9515 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.825e-05/0.6669, allocations: 165.7 kB / 0.9517 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.6669, allocations: 384 / 0.9517 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.375e-06/0.6669, allocations: 1.75 kB / 0.9517 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001525/0.6671, allocations: 50.61 kB / 0.9517 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.6671, allocations: 4.125 kB / 0.9517 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.6671, allocations: 3.938 kB / 0.9517 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.6671, allocations: 1.375 kB / 0.9517 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001572/0.6673, allocations: 37.83 kB / 0.9518 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002393/0.6675, allocations: 254.5 kB / 0.952 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001136/0.6676, allocations: 38.88 kB / 0.9521 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.381e-05/0.6677, allocations: 26.45 kB / 0.9521 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.272e-05/0.6677, allocations: 1.375 kB / 0.9521 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.613e-05/0.6678, allocations: 34.5 kB / 0.9521 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.6678, allocations: 1.375 kB / 0.9521 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003151/0.6681, allocations: 79.89 kB / 0.9522 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.499e-05/0.6681, allocations: 52.78 kB / 0.9523 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.429e-05/0.6682, allocations: 103.5 kB / 0.9524 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.243e-06/0.6682, allocations: 27.08 kB / 0.9524 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.253e-05/0.6682, allocations: 84.14 kB / 0.9525 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.514e-05/0.6682, allocations: 9.266 kB / 0.9525 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.558e-05/0.6683, allocations: 12.47 kB / 0.9525 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.19e-05/0.6683, allocations: 316.2 kB / 0.9528 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.561e-05/0.6684, allocations: 12.23 kB / 0.9528 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.887e-05/0.6685, allocations: 25.55 kB / 0.9528 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001336/0.6686, allocations: 39.69 kB / 0.9529 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.6686, allocations: 0 / 0.9529 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000167/0.6688, allocations: 69.05 kB / 0.9529 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.6688, allocations: 9.359 kB / 0.9529 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.6688, allocations: 4.344 kB / 0.9529 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.6688, allocations: 0 / 0.9529 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.997e-05/0.6689, allocations: 10.09 kB / 0.9529 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.6689, allocations: 1.688 kB / 0.9529 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.632e-05/0.669, allocations: 6.891 kB / 0.9529 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.959e-06/0.669, allocations: 5.094 kB / 0.953 GB, free: 6.035 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 4.45e-05/0.669, allocations: 115.5 kB / 0.9531 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.273e-05/0.6691, allocations: 5.281 kB / 0.9531 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.634e-05/0.6691, allocations: 7.125 kB / 0.9531 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.6691, allocations: 5.328 kB / 0.9531 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.6691, allocations: 0 / 0.9531 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.6691, allocations: 5.281 kB / 0.9531 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001073/0.6692, allocations: 157.7 kB / 0.9532 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.6692, allocations: 0 / 0.9532 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.799e-05/0.6693, allocations: 9.953 kB / 0.9532 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.6693, allocations: 1.094 kB / 0.9532 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.6693, allocations: 0 / 0.9532 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.6693, allocations: 1.188 kB / 0.9532 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.6693, allocations: 4 kB / 0.9533 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001853/0.6695, allocations: 163.9 kB / 0.9534 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.636e-05/0.6695, allocations: 85 kB / 0.9535 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.248e-05/0.6696, allocations: 1.5 kB / 0.9535 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.241e-05/0.6696, allocations: 7.672 kB / 0.9535 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.827e-05/0.6697, allocations: 5.469 kB / 0.9535 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.6697, allocations: 4 kB / 0.9535 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.228e-05/0.6697, allocations: 87.61 kB / 0.9536 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6697, allocations: 0 / 0.9536 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002108/0.6699, allocations: 3.875 kB / 0.9536 GB, free: 5.34 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.0001031/0.67, allocations: 98.69 kB / 0.9537 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001912/0.6702, allocations: 37.53 kB / 0.9537 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.6702, allocations: 4 kB / 0.9537 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.42e-05/0.6703, allocations: 19.66 kB / 0.9537 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000271/0.6706, allocations: 7.844 kB / 0.9538 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002302/0.6708, allocations: 144.7 kB / 0.9539 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.996e-05/0.6709, allocations: 0.6821 MB / 0.9546 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.351e-05/0.671, allocations: 7.438 kB / 0.9546 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.671, allocations: 0 / 0.9546 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of Templates: time 0.00159/0.6726, allocations: 0.5432 MB / 0.9551 GB, free: 4.09 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/jenkins1/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