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.Min.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.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Min") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Min") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.428/1.428, allocations: 249.3 MB / 261.9 MB, free: 5.844 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.0009559/0.000956, allocations: 184.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.502/1.502, allocations: 205.2 MB / 0.572 GB, free: 10.72 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.0008859/0.000886, allocations: 100.5 kB / 0.6764 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.187e-05/3.19e-05, allocations: 7.984 kB / 0.788 GB, free: 97.09 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2252/0.2252, allocations: 106.3 MB / 0.8918 GB, free: 6.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8272/1.052, allocations: 131.3 MB / 1.02 GB, free: 3.387 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002472/1.053, allocations: 72.61 kB / 1.02 GB, free: 3.348 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002271/1.055, allocations: 0.842 MB / 1.021 GB, free: 2.562 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.172e-06/1.055, allocations: 4 kB / 1.021 GB, free: 2.559 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.516e-06/1.055, allocations: 0 / 1.021 GB, free: 2.559 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.0004178/1.055, allocations: 354 kB / 1.021 GB, free: 2.172 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/1.056, allocations: 12.03 kB / 1.021 GB, free: 2.16 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.371e-05/1.056, allocations: 3.906 kB / 1.021 GB, free: 2.156 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001207/1.056, allocations: 171 kB / 1.021 GB, free: 1.949 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/1.056, allocations: 0 / 1.021 GB, free: 1.949 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.736e-05/1.056, allocations: 11.3 kB / 1.021 GB, free: 1.941 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000126/1.056, allocations: 44.75 kB / 1.022 GB, free: 1.898 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/1.056, allocations: 0 / 1.022 GB, free: 1.898 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/1.056, allocations: 0 / 1.022 GB, free: 1.898 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/1.056, allocations: 0 / 1.022 GB, free: 1.898 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.995e-05/1.056, allocations: 21.31 kB / 1.022 GB, free: 1.883 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005069/1.057, allocations: 306.1 kB / 1.022 GB, free: 1.551 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.42e-05/1.057, allocations: 30.55 kB / 1.022 GB, free: 1.516 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.088e-05/1.057, allocations: 23.66 kB / 1.022 GB, free: 1.496 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.435e-05/1.057, allocations: 4 kB / 1.022 GB, free: 1.492 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/1.057, allocations: 39.81 kB / 1.022 GB, free: 1.445 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/1.057, allocations: 2.625 kB / 1.022 GB, free: 1.445 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001725/1.057, allocations: 52.86 kB / 1.022 GB, free: 1.395 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.207e-05/1.057, allocations: 55.39 kB / 1.022 GB, free: 1.328 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.485e-05/1.057, allocations: 95.88 kB / 1.022 GB, free: 1.23 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.485e-05/1.057, allocations: 25.7 kB / 1.022 GB, free: 1.199 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.919e-05/1.057, allocations: 91.83 kB / 1.022 GB, free: 1.109 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.146e-05/1.057, allocations: 10.89 kB / 1.022 GB, free: 1.102 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-06/1.057, allocations: 0 / 1.022 GB, free: 1.102 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001167/1.057, allocations: 314.8 kB / 1.023 GB, free: 0.7852 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.692e-05/1.057, allocations: 11.5 kB / 1.023 GB, free: 0.7773 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.077e-05/1.057, allocations: 7.375 kB / 1.023 GB, free: 0.7734 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.889e-05/1.057, allocations: 7.75 kB / 1.023 GB, free: 0.7695 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/1.057, allocations: 0 / 1.023 GB, free: 0.7695 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.875e-05/1.057, allocations: 59.66 kB / 1.023 GB, free: 0.7109 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/1.058, allocations: 4 kB / 1.023 GB, free: 0.707 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/1.058, allocations: 4 kB / 1.023 GB, free: 0.7031 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/1.058, allocations: 0 / 1.023 GB, free: 0.7031 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001446/1.058, allocations: 26.72 kB / 1.023 GB, free: 0.6797 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/1.058, allocations: 0 / 1.023 GB, free: 0.6797 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.705e-05/1.058, allocations: 15.98 kB / 1.023 GB, free: 0.6641 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/1.058, allocations: 8 kB / 1.023 GB, free: 0.6562 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.257e-05/1.058, allocations: 104.9 kB / 1.023 GB, free: 0.5469 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.221e-05/1.058, allocations: 0 / 1.023 GB, free: 0.5469 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001378/1.058, allocations: 69.7 kB / 1.023 GB, free: 492 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/1.058, allocations: 3.938 kB / 1.023 GB, free: 488 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/1.058, allocations: 0 / 1.023 GB, free: 488 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/1.058, allocations: 0.875 kB / 1.023 GB, free: 488 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001536/1.058, allocations: 168.7 kB / 1.023 GB, free: 276 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/1.058, allocations: 240 / 1.023 GB, free: 276 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001055/1.058, allocations: 27.97 kB / 1.023 GB, free: 248 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/1.058, allocations: 0 / 1.023 GB, free: 248 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/1.058, allocations: 4 kB / 1.023 GB, free: 244 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.636e-06/1.058, allocations: 1.812 kB / 1.023 GB, free: 244 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/1.058, allocations: 3.984 kB / 1.023 GB, free: 240 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001377/1.059, allocations: 160.4 kB / 1.023 GB, free: 76 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.296e-05/1.059, allocations: 81.11 kB / 1.023 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.181e-05/1.059, allocations: 0 / 1.023 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001171/1.059, allocations: 15.98 kB / 1.023 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.059e-05/1.059, allocations: 7.984 kB / 1.023 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-06/1.059, allocations: 0 / 1.023 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.237e-05/1.059, allocations: 90.89 kB / 1.023 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.4e-07/1.059, allocations: 3.938 kB / 1.023 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0001921/1.059, allocations: 14.62 kB / 1.023 GB, free: 15.85 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.0001331/1.059, allocations: 99.25 kB / 1.023 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 9.866e-05/1.059, allocations: 22.11 kB / 1.024 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/1.059, allocations: 0 / 1.024 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.817e-05/1.059, allocations: 22.88 kB / 1.024 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001745/1.06, allocations: 3.953 kB / 1.024 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002273/1.06, allocations: 83.31 kB / 1.024 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002842/1.06, allocations: 0.6887 MB / 1.024 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.241e-05/1.06, allocations: 4 kB / 1.024 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.722e-05/1.06, allocations: 7.438 kB / 1.024 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of SimCode: time 3.31e-07/1.06, allocations: 0 / 1.024 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of Templates: time 0.002309/1.062, allocations: 0.5265 MB / 1.025 GB, free: 14.38 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Min -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Validation_Min.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches