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.001151/0.001151, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.00133/0.00133, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.346/1.346, allocations: 223.2 MB / 239.9 MB, free: 5.211 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.325/2.325, allocations: 390.3 MB / 0.6653 GB, free: 2.844 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003483/0.0003483, allocations: 16 kB / 0.8146 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6652/0.6655, allocations: 142.3 MB / 0.9535 GB, free: 8.059 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply): time 0.000748/0.6663, allocations: 416.9 kB / 0.9539 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006782/0.667, allocations: 0.8073 MB / 0.9547 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.095e-05/0.6671, allocations: 1.062 kB / 0.9547 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.497e-05/0.6671, allocations: 0 / 0.9547 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.649e-05/0.6672, allocations: 5.031 kB / 0.9547 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.763e-05/0.6672, allocations: 10.17 kB / 0.9547 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.695e-05/0.6673, allocations: 30.86 kB / 0.9548 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.917e-05/0.6674, allocations: 9.156 kB / 0.9548 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.863e-05/0.6674, allocations: 13.52 kB / 0.9548 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.237e-05/0.6675, allocations: 19.88 kB / 0.9548 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.24e-05/0.6675, allocations: 3.438 kB / 0.9548 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.394e-06/0.6675, allocations: 0.5312 kB / 0.9548 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.258e-05/0.6675, allocations: 9.125 kB / 0.9548 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.676e-05/0.6676, allocations: 27.92 kB / 0.9548 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.248e-05/0.6676, allocations: 29.78 kB / 0.9549 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.6676, allocations: 0 / 0.9549 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.673e-06/0.6676, allocations: 4 kB / 0.9549 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.216e-06/0.6676, allocations: 0 / 0.9549 GB, free: 6.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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004136/0.6681, allocations: 365.8 kB / 0.9552 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.6681, allocations: 8.438 kB / 0.9552 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.09e-05/0.6681, allocations: 14.11 kB / 0.9552 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.336e-05/0.6682, allocations: 170.1 kB / 0.9554 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.6682, allocations: 5 kB / 0.9554 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.307e-06/0.6683, allocations: 1.188 kB / 0.9554 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002446/0.6685, allocations: 76.06 kB / 0.9555 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.6685, allocations: 5.094 kB / 0.9555 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.6685, allocations: 0 / 0.9555 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.6685, allocations: 1.406 kB / 0.9555 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002969/0.6688, allocations: 90.53 kB / 0.9556 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000273/0.6691, allocations: 266.6 kB / 0.9558 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000195/0.6693, allocations: 70.62 kB / 0.9559 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.755e-06/0.6693, allocations: 0 / 0.9559 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.553e-05/0.6694, allocations: 40.31 kB / 0.9559 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.6694, allocations: 0 / 0.9559 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005363/0.6699, allocations: 166.7 kB / 0.9561 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.274e-05/0.6699, allocations: 59.33 kB / 0.9562 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.685e-05/0.67, allocations: 104.4 kB / 0.9563 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.746e-06/0.67, allocations: 25.7 kB / 0.9563 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.01e-05/0.6701, allocations: 90.19 kB / 0.9564 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.498e-05/0.6701, allocations: 12.97 kB / 0.9564 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-06/0.6701, allocations: 0 / 0.9564 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.393e-05/0.6701, allocations: 319.8 kB / 0.9567 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001519/0.6703, allocations: 43.77 kB / 0.9567 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001425/0.6704, allocations: 46.62 kB / 0.9568 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001466/0.6706, allocations: 46.62 kB / 0.9568 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.6706, allocations: 1.406 kB / 0.9568 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003177/0.6709, allocations: 116.4 kB / 0.9569 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.671, allocations: 9.344 kB / 0.9569 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.671, allocations: 0 / 0.9569 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.671, allocations: 0 / 0.9569 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001312/0.6711, allocations: 27.34 kB / 0.957 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.6711, allocations: 0 / 0.957 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.126e-05/0.6712, allocations: 20.12 kB / 0.957 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.203e-06/0.6712, allocations: 5.156 kB / 0.957 GB, free: 5.031 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.946e-05/0.6713, allocations: 112.2 kB / 0.9571 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.347e-05/0.6713, allocations: 5 kB / 0.9571 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.969e-05/0.6713, allocations: 5.125 kB / 0.9571 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.6713, allocations: 1.25 kB / 0.9571 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.6714, allocations: 3.953 kB / 0.9571 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.6714, allocations: 1.188 kB / 0.9571 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001172/0.6715, allocations: 168.8 kB / 0.9573 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.6715, allocations: 0 / 0.9573 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.989e-05/0.6716, allocations: 23.92 kB / 0.9573 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.6716, allocations: 0 / 0.9573 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.6716, allocations: 1.344 kB / 0.9573 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.6716, allocations: 3.938 kB / 0.9573 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.6716, allocations: 0 / 0.9573 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003358/0.672, allocations: 223.3 kB / 0.9575 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.886e-05/0.672, allocations: 87.05 kB / 0.9576 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.324e-05/0.672, allocations: 0 / 0.9576 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001098/0.6721, allocations: 15.48 kB / 0.9576 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.842e-05/0.6722, allocations: 6.422 kB / 0.9576 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.858e-06/0.6722, allocations: 0.875 kB / 0.9576 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.588e-05/0.6722, allocations: 86.47 kB / 0.9577 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.6722, allocations: 0 / 0.9577 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002164/0.6724, allocations: 13.52 kB / 0.9577 GB, free: 4.309 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001097/0.6726, allocations: 102 kB / 0.9578 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003289/0.6729, allocations: 89.48 kB / 0.9579 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.6729, allocations: 0 / 0.9579 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001601/0.6731, allocations: 54.2 kB / 0.9579 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001994/0.6733, allocations: 4.062 kB / 0.9579 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002422/0.6735, allocations: 134.2 kB / 0.9581 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.466e-05/0.6736, allocations: 0.6847 MB / 0.9587 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.914e-05/0.6737, allocations: 5.625 kB / 0.9587 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.431e-05/0.6737, allocations: 9.125 kB / 0.9588 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.6737, allocations: 0 / 0.9588 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of Templates: time 0.002391/0.6761, allocations: 0.529 MB / 0.9593 GB, free: 3.035 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","../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches