Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001107/0.001107, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.008045/0.008045, allocations: 172.7 kB / 16.27 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.492/1.492, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.732/2.732, allocations: 437.8 MB / 0.7121 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004036/0.0004036, allocations: 12 kB / 0.8728 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6696/0.6701, allocations: 153.8 MB / 1.023 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Add): time 0.001105/0.6712, allocations: 434 kB / 1.023 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0009904/0.6722, allocations: 0.804 MB / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.338e-05/0.6723, allocations: 0 / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.672e-05/0.6723, allocations: 3.938 kB / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.646e-05/0.6724, allocations: 4 kB / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 5.901e-05/0.6724, allocations: 11.98 kB / 1.024 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.535e-05/0.6725, allocations: 51.73 kB / 1.024 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.6727, allocations: 7.984 kB / 1.024 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.275e-05/0.6727, allocations: 11.98 kB / 1.024 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.362e-05/0.6728, allocations: 15.92 kB / 1.024 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.654e-05/0.6728, allocations: 7.938 kB / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.915e-06/0.6728, allocations: 4 kB / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.559e-05/0.6728, allocations: 4 kB / 1.024 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.184e-05/0.6729, allocations: 37.62 kB / 1.024 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 8.25e-05/0.673, allocations: 47.78 kB / 1.024 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.673, allocations: 0 / 1.024 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.703e-06/0.673, allocations: 0 / 1.024 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.673, allocations: 0 / 1.024 GB, free: 14.4 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.0005425/0.6736, allocations: 369.4 kB / 1.025 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.6736, allocations: 12.03 kB / 1.025 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.497e-05/0.6736, allocations: 8.844 kB / 1.025 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.6738, allocations: 172.2 kB / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.6738, allocations: 384 / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.899e-06/0.6738, allocations: 384 / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002938/0.6741, allocations: 90.2 kB / 1.025 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.6741, allocations: 192 / 1.025 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.465e-05/0.6742, allocations: 3.938 kB / 1.025 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.6742, allocations: 4 kB / 1.025 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003204/0.6745, allocations: 83.92 kB / 1.025 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004667/0.675, allocations: 265 kB / 1.025 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002493/0.6752, allocations: 70.41 kB / 1.025 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001855/0.6754, allocations: 56.91 kB / 1.026 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.261e-05/0.6755, allocations: 4 kB / 1.026 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.836e-05/0.6755, allocations: 30.56 kB / 1.026 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.373e-06/0.6755, allocations: 0 / 1.026 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.000639/0.6761, allocations: 161.5 kB / 1.026 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.983e-05/0.6762, allocations: 55.39 kB / 1.026 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001117/0.6763, allocations: 105.9 kB / 1.026 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.952e-05/0.6764, allocations: 29.7 kB / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.641e-05/0.6764, allocations: 88.03 kB / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.164e-05/0.6765, allocations: 15.84 kB / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.113e-05/0.6765, allocations: 9.719 kB / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001966/0.6767, allocations: 318.8 kB / 1.026 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001754/0.6769, allocations: 39.97 kB / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001545/0.6771, allocations: 43.97 kB / 1.026 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003214/0.6774, allocations: 89.06 kB / 1.026 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/0.6774, allocations: 3.938 kB / 1.026 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000358/0.6778, allocations: 125.5 kB / 1.027 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.6778, allocations: 11.94 kB / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.6778, allocations: 0 / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.6778, allocations: 3.938 kB / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001395/0.678, allocations: 27.97 kB / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.678, allocations: 0 / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.323e-05/0.6781, allocations: 23.89 kB / 1.027 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.224e-06/0.6781, allocations: 0 / 1.027 GB, free: 11.9 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.89e-05/0.6782, allocations: 109.8 kB / 1.027 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.441e-05/0.6782, allocations: 4 kB / 1.027 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.777e-05/0.6782, allocations: 15.89 kB / 1.027 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.6783, allocations: 0 / 1.027 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.6783, allocations: 0 / 1.027 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.6783, allocations: 4 kB / 1.027 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001802/0.6785, allocations: 169.6 kB / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.6785, allocations: 4 kB / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.333e-05/0.6786, allocations: 15.98 kB / 1.027 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.6786, allocations: 4 kB / 1.027 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.664e-06/0.6786, allocations: 4 kB / 1.027 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.549e-06/0.6786, allocations: 3.984 kB / 1.027 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.6786, allocations: 0 / 1.027 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004158/0.679, allocations: 223.3 kB / 1.027 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.65e-05/0.6791, allocations: 77.11 kB / 1.027 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.513e-05/0.6791, allocations: 0 / 1.027 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.6792, allocations: 15.98 kB / 1.027 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.738e-05/0.6793, allocations: 11.98 kB / 1.027 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.6793, allocations: 0 / 1.027 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.658e-05/0.6793, allocations: 91.27 kB / 1.027 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.6793, allocations: 0 / 1.027 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002054/0.6795, allocations: 4 kB / 1.027 GB, free: 11.06 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001409/0.6797, allocations: 103.2 kB / 1.027 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003635/0.6801, allocations: 91.86 kB / 1.028 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.6801, allocations: 0 / 1.028 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001597/0.6802, allocations: 51.97 kB / 1.028 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003049/0.6805, allocations: 11.92 kB / 1.028 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003134/0.6809, allocations: 140.5 kB / 1.028 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003609/0.6812, allocations: 0.6809 MB / 1.028 GB, free: 9.926 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.855e-05/0.6813, allocations: 0 / 1.028 GB, free: 9.926 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.83e-05/0.6813, allocations: 11.44 kB / 1.028 GB, free: 9.914 MB / 0.7794 GB Notification: Performance of SimCode: time 3.41e-07/0.6813, allocations: 3.938 kB / 1.028 GB, free: 9.91 MB / 0.7794 GB Notification: Performance of Templates: time 0.002497/0.6838, allocations: 0.5323 MB / 1.029 GB, free: 9.387 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Add.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches