Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Line,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|line1.u|line1.y|line2.y|line3.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Line,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|line1.u|line1.y|line2.y|line3.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009561/0.0009566, allocations: 98.53 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009408/0.0009409, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 223.2 MB / 239.9 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.724/2.724, allocations: 436.5 MB / 0.7104 GB, free: 7.906 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003909/0.0003911, allocations: 8 kB / 0.8708 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7713/0.7717, allocations: 153.7 MB / 1.021 GB, free: 1.176 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.001262/0.773, allocations: 0.5797 MB / 1.021 GB, free: 0.6016 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001047/0.7741, allocations: 0.878 MB / 1.022 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.928e-05/0.7742, allocations: 3.938 kB / 1.022 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.526e-05/0.7742, allocations: 7.922 kB / 1.022 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.387e-05/0.7743, allocations: 7.984 kB / 1.022 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001702/0.7745, allocations: 47.94 kB / 1.022 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001651/0.7746, allocations: 83.8 kB / 1.022 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001572/0.7748, allocations: 41.45 kB / 1.022 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.989e-05/0.7749, allocations: 39.84 kB / 1.022 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.377e-05/0.775, allocations: 47.75 kB / 1.023 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.95e-05/0.775, allocations: 7.938 kB / 1.023 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.894e-05/0.775, allocations: 8 kB / 1.023 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.252e-05/0.775, allocations: 15.92 kB / 1.023 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.42e-05/0.7751, allocations: 37.64 kB / 1.023 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001118/0.7752, allocations: 99.75 kB / 1.023 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.7752, allocations: 0 / 1.023 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.124e-06/0.7752, allocations: 0 / 1.023 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.7752, allocations: 0 / 1.023 GB, free: 15.26 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0006503/0.7759, allocations: 425 kB / 1.023 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.7759, allocations: 11.98 kB / 1.023 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.064e-05/0.776, allocations: 15.81 kB / 1.023 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000266/0.7763, allocations: 214.7 kB / 1.023 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.7763, allocations: 12 kB / 1.023 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.337e-05/0.7763, allocations: 15.95 kB / 1.023 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003707/0.7767, allocations: 149.6 kB / 1.023 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.7767, allocations: 0 / 1.023 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.217e-05/0.7767, allocations: 11.94 kB / 1.023 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.7768, allocations: 0 / 1.023 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003084/0.7771, allocations: 139.9 kB / 1.024 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008096/0.7779, allocations: 0.4999 MB / 1.024 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001982/0.7781, allocations: 94.52 kB / 1.024 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.256e-05/0.7781, allocations: 0 / 1.024 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.91e-05/0.7782, allocations: 38.56 kB / 1.024 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=10): time 9.62e-07/0.7782, allocations: 0 / 1.024 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10): time 0.0005094/0.7787, allocations: 173.6 kB / 1.024 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.7787, allocations: 55.41 kB / 1.024 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001999/0.7789, allocations: 195.4 kB / 1.025 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.185e-05/0.779, allocations: 29.7 kB / 1.025 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.985e-05/0.7791, allocations: 111.9 kB / 1.025 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.279e-05/0.7791, allocations: 35.55 kB / 1.025 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.304e-06/0.7791, allocations: 0 / 1.025 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001648/0.7793, allocations: 326.8 kB / 1.025 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001318/0.7794, allocations: 43.97 kB / 1.025 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001217/0.7796, allocations: 50.84 kB / 1.025 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001337/0.7797, allocations: 47.98 kB / 1.025 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.7797, allocations: 0 / 1.025 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003375/0.7801, allocations: 165.4 kB / 1.025 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/0.7801, allocations: 4 kB / 1.025 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.7801, allocations: 4 kB / 1.025 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.7801, allocations: 0 / 1.025 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001843/0.7803, allocations: 31.92 kB / 1.025 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.7803, allocations: 4 kB / 1.025 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001021/0.7804, allocations: 23.83 kB / 1.025 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.235e-05/0.7805, allocations: 4 kB / 1.025 GB, free: 12.16 MB / 0.7794 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 (13): * Single equations (assignments): 13 * 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 0.0001338/0.7806, allocations: 113.8 kB / 1.026 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.782e-05/0.7806, allocations: 19.77 kB / 1.026 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003882/0.781, allocations: 155.3 kB / 1.026 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.788e-06/0.7811, allocations: 7.984 kB / 1.026 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.7811, allocations: 96 / 1.026 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.7811, allocations: 7.875 kB / 1.026 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006821/0.7818, allocations: 464.8 kB / 1.026 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.7818, allocations: 3.984 kB / 1.026 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001084/0.7819, allocations: 23.98 kB / 1.026 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.7819, allocations: 0 / 1.026 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.701e-05/0.7819, allocations: 12.09 kB / 1.026 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.7819, allocations: 0 / 1.026 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.782, allocations: 0 / 1.026 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004151/0.7824, allocations: 290.9 kB / 1.027 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.719e-05/0.7825, allocations: 85.02 kB / 1.027 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.12e-05/0.7825, allocations: 4 kB / 1.027 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001577/0.7827, allocations: 27.97 kB / 1.027 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.127e-05/0.7827, allocations: 11.89 kB / 1.027 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.244e-05/0.7827, allocations: 7.984 kB / 1.027 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001405/0.7829, allocations: 141.2 kB / 1.027 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7829, allocations: 0 / 1.027 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002573/0.7832, allocations: 20 kB / 1.027 GB, free: 10.65 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (10): * Single equations (assignments): 10 * 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.0002431/0.7834, allocations: 111.2 kB / 1.027 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003424/0.7838, allocations: 107.9 kB / 1.027 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.7838, allocations: 0 / 1.027 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001397/0.7839, allocations: 60.09 kB / 1.027 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003285/0.7843, allocations: 12.19 kB / 1.027 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006315/0.7849, allocations: 272.5 kB / 1.027 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003528/0.7853, allocations: 0.7165 MB / 1.028 GB, free: 9.312 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.479e-05/0.7853, allocations: 13.08 kB / 1.028 GB, free: 9.301 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.368e-05/0.7854, allocations: 23.38 kB / 1.028 GB, free: 9.277 MB / 0.7794 GB Notification: Performance of SimCode: time 1.9e-07/0.7854, allocations: 4 kB / 1.028 GB, free: 9.273 MB / 0.7794 GB Notification: Performance of Templates: time 0.004127/0.7895, allocations: 0.9872 MB / 1.029 GB, free: 8.289 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Line.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches