Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Product,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|product1.u1|product1.u2|product1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Product,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|product1.u1|product1.u2|product1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.431/1.431, allocations: 251.9 MB / 266.9 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001204/0.001204, allocations: 189.3 kB / 326.5 MB, free: 2.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.122/2.122, allocations: 205.4 MB / 0.5775 GB, free: 20.23 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009088/0.0009087, allocations: 96.69 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003126/0.0003127, allocations: 14.62 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2144/0.2147, allocations: 106.3 MB / 0.9001 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1633/0.378, allocations: 131.4 MB / 1.028 GB, free: 12.35 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000231/0.3783, allocations: 71.95 kB / 1.028 GB, free: 12.28 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002309/0.3806, allocations: 0.8331 MB / 1.029 GB, free: 11.45 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.545e-06/0.3807, allocations: 0 / 1.029 GB, free: 11.45 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.327e-06/0.3807, allocations: 4 kB / 1.029 GB, free: 11.44 MB / 0.6823 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.000443/0.3811, allocations: 371.1 kB / 1.03 GB, free: 11.03 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.3812, allocations: 8.031 kB / 1.03 GB, free: 11.02 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.184e-05/0.3812, allocations: 3.938 kB / 1.03 GB, free: 11.02 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001179/0.3813, allocations: 178.9 kB / 1.03 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.448e-06/0.3814, allocations: 0 / 1.03 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.452e-05/0.3814, allocations: 8 kB / 1.03 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002364/0.3816, allocations: 77.64 kB / 1.03 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.375e-06/0.3816, allocations: 0 / 1.03 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.3817, allocations: 8 kB / 1.03 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.3817, allocations: 0 / 1.03 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002819/0.382, allocations: 83.92 kB / 1.03 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004931/0.3825, allocations: 308.7 kB / 1.03 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001954/0.3827, allocations: 66.64 kB / 1.03 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.57e-05/0.3827, allocations: 3.984 kB / 1.03 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.153e-05/0.3827, allocations: 30.56 kB / 1.03 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 2.445e-06/0.3827, allocations: 3.984 kB / 1.03 GB, free: 10.15 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.0005284/0.3833, allocations: 165.5 kB / 1.031 GB, free: 9.984 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.155e-05/0.3833, allocations: 55.41 kB / 1.031 GB, free: 9.918 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.937e-05/0.3834, allocations: 101 kB / 1.031 GB, free: 9.812 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.453e-05/0.3834, allocations: 25.7 kB / 1.031 GB, free: 9.781 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.814e-05/0.3835, allocations: 80.14 kB / 1.031 GB, free: 9.699 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.291e-05/0.3835, allocations: 19.8 kB / 1.031 GB, free: 9.68 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.637e-06/0.3835, allocations: 4 kB / 1.031 GB, free: 9.676 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.3836, allocations: 314.8 kB / 1.031 GB, free: 9.359 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001494/0.3838, allocations: 39.97 kB / 1.031 GB, free: 9.32 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001363/0.3839, allocations: 51.89 kB / 1.031 GB, free: 9.27 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001324/0.384, allocations: 35.97 kB / 1.031 GB, free: 9.234 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3841, allocations: 4 kB / 1.031 GB, free: 9.23 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003104/0.3844, allocations: 121.6 kB / 1.031 GB, free: 9.105 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.3844, allocations: 7.984 kB / 1.031 GB, free: 9.098 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.3844, allocations: 3.938 kB / 1.031 GB, free: 9.094 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.3844, allocations: 8 kB / 1.031 GB, free: 9.086 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000144/0.3846, allocations: 15.98 kB / 1.031 GB, free: 9.07 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.3846, allocations: 0 / 1.031 GB, free: 9.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.302e-05/0.3847, allocations: 23.92 kB / 1.031 GB, free: 9.047 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.3847, allocations: 4 kB / 1.031 GB, free: 9.043 MB / 0.6823 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 7.288e-05/0.3848, allocations: 109.8 kB / 1.032 GB, free: 8.926 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.561e-05/0.3848, allocations: 7.906 kB / 1.032 GB, free: 8.918 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.813e-05/0.3848, allocations: 15.83 kB / 1.032 GB, free: 8.898 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.3849, allocations: 0 / 1.032 GB, free: 8.898 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3849, allocations: 0 / 1.032 GB, free: 8.898 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.706e-06/0.3849, allocations: 0 / 1.032 GB, free: 8.898 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001658/0.385, allocations: 173.6 kB / 1.032 GB, free: 8.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.385, allocations: 0 / 1.032 GB, free: 8.68 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.996e-05/0.3852, allocations: 23.97 kB / 1.032 GB, free: 8.656 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.3852, allocations: 0 / 1.032 GB, free: 8.656 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-06/0.3852, allocations: 0 / 1.032 GB, free: 8.656 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.91e-07/0.3852, allocations: 4 kB / 1.032 GB, free: 8.652 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3852, allocations: 0 / 1.032 GB, free: 8.652 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003599/0.3856, allocations: 223.4 kB / 1.032 GB, free: 8.418 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.281e-05/0.3856, allocations: 81.02 kB / 1.032 GB, free: 8.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.657e-05/0.3856, allocations: 3.984 kB / 1.032 GB, free: 8.316 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/0.3858, allocations: 15.98 kB / 1.032 GB, free: 8.301 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.565e-05/0.3858, allocations: 4 kB / 1.032 GB, free: 8.297 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-06/0.3858, allocations: 0 / 1.032 GB, free: 8.297 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.714e-05/0.3859, allocations: 87.27 kB / 1.032 GB, free: 8.211 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3859, allocations: 4 kB / 1.032 GB, free: 8.207 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002003/0.3861, allocations: 8 kB / 1.032 GB, free: 8.199 MB / 0.6823 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.0001689/0.3863, allocations: 103.2 kB / 1.032 GB, free: 8.09 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003418/0.3866, allocations: 87.92 kB / 1.032 GB, free: 8.004 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.3866, allocations: 0 / 1.032 GB, free: 8.004 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001561/0.3868, allocations: 56.36 kB / 1.032 GB, free: 7.949 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002309/0.387, allocations: 9.5 kB / 1.032 GB, free: 7.941 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003087/0.3873, allocations: 138.5 kB / 1.033 GB, free: 7.777 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002479/0.3876, allocations: 0.6887 MB / 1.033 GB, free: 7.062 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.437e-05/0.3876, allocations: 4 kB / 1.033 GB, free: 7.059 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.849e-05/0.3877, allocations: 11.44 kB / 1.033 GB, free: 7.047 MB / 0.6823 GB Notification: Performance of SimCode: time 2.2e-07/0.3877, allocations: 0 / 1.033 GB, free: 7.047 MB / 0.6823 GB Notification: Performance of Templates: time 0.002177/0.3899, allocations: 0.5203 MB / 1.034 GB, free: 6.535 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Validation_Product.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches