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.Exp.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.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.55/1.55, allocations: 249.3 MB / 261.8 MB, free: 5.871 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.001102/0.001102, allocations: 188.5 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.471/1.471, allocations: 205.2 MB / 0.572 GB, free: 10.7 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.0008247/0.0008247, allocations: 86.52 kB / 0.6764 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 2.776e-05/2.779e-05, allocations: 8 kB / 0.788 GB, free: 97.09 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2032/0.2032, allocations: 106.3 MB / 0.8918 GB, free: 6.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7058/0.9091, allocations: 131.3 MB / 1.02 GB, free: 3.383 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000237/0.9094, allocations: 68.39 kB / 1.02 GB, free: 3.344 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.001762/0.9112, allocations: 0.6634 MB / 1.021 GB, free: 2.73 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.273e-06/0.9112, allocations: 0 / 1.021 GB, free: 2.73 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.9112, allocations: 0 / 1.021 GB, free: 2.73 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003581/0.9116, allocations: 337.4 kB / 1.021 GB, free: 2.359 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.9116, allocations: 8.031 kB / 1.021 GB, free: 2.352 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.225e-05/0.9117, allocations: 4 kB / 1.021 GB, free: 2.348 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001322/0.9118, allocations: 167 kB / 1.021 GB, free: 2.145 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.9118, allocations: 0 / 1.021 GB, free: 2.145 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.269e-05/0.9118, allocations: 7.938 kB / 1.021 GB, free: 2.137 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000103/0.912, allocations: 40.11 kB / 1.021 GB, free: 2.094 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.703e-06/0.912, allocations: 0 / 1.021 GB, free: 2.094 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.912, allocations: 3.062 kB / 1.021 GB, free: 2.094 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.912, allocations: 0 / 1.021 GB, free: 2.094 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.347e-05/0.912, allocations: 11.12 kB / 1.021 GB, free: 2.086 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004206/0.9125, allocations: 271.9 kB / 1.022 GB, free: 1.777 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.92e-05/0.9125, allocations: 26.55 kB / 1.022 GB, free: 1.746 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.565e-05/0.9126, allocations: 11.98 kB / 1.022 GB, free: 1.734 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.877e-05/0.9126, allocations: 0 / 1.022 GB, free: 1.734 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.202e-05/0.9126, allocations: 34.56 kB / 1.022 GB, free: 1.691 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.9126, allocations: 4 kB / 1.022 GB, free: 1.688 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.000142/0.9128, allocations: 44.92 kB / 1.022 GB, free: 1.641 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.049e-05/0.9128, allocations: 54.14 kB / 1.022 GB, free: 1.578 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.241e-05/0.9129, allocations: 96.73 kB / 1.022 GB, free: 1.48 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.9129, allocations: 25.7 kB / 1.022 GB, free: 1.449 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.187e-05/0.913, allocations: 84.14 kB / 1.022 GB, free: 1.363 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.646e-05/0.913, allocations: 3.906 kB / 1.022 GB, free: 1.359 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.928e-06/0.913, allocations: 3.812 kB / 1.022 GB, free: 1.359 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.9131, allocations: 318.8 kB / 1.022 GB, free: 1.039 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.608e-05/0.9132, allocations: 4 kB / 1.022 GB, free: 1.035 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.117e-05/0.9132, allocations: 7.25 kB / 1.022 GB, free: 1.031 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.099e-05/0.9132, allocations: 4 kB / 1.022 GB, free: 1.027 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.9132, allocations: 0 / 1.022 GB, free: 1.027 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.702e-05/0.9133, allocations: 45.38 kB / 1.022 GB, free: 0.9805 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.9133, allocations: 8 kB / 1.022 GB, free: 0.9727 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.9133, allocations: 0.6875 kB / 1.022 GB, free: 0.9727 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.011e-05/0.9133, allocations: 4.094 kB / 1.022 GB, free: 0.9688 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.472e-05/0.9134, allocations: 11.98 kB / 1.022 GB, free: 0.957 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.9134, allocations: 0 / 1.022 GB, free: 0.957 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.444e-05/0.9135, allocations: 11.75 kB / 1.022 GB, free: 0.9492 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.421e-06/0.9135, allocations: 0 / 1.022 GB, free: 0.9492 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 (2): * Single equations (assignments): 2 * 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 5.938e-05/0.9136, allocations: 108.9 kB / 1.022 GB, free: 0.8359 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.207e-05/0.9136, allocations: 0.5 kB / 1.022 GB, free: 0.8359 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001136/0.9137, allocations: 56.52 kB / 1.023 GB, free: 0.7773 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.9137, allocations: 0 / 1.023 GB, free: 0.7773 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.9138, allocations: 0 / 1.023 GB, free: 0.7773 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.9138, allocations: 0 / 1.023 GB, free: 0.7773 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001405/0.9139, allocations: 165.9 kB / 1.023 GB, free: 0.5742 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.9139, allocations: 0 / 1.023 GB, free: 0.5742 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.582e-05/0.914, allocations: 15.92 kB / 1.023 GB, free: 0.5586 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.914, allocations: 0 / 1.023 GB, free: 0.5586 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.914, allocations: 7.938 kB / 1.023 GB, free: 0.5508 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.914, allocations: 4.734 kB / 1.023 GB, free: 0.5469 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.914, allocations: 0 / 1.023 GB, free: 0.5469 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001031/0.9141, allocations: 145.9 kB / 1.023 GB, free: 404 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.169e-05/0.9142, allocations: 77.11 kB / 1.023 GB, free: 308 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.122e-05/0.9142, allocations: 0 / 1.023 GB, free: 308 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.046e-05/0.9143, allocations: 11.98 kB / 1.023 GB, free: 296 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.355e-05/0.9143, allocations: 4.031 kB / 1.023 GB, free: 292 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.995e-06/0.9143, allocations: 192 / 1.023 GB, free: 292 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.772e-05/0.9144, allocations: 83.27 kB / 1.023 GB, free: 208 kB / 0.6355 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9144, allocations: 0 / 1.023 GB, free: 208 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001836/0.9146, allocations: 7.875 kB / 1.023 GB, free: 204 kB / 0.6355 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 (2): * Single equations (assignments): 2 * 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.0001412/0.9147, allocations: 109.8 kB / 1.023 GB, free: 88 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.023e-05/0.9148, allocations: 11.44 kB / 1.023 GB, free: 80 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.9148, allocations: 64 / 1.023 GB, free: 80 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.055e-05/0.9149, allocations: 8 kB / 1.023 GB, free: 72 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001651/0.915, allocations: 11.7 kB / 1.023 GB, free: 64 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002051/0.9152, allocations: 61.36 kB / 1.023 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002616/0.9155, allocations: 0.6809 MB / 1.024 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.328e-05/0.9155, allocations: 4 kB / 1.024 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.229e-05/0.9156, allocations: 7.438 kB / 1.024 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of SimCode: time 2.044e-06/0.9156, allocations: 0 / 1.024 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of Templates: time 0.002066/0.9177, allocations: 369.3 kB / 1.024 GB, free: 14.92 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Validation_Exp.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches