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.582/1.582, allocations: 249.5 MB / 257 MB, free: 6.922 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.0009886/0.0009886, allocations: 165 kB / 316.3 MB, free: 3.328 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.717/1.717, allocations: 205.3 MB / 0.5671 GB, free: 15.87 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.001078/0.001078, allocations: 84.55 kB / 0.6714 GB, free: 4.996 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.709e-05/2.712e-05, allocations: 12 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2459/0.2459, allocations: 106.3 MB / 0.8853 GB, free: 12.28 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.802/1.048, allocations: 131.5 MB / 1.014 GB, free: 6.227 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002378/1.048, allocations: 68.95 kB / 1.014 GB, free: 6.188 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.001582/1.05, allocations: 0.6138 MB / 1.014 GB, free: 5.617 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.603e-06/1.05, allocations: 0 / 1.014 GB, free: 5.617 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.132e-05/1.05, allocations: 0 / 1.014 GB, free: 5.617 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.0003627/1.05, allocations: 337.9 kB / 1.015 GB, free: 5.246 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.445e-05/1.05, allocations: 12.03 kB / 1.015 GB, free: 5.234 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.065e-05/1.05, allocations: 4 kB / 1.015 GB, free: 5.23 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/1.051, allocations: 167 kB / 1.015 GB, free: 5.027 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/1.051, allocations: 0 / 1.015 GB, free: 5.027 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.392e-05/1.051, allocations: 4 kB / 1.015 GB, free: 5.023 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.876e-05/1.051, allocations: 11.69 kB / 1.015 GB, free: 5.016 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.927e-05/1.051, allocations: 33.39 kB / 1.015 GB, free: 4.98 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/1.051, allocations: 0 / 1.015 GB, free: 4.98 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/1.051, allocations: 0 / 1.015 GB, free: 4.98 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/1.051, allocations: 4 kB / 1.015 GB, free: 4.977 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004535/1.051, allocations: 248.6 kB / 1.015 GB, free: 4.703 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.807e-05/1.051, allocations: 26.27 kB / 1.015 GB, free: 4.672 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.987e-05/1.051, allocations: 8.922 kB / 1.015 GB, free: 4.66 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.463e-05/1.051, allocations: 0 / 1.015 GB, free: 4.66 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.938e-05/1.051, allocations: 42.12 kB / 1.015 GB, free: 4.613 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.675e-06/1.052, allocations: 0 / 1.015 GB, free: 4.613 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001863/1.052, allocations: 40 kB / 1.015 GB, free: 4.574 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.862e-05/1.052, allocations: 55.41 kB / 1.015 GB, free: 4.508 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.375e-05/1.052, allocations: 92.98 kB / 1.015 GB, free: 4.41 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.383e-05/1.052, allocations: 25.7 kB / 1.015 GB, free: 4.379 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.107e-05/1.052, allocations: 87.39 kB / 1.016 GB, free: 4.293 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.665e-05/1.052, allocations: 8.688 kB / 1.016 GB, free: 4.285 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.366e-06/1.052, allocations: 0 / 1.016 GB, free: 4.285 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001206/1.052, allocations: 322.3 kB / 1.016 GB, free: 3.965 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.279e-05/1.052, allocations: 0 / 1.016 GB, free: 3.965 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.066e-05/1.052, allocations: 7.625 kB / 1.016 GB, free: 3.961 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.354e-05/1.052, allocations: 7.984 kB / 1.016 GB, free: 3.953 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/1.052, allocations: 0 / 1.016 GB, free: 3.953 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.994e-05/1.052, allocations: 40.89 kB / 1.016 GB, free: 3.91 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/1.052, allocations: 11.94 kB / 1.016 GB, free: 3.898 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/1.052, allocations: 4.094 kB / 1.016 GB, free: 3.895 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/1.052, allocations: 0 / 1.016 GB, free: 3.895 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.788e-05/1.052, allocations: 11.98 kB / 1.016 GB, free: 3.883 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/1.052, allocations: 0 / 1.016 GB, free: 3.883 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.046e-05/1.052, allocations: 9.188 kB / 1.016 GB, free: 3.875 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/1.052, allocations: 3.984 kB / 1.016 GB, free: 3.871 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 7.26e-05/1.053, allocations: 107.3 kB / 1.016 GB, free: 3.762 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.227e-05/1.053, allocations: 4 kB / 1.016 GB, free: 3.758 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.856e-05/1.053, allocations: 15.27 kB / 1.016 GB, free: 3.742 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/1.053, allocations: 0 / 1.016 GB, free: 3.742 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/1.053, allocations: 3.938 kB / 1.016 GB, free: 3.738 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/1.053, allocations: 3.984 kB / 1.016 GB, free: 3.734 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001392/1.053, allocations: 137.8 kB / 1.016 GB, free: 3.566 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/1.053, allocations: 3.953 kB / 1.016 GB, free: 3.562 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.972e-05/1.053, allocations: 12.86 kB / 1.016 GB, free: 3.551 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/1.053, allocations: 0 / 1.016 GB, free: 3.551 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.654e-06/1.053, allocations: 8 kB / 1.016 GB, free: 3.543 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/1.053, allocations: 0 / 1.016 GB, free: 3.543 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/1.053, allocations: 0 / 1.016 GB, free: 3.543 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001049/1.053, allocations: 135.2 kB / 1.016 GB, free: 3.398 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.928e-05/1.053, allocations: 85.06 kB / 1.016 GB, free: 3.297 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.353e-05/1.053, allocations: 1.438 kB / 1.016 GB, free: 3.297 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.076e-05/1.053, allocations: 12.02 kB / 1.016 GB, free: 3.285 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.487e-05/1.053, allocations: 7.438 kB / 1.016 GB, free: 3.281 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-06/1.053, allocations: 0 / 1.016 GB, free: 3.281 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.541e-05/1.053, allocations: 79.28 kB / 1.017 GB, free: 3.203 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.3e-07/1.053, allocations: 0 / 1.017 GB, free: 3.203 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002044/1.053, allocations: 4 kB / 1.017 GB, free: 3.199 MB / 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.0001561/1.054, allocations: 101.5 kB / 1.017 GB, free: 3.094 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.534e-05/1.054, allocations: 11.44 kB / 1.017 GB, free: 3.086 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/1.054, allocations: 4.062 kB / 1.017 GB, free: 3.082 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.229e-05/1.054, allocations: 15.62 kB / 1.017 GB, free: 3.07 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001826/1.054, allocations: 0 / 1.017 GB, free: 3.07 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00021/1.054, allocations: 59.62 kB / 1.017 GB, free: 2.992 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002521/1.054, allocations: 0.6807 MB / 1.017 GB, free: 2.285 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.015e-05/1.054, allocations: 0 / 1.017 GB, free: 2.285 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.047e-05/1.055, allocations: 7.438 kB / 1.017 GB, free: 2.277 MB / 0.6355 GB Notification: Performance of SimCode: time 3.416e-06/1.055, allocations: 4.062 kB / 1.017 GB, free: 2.273 MB / 0.6355 GB Notification: Performance of Templates: time 0.002104/1.057, allocations: 344.8 kB / 1.018 GB, free: 1.949 MB / 0.6355 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