Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.44/2.44, allocations: 393.5 MB / 408.4 MB, free: 10.97 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.001152/0.001152, allocations: 180 kB / 0.4902 GB, free: 2.258 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.52/1.52, allocations: 223.2 MB / 0.7992 GB, free: 15.65 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001129/0.001129, allocations: 113.7 kB / 0.9396 GB, free: 2.836 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003868/0.0003868, allocations: 18.47 kB / 1.09 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3006/0.301, allocations: 143 MB / 1.229 GB, free: 85.43 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2004/0.5015, allocations: 149.6 MB / 1.375 GB, free: 15.64 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002241/0.5017, allocations: 71.95 kB / 1.375 GB, free: 15.57 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.002281/0.504, allocations: 0.8058 MB / 1.376 GB, free: 14.76 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.855e-06/0.5041, allocations: 4 kB / 1.376 GB, free: 14.76 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.215e-05/0.5041, allocations: 4 kB / 1.376 GB, free: 14.75 MB / 0.8855 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.0005097/0.5046, allocations: 359.2 kB / 1.377 GB, free: 14.36 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.5046, allocations: 8.562 kB / 1.377 GB, free: 14.35 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.315e-05/0.5047, allocations: 7.906 kB / 1.377 GB, free: 14.34 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001345/0.5048, allocations: 179 kB / 1.377 GB, free: 14.12 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.5048, allocations: 3.938 kB / 1.377 GB, free: 14.12 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.411e-05/0.5049, allocations: 4 kB / 1.377 GB, free: 14.12 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002632/0.5051, allocations: 73.66 kB / 1.377 GB, free: 14.04 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.5052, allocations: 4 kB / 1.377 GB, free: 14.04 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.5052, allocations: 4 kB / 1.377 GB, free: 14.03 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.5052, allocations: 0 / 1.377 GB, free: 14.03 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003071/0.5055, allocations: 83.92 kB / 1.377 GB, free: 13.95 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005336/0.506, allocations: 312.9 kB / 1.377 GB, free: 13.59 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002002/0.5063, allocations: 72.44 kB / 1.377 GB, free: 13.52 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.195e-05/0.5063, allocations: 0 / 1.377 GB, free: 13.52 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.143e-05/0.5063, allocations: 34.56 kB / 1.377 GB, free: 13.47 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.5063, allocations: 0 / 1.377 GB, free: 13.47 MB / 0.8855 GB Notification: Performance of matching and sorting (n=3): time 0.0005319/0.5068, allocations: 161.6 kB / 1.377 GB, free: 13.31 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.364e-05/0.5069, allocations: 59.34 kB / 1.377 GB, free: 13.24 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.491e-05/0.507, allocations: 101 kB / 1.378 GB, free: 13.13 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/0.507, allocations: 29.7 kB / 1.378 GB, free: 13.1 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 5.431e-05/0.5071, allocations: 92.06 kB / 1.378 GB, free: 13 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.801e-05/0.5071, allocations: 7.906 kB / 1.378 GB, free: 13 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.396e-06/0.5071, allocations: 0 / 1.378 GB, free: 13 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001161/0.5072, allocations: 314.8 kB / 1.378 GB, free: 12.68 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001512/0.5074, allocations: 47.95 kB / 1.378 GB, free: 12.63 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001393/0.5075, allocations: 39.97 kB / 1.378 GB, free: 12.59 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001421/0.5077, allocations: 43.95 kB / 1.378 GB, free: 12.55 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-06/0.5077, allocations: 0 / 1.378 GB, free: 12.55 MB / 0.8855 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003158/0.508, allocations: 121.5 kB / 1.378 GB, free: 12.43 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.508, allocations: 4 kB / 1.378 GB, free: 12.42 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.508, allocations: 4 kB / 1.378 GB, free: 12.42 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.508, allocations: 336 / 1.378 GB, free: 12.42 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001426/0.5082, allocations: 23.92 kB / 1.378 GB, free: 12.39 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.5082, allocations: 4.312 kB / 1.378 GB, free: 12.39 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.402e-05/0.5083, allocations: 19.97 kB / 1.378 GB, free: 12.37 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.336e-06/0.5083, allocations: 3.953 kB / 1.378 GB, free: 12.37 MB / 0.8855 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 8.747e-05/0.5084, allocations: 113.8 kB / 1.378 GB, free: 12.25 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.507e-05/0.5084, allocations: 4 kB / 1.378 GB, free: 12.24 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.487e-05/0.5085, allocations: 11.89 kB / 1.378 GB, free: 12.23 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.277e-05/0.5085, allocations: 0 / 1.378 GB, free: 12.23 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.5085, allocations: 3.938 kB / 1.378 GB, free: 12.23 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.5085, allocations: 0 / 1.378 GB, free: 12.23 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001694/0.5087, allocations: 173.6 kB / 1.379 GB, free: 12.01 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.5087, allocations: 0 / 1.379 GB, free: 12.01 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001031/0.5088, allocations: 19.98 kB / 1.379 GB, free: 11.99 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.5088, allocations: 0 / 1.379 GB, free: 11.99 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.5088, allocations: 4 kB / 1.379 GB, free: 11.98 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.5089, allocations: 4 kB / 1.379 GB, free: 11.98 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.5089, allocations: 0 / 1.379 GB, free: 11.98 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003708/0.5092, allocations: 227.3 kB / 1.379 GB, free: 11.74 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 3.736e-05/0.5093, allocations: 77.11 kB / 1.379 GB, free: 11.65 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.514e-05/0.5093, allocations: 0 / 1.379 GB, free: 11.65 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001121/0.5094, allocations: 15.98 kB / 1.379 GB, free: 11.63 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.018e-05/0.5095, allocations: 15.98 kB / 1.379 GB, free: 11.62 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.067e-06/0.5095, allocations: 0 / 1.379 GB, free: 11.62 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 4.762e-05/0.5095, allocations: 87.27 kB / 1.379 GB, free: 11.53 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.21e-07/0.5095, allocations: 0 / 1.379 GB, free: 11.53 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0001951/0.5097, allocations: 8 kB / 1.379 GB, free: 11.52 MB / 0.8855 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.0001829/0.5099, allocations: 104 kB / 1.379 GB, free: 11.41 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003459/0.5103, allocations: 87.92 kB / 1.379 GB, free: 11.32 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.5103, allocations: 0 / 1.379 GB, free: 11.32 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001514/0.5105, allocations: 51.91 kB / 1.379 GB, free: 11.27 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002417/0.5107, allocations: 11.95 kB / 1.379 GB, free: 11.26 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003502/0.5111, allocations: 136.8 kB / 1.379 GB, free: 11.1 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003371/0.5114, allocations: 0.6809 MB / 1.38 GB, free: 10.39 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.83e-05/0.5115, allocations: 3.938 kB / 1.38 GB, free: 10.39 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.153e-05/0.5115, allocations: 11.44 kB / 1.38 GB, free: 10.38 MB / 0.8855 GB Notification: Performance of SimCode: time 2.1e-07/0.5115, allocations: 0 / 1.38 GB, free: 10.38 MB / 0.8855 GB Notification: Performance of Templates: time 0.002585/0.5141, allocations: 0.524 MB / 1.381 GB, free: 9.867 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Continuous_Validation_Multiply.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches