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.503/1.503, allocations: 249.3 MB / 261.8 MB, free: 5.949 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001043/0.001043, allocations: 180.9 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.52/1.52, allocations: 205.1 MB / 0.572 GB, free: 10.62 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.0008611/0.0008611, allocations: 84.88 kB / 0.6764 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 2.954e-05/2.966e-05, allocations: 4 kB / 0.788 GB, free: 97.07 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2142/0.2143, allocations: 106.3 MB / 0.8918 GB, free: 6.641 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6981/0.9124, allocations: 131.3 MB / 1.02 GB, free: 3.418 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002298/0.9127, allocations: 73.89 kB / 1.02 GB, free: 3.375 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002229/0.915, allocations: 0.8378 MB / 1.021 GB, free: 2.594 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.743e-06/0.915, allocations: 0 / 1.021 GB, free: 2.594 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.915, allocations: 0 / 1.021 GB, free: 2.594 MB / 0.6355 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.0003951/0.9154, allocations: 361.4 kB / 1.021 GB, free: 2.199 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.9154, allocations: 8.031 kB / 1.021 GB, free: 2.191 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.971e-05/0.9155, allocations: 7.906 kB / 1.021 GB, free: 2.184 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001137/0.9156, allocations: 163 kB / 1.021 GB, free: 1.984 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/0.9156, allocations: 7.375 kB / 1.021 GB, free: 1.98 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.049e-05/0.9156, allocations: 3.984 kB / 1.021 GB, free: 1.977 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001082/0.9157, allocations: 49.75 kB / 1.022 GB, free: 1.93 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.272e-06/0.9158, allocations: 0 / 1.022 GB, free: 1.93 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.9158, allocations: 0 / 1.022 GB, free: 1.93 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.9158, allocations: 8 kB / 1.022 GB, free: 1.922 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.338e-05/0.9158, allocations: 14 kB / 1.022 GB, free: 1.914 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004997/0.9164, allocations: 305.4 kB / 1.022 GB, free: 1.582 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.626e-05/0.9164, allocations: 37.69 kB / 1.022 GB, free: 1.543 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.522e-05/0.9165, allocations: 20.23 kB / 1.022 GB, free: 1.523 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.1e-05/0.9165, allocations: 0 / 1.022 GB, free: 1.523 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.801e-05/0.9165, allocations: 30.56 kB / 1.022 GB, free: 1.484 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.324e-06/0.9165, allocations: 0 / 1.022 GB, free: 1.484 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001352/0.9167, allocations: 56.09 kB / 1.022 GB, free: 1.434 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.637e-05/0.9167, allocations: 51.5 kB / 1.022 GB, free: 1.371 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.62e-05/0.9168, allocations: 104.5 kB / 1.022 GB, free: 1.266 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.453e-05/0.9168, allocations: 25.7 kB / 1.022 GB, free: 1.234 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.802e-05/0.9169, allocations: 87.39 kB / 1.022 GB, free: 1.148 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.51e-05/0.9169, allocations: 6.031 kB / 1.022 GB, free: 1.145 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.487e-06/0.9169, allocations: 0 / 1.022 GB, free: 1.145 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.917, allocations: 322.3 kB / 1.023 GB, free: 0.8242 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.418e-05/0.917, allocations: 11.06 kB / 1.023 GB, free: 0.8164 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.199e-05/0.9171, allocations: 11 kB / 1.023 GB, free: 0.8086 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.385e-05/0.9171, allocations: 15.5 kB / 1.023 GB, free: 0.7969 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.9171, allocations: 0 / 1.023 GB, free: 0.7969 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.182e-05/0.9172, allocations: 55.91 kB / 1.023 GB, free: 0.7422 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.9172, allocations: 4 kB / 1.023 GB, free: 0.7383 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.9172, allocations: 1.875 kB / 1.023 GB, free: 0.7383 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.228e-06/0.9172, allocations: 0 / 1.023 GB, free: 0.7383 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001321/0.9174, allocations: 19.98 kB / 1.023 GB, free: 0.7188 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.9174, allocations: 0 / 1.023 GB, free: 0.7188 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.634e-05/0.9175, allocations: 23.97 kB / 1.023 GB, free: 0.6953 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.9175, allocations: 0 / 1.023 GB, free: 0.6953 MB / 0.6355 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 6.832e-05/0.9176, allocations: 108.9 kB / 1.023 GB, free: 0.582 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.283e-05/0.9176, allocations: 3.5 kB / 1.023 GB, free: 0.582 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.975e-05/0.9176, allocations: 8.031 kB / 1.023 GB, free: 0.5703 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.9176, allocations: 0 / 1.023 GB, free: 0.5703 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.9176, allocations: 3.938 kB / 1.023 GB, free: 0.5664 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.9176, allocations: 7.938 kB / 1.023 GB, free: 0.5586 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001599/0.9178, allocations: 176.1 kB / 1.023 GB, free: 352 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.9178, allocations: 0 / 1.023 GB, free: 352 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001049/0.9179, allocations: 23.17 kB / 1.023 GB, free: 332 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.9179, allocations: 0 / 1.023 GB, free: 332 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.918, allocations: 4 kB / 1.023 GB, free: 328 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.918, allocations: 0 / 1.023 GB, free: 328 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.918, allocations: 192 / 1.023 GB, free: 328 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001396/0.9181, allocations: 163.2 kB / 1.023 GB, free: 160 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.769e-05/0.9182, allocations: 81.11 kB / 1.023 GB, free: 60 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.188e-05/0.9182, allocations: 0 / 1.023 GB, free: 60 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001173/0.9183, allocations: 19.97 kB / 1.023 GB, free: 40 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.354e-05/0.9183, allocations: 0 / 1.023 GB, free: 40 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.357e-06/0.9184, allocations: 0 / 1.023 GB, free: 40 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.408e-05/0.9184, allocations: 90.41 kB / 1.023 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9184, allocations: 3.938 kB / 1.023 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0001893/0.9186, allocations: 15.06 kB / 1.023 GB, free: 15.94 MB / 0.6511 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.0001319/0.9188, allocations: 99.23 kB / 1.023 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 8.807e-05/0.9189, allocations: 22.81 kB / 1.023 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.9189, allocations: 0 / 1.023 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.226e-05/0.9189, allocations: 14.19 kB / 1.023 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001693/0.9191, allocations: 11.95 kB / 1.023 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002212/0.9193, allocations: 83.86 kB / 1.024 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002633/0.9196, allocations: 0.6886 MB / 1.024 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.288e-05/0.9196, allocations: 0 / 1.024 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.48e-05/0.9197, allocations: 11.38 kB / 1.024 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of SimCode: time 4.91e-07/0.9197, allocations: 0 / 1.024 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of Templates: time 0.00225/0.9219, allocations: 0.5316 MB / 1.025 GB, free: 14.45 MB / 0.6511 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