Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.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.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001085/0.001086, allocations: 99.78 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.001243/0.001243, allocations: 177.3 kB / 15.95 MB, free: 216 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.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.739/2.739, allocations: 436.5 MB / 0.7104 GB, free: 7.867 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003487/0.0003488, allocations: 16 kB / 0.8708 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8493/0.8496, allocations: 153.7 MB / 1.021 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.0009243/0.8506, allocations: 434 kB / 1.021 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008487/0.8515, allocations: 0.7924 MB / 1.022 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.981e-05/0.8515, allocations: 3.938 kB / 1.022 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.548e-05/0.8516, allocations: 0 / 1.022 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.606e-05/0.8516, allocations: 11.97 kB / 1.022 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 4.733e-05/0.8517, allocations: 8 kB / 1.022 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.014e-05/0.8518, allocations: 23.91 kB / 1.022 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.8519, allocations: 11.98 kB / 1.022 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.908e-05/0.852, allocations: 11.98 kB / 1.022 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.232e-05/0.852, allocations: 23.91 kB / 1.022 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.535e-05/0.852, allocations: 4 kB / 1.022 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.724e-06/0.852, allocations: 0 / 1.022 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.415e-05/0.8521, allocations: 11.88 kB / 1.022 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.262e-05/0.8521, allocations: 29.7 kB / 1.022 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 5.536e-05/0.8522, allocations: 27.92 kB / 1.022 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.8522, allocations: 0 / 1.022 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.383e-06/0.8522, allocations: 0 / 1.022 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.008e-06/0.8522, allocations: 0 / 1.022 GB, free: 15.7 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.0005056/0.8527, allocations: 369.2 kB / 1.023 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.8527, allocations: 15.98 kB / 1.023 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.307e-05/0.8528, allocations: 7.844 kB / 1.023 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001162/0.8529, allocations: 163.1 kB / 1.023 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.8529, allocations: 0 / 1.023 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.042e-05/0.8529, allocations: 7.984 kB / 1.023 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002503/0.8532, allocations: 85.55 kB / 1.023 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.8532, allocations: 0 / 1.023 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.8532, allocations: 0 / 1.023 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-06/0.8532, allocations: 4 kB / 1.023 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002938/0.8535, allocations: 87.92 kB / 1.023 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003665/0.8539, allocations: 276.8 kB / 1.023 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002072/0.8541, allocations: 62.48 kB / 1.023 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.616e-06/0.8542, allocations: 4 kB / 1.023 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.681e-05/0.8542, allocations: 34.56 kB / 1.023 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.8542, allocations: 0 / 1.023 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0005486/0.8547, allocations: 161.7 kB / 1.023 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.194e-05/0.8548, allocations: 51.41 kB / 1.023 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.209e-05/0.8549, allocations: 109.8 kB / 1.024 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/0.8549, allocations: 25.7 kB / 1.024 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.559e-05/0.855, allocations: 92.12 kB / 1.024 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.069e-05/0.855, allocations: 19.67 kB / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.506e-06/0.855, allocations: 0 / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.8551, allocations: 318.8 kB / 1.024 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000144/0.8553, allocations: 39.97 kB / 1.024 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001366/0.8554, allocations: 43.95 kB / 1.024 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001417/0.8556, allocations: 43.97 kB / 1.024 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.8556, allocations: 0 / 1.024 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000323/0.8559, allocations: 121.6 kB / 1.024 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.8559, allocations: 4 kB / 1.024 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.8559, allocations: 3.984 kB / 1.024 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.856, allocations: 0 / 1.024 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001363/0.8561, allocations: 23.98 kB / 1.024 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.8561, allocations: 0 / 1.024 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.726e-05/0.8562, allocations: 15.98 kB / 1.024 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.333e-06/0.8562, allocations: 0 / 1.024 GB, free: 13.34 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 8.262e-05/0.8563, allocations: 121.7 kB / 1.024 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.739e-05/0.8563, allocations: 11.86 kB / 1.024 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.068e-05/0.8564, allocations: 15.83 kB / 1.024 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.8564, allocations: 336 / 1.024 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/0.8564, allocations: 0 / 1.024 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.8564, allocations: 0 / 1.024 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00016/0.8566, allocations: 169.6 kB / 1.025 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.8566, allocations: 0 / 1.025 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.637e-05/0.8567, allocations: 19.98 kB / 1.025 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.8567, allocations: 7.953 kB / 1.025 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.487e-06/0.8567, allocations: 3.984 kB / 1.025 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.8567, allocations: 0 / 1.025 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.8567, allocations: 0 / 1.025 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003709/0.8571, allocations: 211.5 kB / 1.025 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.243e-05/0.8571, allocations: 85.02 kB / 1.025 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.639e-05/0.8571, allocations: 3.953 kB / 1.025 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.8573, allocations: 27.91 kB / 1.025 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.441e-05/0.8573, allocations: 4 kB / 1.025 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.8573, allocations: 0 / 1.025 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.504e-05/0.8574, allocations: 87.27 kB / 1.025 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8574, allocations: 0 / 1.025 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002136/0.8576, allocations: 8 kB / 1.025 GB, free: 12.48 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.0001422/0.8577, allocations: 99.25 kB / 1.025 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003342/0.8581, allocations: 87.92 kB / 1.025 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.8581, allocations: 4 kB / 1.025 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001548/0.8583, allocations: 43.97 kB / 1.025 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002212/0.8585, allocations: 11.92 kB / 1.025 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003123/0.8588, allocations: 136.6 kB / 1.025 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002589/0.8591, allocations: 0.6848 MB / 1.026 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.145e-05/0.8591, allocations: 4 kB / 1.026 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.689e-05/0.8591, allocations: 7.438 kB / 1.026 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.8591, allocations: 0 / 1.026 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of Templates: time 0.002501/0.8617, allocations: 0.5175 MB / 1.027 GB, free: 10.83 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Subtract.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches