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.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.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.001394/0.001394, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.002124/0.002124, allocations: 191.3 kB / 16.14 MB, free: 6.734 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.495/1.495, allocations: 222.9 MB / 239.8 MB, free: 4.613 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.52/2.52, allocations: 390.2 MB / 0.6642 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 63.91 kB / 0.8119 GB, free: 14.87 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7711/0.7724, allocations: 140.4 MB / 0.9489 GB, free: 9.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply): time 0.002171/0.7746, allocations: 0.7644 MB / 0.9497 GB, free: 8.566 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000774/0.7754, allocations: 0.8003 MB / 0.9505 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.732e-05/0.7755, allocations: 1.375 kB / 0.9505 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.683e-05/0.7755, allocations: 4 kB / 0.9505 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.347e-05/0.7756, allocations: 5.312 kB / 0.9505 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 6.043e-05/0.7757, allocations: 13.36 kB / 0.9505 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.694e-05/0.7758, allocations: 36.42 kB / 0.9505 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.7759, allocations: 17.41 kB / 0.9505 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.223e-05/0.7759, allocations: 9.5 kB / 0.9506 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.56e-05/0.776, allocations: 25.34 kB / 0.9506 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.647e-05/0.776, allocations: 1.375 kB / 0.9506 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.969e-06/0.776, allocations: 6.75 kB / 0.9506 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.822e-05/0.7761, allocations: 9.312 kB / 0.9506 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.116e-05/0.7761, allocations: 14.67 kB / 0.9506 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.859e-05/0.7762, allocations: 38.69 kB / 0.9506 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.7762, allocations: 1.375 kB / 0.9506 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.032e-06/0.7762, allocations: 0 / 0.9506 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.7762, allocations: 0 / 0.9506 GB, free: 7.781 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.0004973/0.7767, allocations: 373.9 kB / 0.951 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.294e-05/0.7768, allocations: 12.25 kB / 0.951 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.385e-05/0.7768, allocations: 3.688 kB / 0.951 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.619e-05/0.7769, allocations: 171 kB / 0.9512 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.7769, allocations: 1.75 kB / 0.9512 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.375e-05/0.7769, allocations: 1.75 kB / 0.9512 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002479/0.7772, allocations: 66.84 kB / 0.9512 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.7772, allocations: 1.562 kB / 0.9512 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.7772, allocations: 3.938 kB / 0.9513 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.7772, allocations: 4 kB / 0.9513 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000289/0.7775, allocations: 67.83 kB / 0.9513 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003591/0.7779, allocations: 263.9 kB / 0.9516 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000205/0.7781, allocations: 59.94 kB / 0.9516 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001546/0.7783, allocations: 39.58 kB / 0.9517 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.463e-05/0.7783, allocations: 0 / 0.9517 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.984e-05/0.7783, allocations: 35.91 kB / 0.9517 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 7.31e-07/0.7783, allocations: 0 / 0.9517 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.000529/0.7789, allocations: 137.7 kB / 0.9518 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.177e-05/0.7789, allocations: 52.66 kB / 0.9519 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.05e-05/0.779, allocations: 106.8 kB / 0.952 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.568e-06/0.779, allocations: 26.98 kB / 0.952 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.574e-05/0.779, allocations: 89.3 kB / 0.9521 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.238e-05/0.7791, allocations: 9.188 kB / 0.9521 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.14e-05/0.7791, allocations: 20.36 kB / 0.9521 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.426e-05/0.7792, allocations: 313.3 kB / 0.9524 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001415/0.7793, allocations: 28.53 kB / 0.9524 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001359/0.7795, allocations: 38.14 kB / 0.9525 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002581/0.7797, allocations: 70.69 kB / 0.9526 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.7797, allocations: 3.938 kB / 0.9526 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002991/0.78, allocations: 96.88 kB / 0.9526 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.7801, allocations: 9.062 kB / 0.9527 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.718e-06/0.7801, allocations: 1.844 kB / 0.9527 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.7801, allocations: 0 / 0.9527 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001371/0.7802, allocations: 14.2 kB / 0.9527 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.842e-06/0.7802, allocations: 0 / 0.9527 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.237e-05/0.7803, allocations: 19.09 kB / 0.9527 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.197e-06/0.7803, allocations: 5.312 kB / 0.9527 GB, free: 5.809 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 5.944e-05/0.7804, allocations: 115 kB / 0.9528 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.283e-05/0.7804, allocations: 10.28 kB / 0.9528 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.644e-05/0.7805, allocations: 9.094 kB / 0.9528 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.7805, allocations: 1.219 kB / 0.9528 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.7805, allocations: 4 kB / 0.9528 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.7805, allocations: 0 / 0.9528 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001358/0.7806, allocations: 173.7 kB / 0.953 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.7806, allocations: 0 / 0.953 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.479e-05/0.7807, allocations: 13.95 kB / 0.953 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.7808, allocations: 1.062 kB / 0.953 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.625e-06/0.7808, allocations: 0 / 0.953 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.7808, allocations: 5.219 kB / 0.953 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.7808, allocations: 0 / 0.953 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003254/0.7811, allocations: 200.5 kB / 0.9532 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.064e-05/0.7811, allocations: 78.92 kB / 0.9533 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.449e-05/0.7812, allocations: 0 / 0.9533 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.7813, allocations: 14.8 kB / 0.9533 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.665e-05/0.7813, allocations: 9.641 kB / 0.9533 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/0.7813, allocations: 1.156 kB / 0.9533 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.117e-05/0.7813, allocations: 86.12 kB / 0.9534 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7814, allocations: 0 / 0.9534 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002042/0.7816, allocations: 5.719 kB / 0.9534 GB, free: 5.086 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.0001655/0.7817, allocations: 104.3 kB / 0.9535 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000333/0.7821, allocations: 70.36 kB / 0.9536 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.7821, allocations: 0 / 0.9536 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001471/0.7822, allocations: 37.53 kB / 0.9536 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003198/0.7826, allocations: 7.625 kB / 0.9536 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003114/0.7829, allocations: 146 kB / 0.9537 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001348/0.783, allocations: 0.6797 MB / 0.9544 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.484e-05/0.7831, allocations: 0.6875 kB / 0.9544 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.181e-05/0.7831, allocations: 8.719 kB / 0.9544 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of SimCode: time 3.11e-07/0.7831, allocations: 4 kB / 0.9544 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of Templates: time 0.002668/0.7858, allocations: 0.5501 MB / 0.955 GB, free: 3.805 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/jenkins/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