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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.336/2.336, allocations: 387.4 MB / 394.9 MB, free: 13.44 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001126/0.001127, allocations: 180.8 kB / 487.4 MB, free: 5.09 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.62/1.62, allocations: 221.5 MB / 0.7824 GB, free: 1.008 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 95.84 kB / 0.9219 GB, free: 2.246 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.107e-05/2.11e-05, allocations: 8 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3106/0.3107, allocations: 142.4 MB / 1.206 GB, free: 43.96 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9615/1.272, allocations: 148.1 MB / 1.351 GB, free: 18.43 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001996/1.272, allocations: 69.59 kB / 1.351 GB, free: 18.43 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00283/1.275, allocations: 0.7977 MB / 1.351 GB, free: 34.09 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.533e-06/1.275, allocations: 0 / 1.351 GB, free: 34.09 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.865e-06/1.275, allocations: 1.312 kB / 1.351 GB, free: 34.09 MB / 0.8386 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.000432/1.276, allocations: 359.4 kB / 1.352 GB, free: 33.75 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/1.276, allocations: 7.625 kB / 1.352 GB, free: 33.75 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.41e-05/1.276, allocations: 11.34 kB / 1.352 GB, free: 33.74 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001146/1.276, allocations: 173 kB / 1.352 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/1.276, allocations: 0 / 1.352 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.243e-05/1.276, allocations: 3.938 kB / 1.352 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.889e-05/1.276, allocations: 15.47 kB / 1.352 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.834e-05/1.276, allocations: 48.97 kB / 1.352 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/1.276, allocations: 0 / 1.352 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/1.276, allocations: 0 / 1.352 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/1.276, allocations: 0.75 kB / 1.352 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005093/1.277, allocations: 286.5 kB / 1.352 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.701e-05/1.277, allocations: 37.38 kB / 1.352 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.545e-05/1.277, allocations: 15.77 kB / 1.352 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.46e-05/1.277, allocations: 0 / 1.352 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.391e-05/1.277, allocations: 34.91 kB / 1.352 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 8.41e-07/1.277, allocations: 0 / 1.352 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001826/1.277, allocations: 43.41 kB / 1.352 GB, free: 33.15 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.146e-05/1.277, allocations: 59.38 kB / 1.352 GB, free: 33.08 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.322e-05/1.277, allocations: 106 kB / 1.353 GB, free: 32.99 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.458e-06/1.277, allocations: 25.7 kB / 1.353 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.447e-05/1.277, allocations: 88.61 kB / 1.353 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.189e-05/1.277, allocations: 8.609 kB / 1.353 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.218e-06/1.277, allocations: 3.812 kB / 1.353 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001569/1.278, allocations: 316.2 kB / 1.353 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.245e-05/1.278, allocations: 7.156 kB / 1.353 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.103e-05/1.278, allocations: 19.16 kB / 1.353 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.377e-05/1.278, allocations: 6.109 kB / 1.353 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/1.278, allocations: 0 / 1.353 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.74e-05/1.278, allocations: 51.41 kB / 1.353 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/1.278, allocations: 3.844 kB / 1.353 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/1.278, allocations: 0.7031 kB / 1.353 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-05/1.278, allocations: 3.969 kB / 1.353 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001472/1.278, allocations: 24.47 kB / 1.353 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/1.278, allocations: 4 kB / 1.353 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.853e-05/1.278, allocations: 13.22 kB / 1.353 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-06/1.278, allocations: 2.078 kB / 1.353 GB, free: 32.51 MB / 0.8386 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 () * 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 7.242e-05/1.278, allocations: 106.3 kB / 1.353 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.459e-05/1.278, allocations: 5.953 kB / 1.353 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.166e-05/1.278, allocations: 9.922 kB / 1.353 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/1.278, allocations: 5.281 kB / 1.353 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/1.278, allocations: 5.359 kB / 1.353 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/1.278, allocations: 0.7969 kB / 1.353 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000133/1.278, allocations: 147.3 kB / 1.353 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/1.278, allocations: 6.047 kB / 1.353 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001088/1.279, allocations: 19.06 kB / 1.353 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/1.279, allocations: 1.312 kB / 1.353 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.655e-06/1.279, allocations: 0.5625 kB / 1.353 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/1.279, allocations: 5.312 kB / 1.353 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/1.279, allocations: 0.9375 kB / 1.353 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001204/1.279, allocations: 144.8 kB / 1.354 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.141e-05/1.279, allocations: 86.84 kB / 1.354 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.571e-05/1.279, allocations: 1.922 kB / 1.354 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001246/1.279, allocations: 14.72 kB / 1.354 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.623e-05/1.279, allocations: 13.33 kB / 1.354 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-06/1.279, allocations: 1.344 kB / 1.354 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.166e-05/1.279, allocations: 85.02 kB / 1.354 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.279, allocations: 0 / 1.354 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002225/1.279, allocations: 11.02 kB / 1.354 GB, free: 31.89 MB / 0.8386 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 () * 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.0001363/1.279, allocations: 102.1 kB / 1.354 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.82e-05/1.279, allocations: 23.95 kB / 1.354 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/1.279, allocations: 4 kB / 1.354 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.84e-05/1.28, allocations: 10.69 kB / 1.354 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000176/1.28, allocations: 5.141 kB / 1.354 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001984/1.28, allocations: 71.25 kB / 1.354 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002672/1.28, allocations: 0.6841 MB / 1.355 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.419e-05/1.28, allocations: 2 kB / 1.355 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.467e-05/1.28, allocations: 12.78 kB / 1.355 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of SimCode: time 2.41e-07/1.28, allocations: 0 / 1.355 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of Templates: time 0.002404/1.283, allocations: 0.4895 MB / 1.355 GB, free: 30.97 MB / 0.8386 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