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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Multiply",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Multiply",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00172/0.00172, allocations: 108 kB / 15.61 MB, free: 152 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.002017/0.002017, allocations: 193.9 kB / 16.53 MB, free: 6.664 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.322/1.322, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.436/2.436, allocations: 390.3 MB / 0.6647 GB, free: 448 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001448, allocations: 67.91 kB / 0.8127 GB, free: 14.35 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6659/0.6674, allocations: 140.4 MB / 0.9497 GB, free: 9.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply): time 0.001893/0.6693, allocations: 0.7056 MB / 0.9504 GB, free: 8.598 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007547/0.6701, allocations: 0.8011 MB / 0.9512 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.91e-05/0.6701, allocations: 1.312 kB / 0.9512 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.676e-05/0.6702, allocations: 3.938 kB / 0.9512 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.114e-05/0.6703, allocations: 5.188 kB / 0.9512 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.878e-05/0.6703, allocations: 12.73 kB / 0.9512 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.597e-05/0.6704, allocations: 41.55 kB / 0.9513 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001326/0.6706, allocations: 16.95 kB / 0.9513 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.521e-05/0.6706, allocations: 18.23 kB / 0.9513 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.561e-05/0.6707, allocations: 21.33 kB / 0.9513 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.875e-05/0.6707, allocations: 2.406 kB / 0.9513 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.154e-05/0.6707, allocations: 3.938 kB / 0.9513 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.264e-05/0.6708, allocations: 17.22 kB / 0.9514 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.836e-05/0.6708, allocations: 11.5 kB / 0.9514 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.999e-05/0.6709, allocations: 34.59 kB / 0.9514 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.6709, allocations: 5.406 kB / 0.9514 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.154e-06/0.6709, allocations: 0 / 0.9514 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.141e-05/0.6709, allocations: 0 / 0.9514 GB, free: 7.805 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.0005284/0.6715, allocations: 374.1 kB / 0.9518 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/0.6715, allocations: 9.906 kB / 0.9518 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.214e-05/0.6716, allocations: 32.5 kB / 0.9518 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.764e-05/0.6716, allocations: 2.656 kB / 0.9518 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001068/0.6717, allocations: 165.8 kB / 0.952 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.6717, allocations: 5.781 kB / 0.952 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.526e-05/0.6717, allocations: 10.91 kB / 0.952 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002601/0.672, allocations: 70.55 kB / 0.952 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.672, allocations: 3.938 kB / 0.9521 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.672, allocations: 1.25 kB / 0.9521 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.672, allocations: 0 / 0.9521 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002968/0.6723, allocations: 68.05 kB / 0.9521 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003584/0.6727, allocations: 267.5 kB / 0.9524 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002019/0.6729, allocations: 55.95 kB / 0.9524 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001519/0.6731, allocations: 43.22 kB / 0.9525 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.363e-05/0.6731, allocations: 1.656 kB / 0.9525 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.684e-05/0.6731, allocations: 34.56 kB / 0.9525 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.6731, allocations: 0 / 0.9525 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005559/0.6737, allocations: 129.8 kB / 0.9526 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.156e-05/0.6737, allocations: 56.72 kB / 0.9527 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.71e-05/0.6738, allocations: 111.5 kB / 0.9528 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.164e-05/0.6738, allocations: 25.7 kB / 0.9528 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.622e-05/0.6739, allocations: 93.55 kB / 0.9529 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.35e-05/0.6739, allocations: 14.44 kB / 0.9529 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.127e-05/0.6739, allocations: 12.59 kB / 0.9529 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.037e-05/0.674, allocations: 318.8 kB / 0.9532 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001457/0.6742, allocations: 33.3 kB / 0.9533 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001396/0.6743, allocations: 30.53 kB / 0.9533 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002781/0.6746, allocations: 74.56 kB / 0.9534 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.6746, allocations: 4 kB / 0.9534 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000312/0.6749, allocations: 101.7 kB / 0.9535 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.6749, allocations: 5.156 kB / 0.9535 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.6749, allocations: 0 / 0.9535 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.675, allocations: 1.156 kB / 0.9535 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001332/0.6751, allocations: 22.19 kB / 0.9535 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.6751, allocations: 0 / 0.9535 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.785e-05/0.6752, allocations: 11.48 kB / 0.9535 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/0.6752, allocations: 0 / 0.9535 GB, free: 5.781 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.793e-05/0.6753, allocations: 116 kB / 0.9536 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.481e-05/0.6753, allocations: 2.516 kB / 0.9536 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.353e-05/0.6753, allocations: 9.016 kB / 0.9536 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.349e-06/0.6753, allocations: 4.984 kB / 0.9536 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.6753, allocations: 7.938 kB / 0.9536 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.6754, allocations: 0 / 0.9536 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001291/0.6755, allocations: 169.3 kB / 0.9538 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.6755, allocations: 1.125 kB / 0.9538 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.123e-05/0.6756, allocations: 14.08 kB / 0.9538 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.6756, allocations: 0 / 0.9538 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.6756, allocations: 1.156 kB / 0.9538 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.6756, allocations: 3.984 kB / 0.9538 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.6756, allocations: 0.9688 kB / 0.9538 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003233/0.6759, allocations: 203.6 kB / 0.954 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.293e-05/0.676, allocations: 78.33 kB / 0.9541 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.481e-05/0.676, allocations: 1.25 kB / 0.9541 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.6761, allocations: 10.45 kB / 0.9541 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.175e-05/0.6762, allocations: 9.391 kB / 0.9541 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.6762, allocations: 5.062 kB / 0.9541 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.717e-05/0.6762, allocations: 94.38 kB / 0.9542 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6762, allocations: 0 / 0.9542 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002183/0.6764, allocations: 5.719 kB / 0.9542 GB, free: 5.051 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.0005217/0.677, allocations: 0.7326 MB / 0.9549 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003235/0.6773, allocations: 67.58 kB / 0.955 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.6773, allocations: 3.938 kB / 0.955 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001447/0.6774, allocations: 41.11 kB / 0.955 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002928/0.6777, allocations: 2.469 kB / 0.955 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004259/0.6782, allocations: 156.5 kB / 0.9552 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000121/0.6783, allocations: 0.6836 MB / 0.9558 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.153e-05/0.6783, allocations: 4.938 kB / 0.9559 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.267e-05/0.6784, allocations: 18.2 kB / 0.9559 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of SimCode: time 3.31e-07/0.6784, allocations: 0 / 0.9559 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01714/0.6955, allocations: 1.593 MB / 0.9574 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.731/8.427, allocations: 5.828 kB / 0.9574 GB, free: 2.535 MB / 0.7169 GB (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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Multiply.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply_res.csv","/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