Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.Reals.Validation.Multiply,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Multiply",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Multiply,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_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.001345/0.001345, allocations: 108 kB / 15.6 MB, free: 132 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.00175/0.00175, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.732/2.732, allocations: 461.9 MB / 0.7347 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 66.53 kB / 0.8992 GB, free: 37.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3663/0.3675, allocations: 157.4 MB / 1.053 GB, free: 8.207 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Multiply): time 0.00267/0.3703, allocations: 0.7041 MB / 1.054 GB, free: 7.504 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001264/0.3716, allocations: 0.8118 MB / 1.054 GB, free: 6.68 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.941e-05/0.3716, allocations: 0 / 1.054 GB, free: 6.68 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.718e-05/0.3717, allocations: 0 / 1.054 GB, free: 6.68 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.756e-05/0.3718, allocations: 23.84 kB / 1.054 GB, free: 6.656 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 7.83e-05/0.3719, allocations: 7.984 kB / 1.054 GB, free: 6.648 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001598/0.3721, allocations: 43.86 kB / 1.054 GB, free: 6.605 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001631/0.3723, allocations: 8 kB / 1.054 GB, free: 6.598 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.759e-05/0.3724, allocations: 15.98 kB / 1.054 GB, free: 6.582 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.948e-05/0.3724, allocations: 23.84 kB / 1.055 GB, free: 6.559 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.113e-05/0.3725, allocations: 4 kB / 1.055 GB, free: 6.555 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.149e-05/0.3725, allocations: 4 kB / 1.055 GB, free: 6.551 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.055e-05/0.3725, allocations: 4 kB / 1.055 GB, free: 6.547 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.772e-05/0.3726, allocations: 27.86 kB / 1.055 GB, free: 6.52 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001097/0.3727, allocations: 39.86 kB / 1.055 GB, free: 6.48 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.3727, allocations: 0 / 1.055 GB, free: 6.48 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3727, allocations: 0 / 1.055 GB, free: 6.48 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.3727, allocations: 0 / 1.055 GB, free: 6.48 MB / 0.8106 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.0006825/0.3734, allocations: 359.6 kB / 1.055 GB, free: 6.078 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.376e-05/0.3734, allocations: 12.62 kB / 1.055 GB, free: 6.066 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.437e-05/0.3735, allocations: 38.73 kB / 1.055 GB, free: 6.02 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.653e-05/0.3736, allocations: 16.78 kB / 1.055 GB, free: 6.004 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001866/0.3737, allocations: 164.3 kB / 1.055 GB, free: 5.805 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.3738, allocations: 384 / 1.055 GB, free: 5.805 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.404e-05/0.3738, allocations: 4.375 kB / 1.055 GB, free: 5.801 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002994/0.3741, allocations: 70.2 kB / 1.055 GB, free: 5.727 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.3741, allocations: 3.938 kB / 1.055 GB, free: 5.723 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.3741, allocations: 0 / 1.055 GB, free: 5.723 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.3741, allocations: 4 kB / 1.055 GB, free: 5.719 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002856/0.3744, allocations: 67.86 kB / 1.055 GB, free: 5.652 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004364/0.3749, allocations: 272.8 kB / 1.056 GB, free: 5.336 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003136/0.3752, allocations: 62.53 kB / 1.056 GB, free: 5.266 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001562/0.3754, allocations: 32.92 kB / 1.056 GB, free: 5.23 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.628e-05/0.3754, allocations: 0 / 1.056 GB, free: 5.23 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.548e-05/0.3754, allocations: 34.56 kB / 1.056 GB, free: 5.188 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.242e-06/0.3755, allocations: 0 / 1.056 GB, free: 5.188 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0005878/0.376, allocations: 133.5 kB / 1.056 GB, free: 5.051 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.552e-05/0.3761, allocations: 51.41 kB / 1.056 GB, free: 4.988 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001024/0.3762, allocations: 105.8 kB / 1.056 GB, free: 4.875 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.861e-05/0.3762, allocations: 25.7 kB / 1.056 GB, free: 4.844 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.128e-05/0.3763, allocations: 88.14 kB / 1.056 GB, free: 4.754 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.308e-05/0.3764, allocations: 15.8 kB / 1.056 GB, free: 4.738 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.404e-05/0.3764, allocations: 17.72 kB / 1.056 GB, free: 4.715 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.3766, allocations: 310.8 kB / 1.056 GB, free: 4.402 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001445/0.3767, allocations: 31.95 kB / 1.056 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001412/0.3769, allocations: 31.97 kB / 1.056 GB, free: 4.34 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002675/0.3771, allocations: 80.59 kB / 1.057 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.3772, allocations: 8 kB / 1.057 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003035/0.3775, allocations: 89.62 kB / 1.057 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.3775, allocations: 8 kB / 1.057 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.3775, allocations: 320 / 1.057 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.3775, allocations: 4 kB / 1.057 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001312/0.3777, allocations: 19.98 kB / 1.057 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.3777, allocations: 0 / 1.057 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.479e-05/0.3778, allocations: 11.97 kB / 1.057 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.599e-05/0.3778, allocations: 7.984 kB / 1.057 GB, free: 4.105 MB / 0.8106 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 7.303e-05/0.3779, allocations: 109.8 kB / 1.057 GB, free: 3.988 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.839e-05/0.3779, allocations: 7.906 kB / 1.057 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.448e-05/0.3779, allocations: 11.91 kB / 1.057 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.3779, allocations: 0 / 1.057 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.3779, allocations: 0 / 1.057 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.378, allocations: 0 / 1.057 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001841/0.3781, allocations: 177.5 kB / 1.057 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3782, allocations: 3.938 kB / 1.057 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.239e-05/0.3782, allocations: 15.98 kB / 1.057 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.3783, allocations: 336 / 1.057 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.673e-06/0.3783, allocations: 0 / 1.057 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.3783, allocations: 0 / 1.057 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3783, allocations: 4 kB / 1.057 GB, free: 3.719 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003549/0.3786, allocations: 203.4 kB / 1.057 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.729e-05/0.3787, allocations: 84.95 kB / 1.057 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.376e-05/0.3787, allocations: 0 / 1.057 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.3788, allocations: 15.98 kB / 1.057 GB, free: 3.387 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.036e-05/0.3789, allocations: 3.984 kB / 1.057 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.3789, allocations: 0 / 1.057 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.837e-05/0.3789, allocations: 87.28 kB / 1.057 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3789, allocations: 0 / 1.057 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002166/0.3792, allocations: 8 kB / 1.057 GB, free: 3.289 MB / 0.8106 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.0007144/0.3799, allocations: 0.7319 MB / 1.058 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004206/0.3803, allocations: 67.92 kB / 1.058 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.3803, allocations: 4 kB / 1.058 GB, free: 2.461 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002045/0.3805, allocations: 43.89 kB / 1.058 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004676/0.381, allocations: 3.938 kB / 1.058 GB, free: 2.414 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00073/0.3818, allocations: 171 kB / 1.058 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004108/0.3822, allocations: 0.6846 MB / 1.059 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.464e-05/0.3822, allocations: 0 / 1.059 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.73e-05/0.3823, allocations: 11.44 kB / 1.059 GB, free: 1.484 MB / 0.8106 GB Notification: Performance of SimCode: time 4.91e-07/0.3823, allocations: 0 / 1.059 GB, free: 1.484 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01665/0.399, allocations: 1.589 MB / 1.061 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.484/7.883, allocations: 10.58 kB / 1.061 GB, free: 15.97 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Multiply_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Multiply.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Multiply.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches