Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.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.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.534/2.534, allocations: 393.5 MB / 408.5 MB, free: 10.98 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.001086/0.001086, allocations: 184 kB / 0.4902 GB, free: 2.238 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.654/1.654, allocations: 223.2 MB / 0.7992 GB, free: 14.67 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.001044/0.001044, allocations: 107.1 kB / 0.9396 GB, free: 1.848 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004458/0.0004458, allocations: 15.34 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3012/0.3017, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1947/0.4965, allocations: 149.6 MB / 1.375 GB, free: 3.895 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002377/0.4968, allocations: 67.97 kB / 1.375 GB, free: 3.828 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.00182/0.4986, allocations: 0.6492 MB / 1.376 GB, free: 3.176 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.246e-06/0.4986, allocations: 0 / 1.376 GB, free: 3.176 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.067e-06/0.4986, allocations: 0 / 1.376 GB, free: 3.176 MB / 0.8698 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.0004186/0.4991, allocations: 335.3 kB / 1.376 GB, free: 2.801 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.4991, allocations: 8.031 kB / 1.376 GB, free: 2.793 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.852e-05/0.4992, allocations: 7.906 kB / 1.376 GB, free: 2.785 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001471/0.4993, allocations: 171 kB / 1.377 GB, free: 2.578 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/0.4993, allocations: 4 kB / 1.377 GB, free: 2.574 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.766e-05/0.4994, allocations: 7.938 kB / 1.377 GB, free: 2.566 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001923/0.4996, allocations: 49.69 kB / 1.377 GB, free: 2.512 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.4996, allocations: 0 / 1.377 GB, free: 2.512 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.4996, allocations: 3.984 kB / 1.377 GB, free: 2.508 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.4996, allocations: 0 / 1.377 GB, free: 2.508 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001747/0.4998, allocations: 43.97 kB / 1.377 GB, free: 2.465 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004515/0.5002, allocations: 265.8 kB / 1.377 GB, free: 2.156 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000127/0.5004, allocations: 46.5 kB / 1.377 GB, free: 2.102 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.306e-05/0.5004, allocations: 0 / 1.377 GB, free: 2.102 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.5004, allocations: 38.62 kB / 1.377 GB, free: 2.055 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.5004, allocations: 0 / 1.377 GB, free: 2.055 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0003662/0.5008, allocations: 97.64 kB / 1.377 GB, free: 1.953 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.154e-05/0.5009, allocations: 51.41 kB / 1.377 GB, free: 1.891 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.549e-05/0.5009, allocations: 96.98 kB / 1.377 GB, free: 1.789 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/0.501, allocations: 25.83 kB / 1.377 GB, free: 1.758 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.283e-05/0.501, allocations: 92.08 kB / 1.377 GB, free: 1.664 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.744e-05/0.501, allocations: 3.906 kB / 1.377 GB, free: 1.66 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.266e-06/0.5011, allocations: 0 / 1.377 GB, free: 1.66 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.5012, allocations: 322.7 kB / 1.378 GB, free: 1.336 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.276e-05/0.5013, allocations: 19.98 kB / 1.378 GB, free: 1.316 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.376e-05/0.5014, allocations: 27.97 kB / 1.378 GB, free: 1.289 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.985e-05/0.5014, allocations: 19.98 kB / 1.378 GB, free: 1.27 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.5015, allocations: 0 / 1.378 GB, free: 1.27 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001942/0.5017, allocations: 77.72 kB / 1.378 GB, free: 1.188 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.5017, allocations: 4 kB / 1.378 GB, free: 1.184 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.5017, allocations: 0 / 1.378 GB, free: 1.184 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.5017, allocations: 192 / 1.378 GB, free: 1.184 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.878e-05/0.5018, allocations: 12 kB / 1.378 GB, free: 1.172 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.5018, allocations: 0 / 1.378 GB, free: 1.172 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.291e-05/0.5019, allocations: 12.02 kB / 1.378 GB, free: 1.16 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.5019, allocations: 0 / 1.378 GB, free: 1.16 MB / 0.8698 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 (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 8.072e-05/0.502, allocations: 126.5 kB / 1.378 GB, free: 1.027 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.607e-05/0.502, allocations: 7.891 kB / 1.378 GB, free: 1.02 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002388/0.5023, allocations: 88.77 kB / 1.378 GB, free: 0.9297 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.5023, allocations: 0 / 1.378 GB, free: 0.9297 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.5023, allocations: 0 / 1.378 GB, free: 0.9297 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.5023, allocations: 0 / 1.378 GB, free: 0.9297 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001621/0.5024, allocations: 165.6 kB / 1.378 GB, free: 0.7188 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.5025, allocations: 0 / 1.378 GB, free: 0.7188 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.708e-05/0.5025, allocations: 11.98 kB / 1.378 GB, free: 0.707 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.5026, allocations: 0 / 1.378 GB, free: 0.707 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.822e-06/0.5026, allocations: 0 / 1.378 GB, free: 0.707 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.5026, allocations: 4.031 kB / 1.378 GB, free: 0.7031 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.5026, allocations: 0 / 1.378 GB, free: 0.7031 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002378/0.5028, allocations: 179.4 kB / 1.378 GB, free: 0.5117 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.308e-05/0.5029, allocations: 77.11 kB / 1.378 GB, free: 428 kB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.419e-05/0.5029, allocations: 4 kB / 1.378 GB, free: 424 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.499e-05/0.503, allocations: 7.984 kB / 1.378 GB, free: 416 kB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.617e-05/0.503, allocations: 4 kB / 1.378 GB, free: 412 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.736e-06/0.503, allocations: 0 / 1.378 GB, free: 412 kB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.407e-05/0.5031, allocations: 83.27 kB / 1.379 GB, free: 328 kB / 0.8698 GB Notification: Performance of sort global known variables: time 1e-07/0.5031, allocations: 0 / 1.379 GB, free: 328 kB / 0.8698 GB Notification: Performance of remove unused functions: time 0.000194/0.5033, allocations: 4 kB / 1.379 GB, free: 324 kB / 0.8698 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 (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.0001426/0.5034, allocations: 99.28 kB / 1.379 GB, free: 216 kB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002052/0.5036, allocations: 51.91 kB / 1.379 GB, free: 164 kB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.5036, allocations: 0 / 1.379 GB, free: 164 kB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 8.537e-05/0.5037, allocations: 28.03 kB / 1.379 GB, free: 136 kB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002164/0.504, allocations: 10.14 kB / 1.379 GB, free: 128 kB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003747/0.5043, allocations: 116.5 kB / 1.379 GB, free: 15.98 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003271/0.5047, allocations: 0.6809 MB / 1.379 GB, free: 15.27 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 2.416e-05/0.5047, allocations: 4.062 kB / 1.379 GB, free: 15.27 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.834e-05/0.5047, allocations: 7.438 kB / 1.379 GB, free: 15.26 MB / 0.8855 GB Notification: Performance of SimCode: time 5.41e-07/0.5048, allocations: 0 / 1.379 GB, free: 15.26 MB / 0.8855 GB Notification: Performance of Templates: time 0.002405/0.5072, allocations: 349.7 kB / 1.38 GB, free: 14.92 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Continuous_Validation_Exp.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches