Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply.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.Multiply,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|product1.u1|product1.u2|product1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|product1.u1|product1.u2|product1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001124/0.001124, 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.001176/0.001176, allocations: 200 kB / 16.79 MB, free: 6.828 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.376/1.376, allocations: 222.9 MB / 240.5 MB, free: 4.625 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.395/2.395, allocations: 390.2 MB / 0.6649 GB, free: 0.6367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 63.91 kB / 0.8125 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6589/0.6602, allocations: 140.4 MB / 0.9496 GB, free: 9.191 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply): time 0.001899/0.6622, allocations: 0.7645 MB / 0.9504 GB, free: 8.605 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008115/0.663, allocations: 0.8077 MB / 0.9511 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.711e-05/0.663, allocations: 1.25 kB / 0.9511 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.704e-05/0.6631, allocations: 0 / 0.9511 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.341e-05/0.6632, allocations: 9.047 kB / 0.9511 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 6.27e-05/0.6633, allocations: 5.25 kB / 0.9512 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.575e-05/0.6633, allocations: 40.88 kB / 0.9512 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.6635, allocations: 9.25 kB / 0.9512 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.485e-05/0.6635, allocations: 25.12 kB / 0.9512 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.734e-05/0.6636, allocations: 22.02 kB / 0.9512 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.209e-05/0.6636, allocations: 3 kB / 0.9512 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.263e-05/0.6636, allocations: 1.562 kB / 0.9513 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.168e-05/0.6637, allocations: 13.36 kB / 0.9513 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.844e-05/0.6637, allocations: 14.77 kB / 0.9513 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.387e-05/0.6638, allocations: 22.67 kB / 0.9513 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.164e-06/0.6638, allocations: 0 / 0.9513 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.543e-06/0.6638, allocations: 0 / 0.9513 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.6638, allocations: 0 / 0.9513 GB, free: 7.828 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000522/0.6644, allocations: 373.7 kB / 0.9517 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.6644, allocations: 9.531 kB / 0.9517 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.253e-05/0.6645, allocations: 2.375 kB / 0.9517 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.804e-05/0.6645, allocations: 171.6 kB / 0.9518 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.6646, allocations: 384 / 0.9518 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.007e-05/0.6646, allocations: 2.875 kB / 0.9518 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002419/0.6648, allocations: 75.72 kB / 0.9519 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.016e-06/0.6648, allocations: 4.188 kB / 0.9519 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.6648, allocations: 7.922 kB / 0.9519 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.6649, allocations: 1.562 kB / 0.9519 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002769/0.6651, allocations: 58.06 kB / 0.952 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003259/0.6655, allocations: 271.3 kB / 0.9522 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000217/0.6657, allocations: 61.31 kB / 0.9523 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001501/0.6659, allocations: 43.05 kB / 0.9523 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.478e-05/0.6659, allocations: 0 / 0.9523 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.149e-05/0.6659, allocations: 35.75 kB / 0.9524 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.6659, allocations: 0 / 0.9524 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005359/0.6665, allocations: 129.9 kB / 0.9525 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.831e-05/0.6665, allocations: 52.53 kB / 0.9525 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.072e-05/0.6666, allocations: 107.2 kB / 0.9526 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.13e-05/0.6666, allocations: 30.73 kB / 0.9527 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.961e-05/0.6666, allocations: 85.67 kB / 0.9528 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.058e-05/0.6666, allocations: 13.33 kB / 0.9528 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.294e-05/0.6667, allocations: 16.56 kB / 0.9528 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.15e-05/0.6667, allocations: 312.2 kB / 0.9531 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001416/0.6669, allocations: 40.83 kB / 0.9531 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001287/0.667, allocations: 33.12 kB / 0.9532 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002534/0.6673, allocations: 67.47 kB / 0.9532 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.6673, allocations: 3.938 kB / 0.9532 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002959/0.6676, allocations: 101.2 kB / 0.9533 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.6676, allocations: 5.5 kB / 0.9533 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.6676, allocations: 0 / 0.9533 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.6677, allocations: 1.156 kB / 0.9533 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001314/0.6678, allocations: 13.95 kB / 0.9533 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.6678, allocations: 4.875 kB / 0.9533 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.635e-05/0.6679, allocations: 18.62 kB / 0.9534 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.969e-06/0.6679, allocations: 1.062 kB / 0.9534 GB, free: 5.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 (3): * Single equations (assignments): 3 * 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 6.19e-05/0.668, allocations: 116.1 kB / 0.9535 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.42e-05/0.668, allocations: 2.219 kB / 0.9535 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.586e-05/0.668, allocations: 9.062 kB / 0.9535 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.668, allocations: 0 / 0.9535 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.668, allocations: 336 / 0.9535 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.215e-06/0.668, allocations: 0.9375 kB / 0.9535 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001437/0.6682, allocations: 173.5 kB / 0.9536 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.6682, allocations: 0 / 0.9536 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.705e-05/0.6683, allocations: 13.89 kB / 0.9537 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.696e-06/0.6683, allocations: 9.078 kB / 0.9537 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.6683, allocations: 0 / 0.9537 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.6683, allocations: 9 kB / 0.9537 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.6683, allocations: 0 / 0.9537 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003498/0.6687, allocations: 204.3 kB / 0.9539 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.803e-05/0.6687, allocations: 82.33 kB / 0.954 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.559e-05/0.6688, allocations: 1.312 kB / 0.954 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.6689, allocations: 10.23 kB / 0.954 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.271e-05/0.6689, allocations: 5.391 kB / 0.954 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.436e-06/0.6689, allocations: 1.719 kB / 0.954 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.13e-05/0.669, allocations: 85.06 kB / 0.954 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.669, allocations: 0 / 0.954 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002189/0.6692, allocations: 6.969 kB / 0.9541 GB, free: 5.125 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 (3): * Single equations (assignments): 3 * 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.0001291/0.6693, allocations: 106.3 kB / 0.9542 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000338/0.6697, allocations: 65.58 kB / 0.9542 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.6697, allocations: 1.375 kB / 0.9542 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001496/0.6698, allocations: 40 kB / 0.9543 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002975/0.6701, allocations: 12.03 kB / 0.9543 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003446/0.6705, allocations: 159.9 kB / 0.9544 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001355/0.6706, allocations: 0.6801 MB / 0.9551 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.431e-05/0.6707, allocations: 8.75 kB / 0.9551 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of SimCode: time 1.012e-06/0.6707, allocations: 4 kB / 0.9551 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of Templates: time 0.002097/0.6728, allocations: 0.7319 MB / 0.9558 GB, free: 3.734 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Multiply.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches