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.Gain.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.Gain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain1.u|gain1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Gain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain1.u|gain1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.423/1.423, allocations: 252 MB / 266.9 MB, free: 10.86 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.001153/0.001153, allocations: 185.3 kB / 326.5 MB, free: 2.23 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.072/2.072, 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.000887/0.0008871, allocations: 97.92 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003158/0.0003158, allocations: 18.05 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2324/0.2327, allocations: 106.3 MB / 0.9001 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.176/0.4088, allocations: 131.3 MB / 1.028 GB, free: 12.38 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002956/0.4092, allocations: 71.95 kB / 1.028 GB, free: 12.31 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001752/0.4109, allocations: 0.6025 MB / 1.029 GB, free: 11.7 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.535e-06/0.4109, allocations: 11.94 kB / 1.029 GB, free: 11.69 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.324e-06/0.411, allocations: 0 / 1.029 GB, free: 11.69 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000437/0.4114, allocations: 339.3 kB / 1.029 GB, free: 11.31 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.104e-05/0.4115, allocations: 11.97 kB / 1.029 GB, free: 11.3 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.609e-05/0.4115, allocations: 4 kB / 1.029 GB, free: 11.3 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001528/0.4117, allocations: 178.8 kB / 1.03 GB, free: 11.08 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.4117, allocations: 0 / 1.03 GB, free: 11.08 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.162e-05/0.4117, allocations: 8 kB / 1.03 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000193/0.4119, allocations: 49.69 kB / 1.03 GB, free: 11.02 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.4119, allocations: 0 / 1.03 GB, free: 11.02 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.4119, allocations: 0 / 1.03 GB, free: 11.02 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.126e-06/0.412, allocations: 3.984 kB / 1.03 GB, free: 11.02 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001637/0.4121, allocations: 43.97 kB / 1.03 GB, free: 10.97 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004494/0.4126, allocations: 272.8 kB / 1.03 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001207/0.4127, allocations: 46.56 kB / 1.03 GB, free: 10.6 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.24e-05/0.4127, allocations: 0 / 1.03 GB, free: 10.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/0.4128, allocations: 30.56 kB / 1.03 GB, free: 10.56 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.4128, allocations: 0 / 1.03 GB, free: 10.56 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0003455/0.4131, allocations: 97.64 kB / 1.03 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.536e-05/0.4132, allocations: 59.41 kB / 1.03 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.511e-05/0.4133, allocations: 89 kB / 1.03 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.4133, allocations: 29.69 kB / 1.03 GB, free: 10.26 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.596e-05/0.4133, allocations: 88.27 kB / 1.03 GB, free: 10.17 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.656e-05/0.4134, allocations: 3.906 kB / 1.03 GB, free: 10.17 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.056e-06/0.4134, allocations: 4 kB / 1.03 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.4135, allocations: 318.7 kB / 1.031 GB, free: 9.844 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.901e-05/0.4136, allocations: 19.98 kB / 1.031 GB, free: 9.824 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.242e-05/0.4137, allocations: 27.97 kB / 1.031 GB, free: 9.797 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.584e-05/0.4138, allocations: 19.98 kB / 1.031 GB, free: 9.777 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.4138, allocations: 4 kB / 1.031 GB, free: 9.773 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001806/0.414, allocations: 77.67 kB / 1.031 GB, free: 9.691 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.414, allocations: 7.984 kB / 1.031 GB, free: 9.684 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.414, allocations: 0 / 1.031 GB, free: 9.684 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.414, allocations: 256 / 1.031 GB, free: 9.684 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.992e-05/0.4141, allocations: 8 kB / 1.031 GB, free: 9.676 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.4141, allocations: 4 kB / 1.031 GB, free: 9.672 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.176e-05/0.4142, allocations: 16.02 kB / 1.031 GB, free: 9.656 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.4142, allocations: 0 / 1.031 GB, free: 9.656 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 (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 9.132e-05/0.4143, allocations: 121.7 kB / 1.031 GB, free: 9.527 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.268e-05/0.4143, allocations: 3.906 kB / 1.031 GB, free: 9.523 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.061e-05/0.4144, allocations: 3.125 kB / 1.031 GB, free: 9.52 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.4144, allocations: 3.984 kB / 1.031 GB, free: 9.516 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.4144, allocations: 0 / 1.031 GB, free: 9.516 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.4144, allocations: 0 / 1.031 GB, free: 9.516 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001614/0.4146, allocations: 161.6 kB / 1.031 GB, free: 9.309 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.4146, allocations: 4 kB / 1.031 GB, free: 9.305 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.236e-05/0.4146, allocations: 15.98 kB / 1.031 GB, free: 9.289 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.4146, allocations: 0 / 1.031 GB, free: 9.289 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/0.4147, allocations: 0 / 1.031 GB, free: 9.289 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.4147, allocations: 0 / 1.031 GB, free: 9.289 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.4147, allocations: 0 / 1.031 GB, free: 9.289 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002499/0.4149, allocations: 179.4 kB / 1.031 GB, free: 9.098 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.467e-05/0.415, allocations: 77.11 kB / 1.031 GB, free: 9.004 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.229e-05/0.415, allocations: 0 / 1.031 GB, free: 9.004 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.946e-05/0.4151, allocations: 15.98 kB / 1.031 GB, free: 8.988 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.637e-05/0.4151, allocations: 0 / 1.031 GB, free: 8.988 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-06/0.4151, allocations: 4.031 kB / 1.031 GB, free: 8.984 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.145e-05/0.4152, allocations: 83.27 kB / 1.031 GB, free: 8.902 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4152, allocations: 0 / 1.031 GB, free: 8.902 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000196/0.4154, allocations: 4 kB / 1.031 GB, free: 8.898 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 (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.0001471/0.4155, allocations: 103.2 kB / 1.032 GB, free: 8.789 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002003/0.4157, allocations: 47.97 kB / 1.032 GB, free: 8.742 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.4158, allocations: 0 / 1.032 GB, free: 8.742 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 8.344e-05/0.4158, allocations: 27.91 kB / 1.032 GB, free: 8.715 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002055/0.4161, allocations: 7.953 kB / 1.032 GB, free: 8.707 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002852/0.4164, allocations: 124.6 kB / 1.032 GB, free: 8.559 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002797/0.4166, allocations: 0.6809 MB / 1.032 GB, free: 7.852 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 2.561e-05/0.4167, allocations: 4 kB / 1.032 GB, free: 7.848 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.441e-05/0.4167, allocations: 7.438 kB / 1.032 GB, free: 7.84 MB / 0.6823 GB Notification: Performance of SimCode: time 4.01e-07/0.4167, allocations: 0 / 1.032 GB, free: 7.84 MB / 0.6823 GB Notification: Performance of Templates: time 0.002106/0.4188, allocations: 350.8 kB / 1.033 GB, free: 7.5 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Validation_Gain.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches