Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.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.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001065/0.001064, allocations: 99.55 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.00106/0.00106, 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.463/1.463, allocations: 223.2 MB / 239.9 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.73/2.73, allocations: 436.5 MB / 0.7104 GB, free: 7.887 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003908/0.0003912, allocations: 12 kB / 0.8708 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.824/0.8244, allocations: 153.7 MB / 1.021 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Add): time 0.0008563/0.8253, allocations: 434 kB / 1.021 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008461/0.8262, allocations: 0.8001 MB / 1.022 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.635e-05/0.8262, allocations: 0 / 1.022 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.356e-05/0.8262, allocations: 0 / 1.022 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.934e-05/0.8263, allocations: 4 kB / 1.022 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 5.038e-05/0.8264, allocations: 15.98 kB / 1.022 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.333e-05/0.8264, allocations: 31.89 kB / 1.022 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.362e-05/0.8265, allocations: 7.984 kB / 1.022 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 5.597e-05/0.8266, allocations: 8 kB / 1.022 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.547e-05/0.8267, allocations: 19.91 kB / 1.022 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.568e-05/0.8267, allocations: 7.938 kB / 1.022 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.704e-06/0.8267, allocations: 0 / 1.022 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.533e-05/0.8267, allocations: 7.938 kB / 1.022 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.277e-05/0.8267, allocations: 29.7 kB / 1.022 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 5.414e-05/0.8268, allocations: 27.94 kB / 1.022 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.424e-06/0.8268, allocations: 0 / 1.022 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.453e-06/0.8268, allocations: 4 kB / 1.022 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.053e-06/0.8268, allocations: 0 / 1.022 GB, free: 15.73 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.00049/0.8273, allocations: 365.2 kB / 1.023 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.8274, allocations: 23.92 kB / 1.023 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.855e-05/0.8274, allocations: 3.906 kB / 1.023 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001165/0.8275, allocations: 167.1 kB / 1.023 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.658e-06/0.8276, allocations: 0 / 1.023 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.206e-05/0.8276, allocations: 4 kB / 1.023 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002553/0.8278, allocations: 85.55 kB / 1.023 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.061e-06/0.8278, allocations: 0 / 1.023 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.876e-06/0.8279, allocations: 0 / 1.023 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/0.8279, allocations: 7.984 kB / 1.023 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003018/0.8282, allocations: 79.94 kB / 1.023 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003235/0.8285, allocations: 272.8 kB / 1.023 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002142/0.8287, allocations: 70.47 kB / 1.023 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.064e-05/0.8288, allocations: 0 / 1.023 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.099e-05/0.8288, allocations: 34.56 kB / 1.023 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 7.51e-07/0.8288, allocations: 0 / 1.023 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0005573/0.8293, allocations: 165.7 kB / 1.023 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.998e-05/0.8294, allocations: 51.41 kB / 1.023 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.68e-05/0.8295, allocations: 105.8 kB / 1.024 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.64e-05/0.8295, allocations: 25.7 kB / 1.024 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.523e-05/0.8296, allocations: 92.08 kB / 1.024 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.8296, allocations: 11.75 kB / 1.024 GB, free: 14 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.567e-06/0.8296, allocations: 4 kB / 1.024 GB, free: 14 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.8297, allocations: 318.8 kB / 1.024 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001569/0.8299, allocations: 39.97 kB / 1.024 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001511/0.83, allocations: 43.97 kB / 1.024 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001451/0.8302, allocations: 44.23 kB / 1.024 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.8302, allocations: 4 kB / 1.024 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003332/0.8305, allocations: 121.6 kB / 1.024 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.8306, allocations: 8 kB / 1.024 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.8306, allocations: 320 / 1.024 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.8306, allocations: 0 / 1.024 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/0.8307, allocations: 19.98 kB / 1.024 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.598e-06/0.8307, allocations: 0 / 1.024 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.561e-05/0.8308, allocations: 27.91 kB / 1.024 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.407e-06/0.8309, allocations: 3.984 kB / 1.024 GB, free: 13.37 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 (3): * Single equations (assignments): 3 * 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.842e-05/0.8309, allocations: 119.2 kB / 1.024 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.473e-05/0.831, allocations: 11.8 kB / 1.024 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.041e-05/0.831, allocations: 3.906 kB / 1.024 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.831, allocations: 4 kB / 1.024 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.831, allocations: 0 / 1.024 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.933e-06/0.831, allocations: 0 / 1.024 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001643/0.8312, allocations: 173.6 kB / 1.025 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.8312, allocations: 0 / 1.025 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001017/0.8313, allocations: 19.98 kB / 1.025 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.8313, allocations: 3.953 kB / 1.025 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.154e-06/0.8313, allocations: 0 / 1.025 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.8313, allocations: 0 / 1.025 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.8313, allocations: 0 / 1.025 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003855/0.8317, allocations: 219.5 kB / 1.025 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.716e-05/0.8318, allocations: 85.02 kB / 1.025 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.586e-05/0.8318, allocations: 11.89 kB / 1.025 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/0.8319, allocations: 11.98 kB / 1.025 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.328e-05/0.832, allocations: 11.98 kB / 1.025 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.832, allocations: 0 / 1.025 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.879e-05/0.832, allocations: 83.28 kB / 1.025 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.832, allocations: 4 kB / 1.025 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000223/0.8323, allocations: 8 kB / 1.025 GB, free: 12.52 MB / 0.7794 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 (3): * Single equations (assignments): 3 * 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.0001339/0.8324, allocations: 103.2 kB / 1.025 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003426/0.8327, allocations: 87.92 kB / 1.025 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.8328, allocations: 0 / 1.025 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001598/0.8329, allocations: 51.91 kB / 1.025 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002047/0.8331, allocations: 4 kB / 1.025 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002682/0.8334, allocations: 136.6 kB / 1.025 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002835/0.8337, allocations: 0.6848 MB / 1.026 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.846e-05/0.8337, allocations: 0 / 1.026 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.888e-05/0.8338, allocations: 11.44 kB / 1.026 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of SimCode: time 2.71e-07/0.8338, allocations: 0 / 1.026 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of Templates: time 0.002378/0.8362, allocations: 0.5225 MB / 1.027 GB, free: 10.86 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Add.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches