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.0083/0.0083, allocations: 97.56 kB / 15.73 MB, free: 6.035 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.00196/0.00196, allocations: 201 kB / 16.68 MB, free: 5.961 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.523/1.523, allocations: 222.9 MB / 240.4 MB, free: 4.332 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.813/2.813, allocations: 437 MB / 0.7105 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 67.89 kB / 1.019 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4018/0.403, allocations: 151.6 MB / 1.167 GB, free: 6.734 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Add): time 0.001911/0.405, allocations: 0.6968 MB / 1.167 GB, free: 6.039 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0008562/0.4059, allocations: 0.8121 MB / 1.168 GB, free: 5.215 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.935e-05/0.4059, allocations: 4 kB / 1.168 GB, free: 5.211 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.02e-05/0.4059, allocations: 3.938 kB / 1.168 GB, free: 5.207 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.939e-05/0.406, allocations: 3.938 kB / 1.168 GB, free: 5.203 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 6.113e-05/0.4061, allocations: 7.984 kB / 1.168 GB, free: 5.195 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.992e-05/0.4062, allocations: 47.84 kB / 1.168 GB, free: 5.148 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.4063, allocations: 12 kB / 1.168 GB, free: 5.137 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.774e-05/0.4064, allocations: 23.92 kB / 1.168 GB, free: 5.113 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.657e-05/0.4064, allocations: 19.91 kB / 1.168 GB, free: 5.094 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.031e-05/0.4065, allocations: 4 kB / 1.168 GB, free: 5.09 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 9.969e-06/0.4065, allocations: 4 kB / 1.168 GB, free: 5.086 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.37e-05/0.4065, allocations: 8 kB / 1.168 GB, free: 5.078 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.386e-05/0.4066, allocations: 23.84 kB / 1.168 GB, free: 5.055 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 9.568e-05/0.4067, allocations: 39.81 kB / 1.168 GB, free: 5.016 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.4067, allocations: 0 / 1.168 GB, free: 5.016 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.242e-06/0.4067, allocations: 0 / 1.168 GB, free: 5.016 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.561e-06/0.4067, allocations: 7.938 kB / 1.168 GB, free: 5.008 MB / 0.92 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.0005265/0.4072, allocations: 363.3 kB / 1.169 GB, free: 4.602 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.4073, allocations: 8.031 kB / 1.169 GB, free: 4.594 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.842e-05/0.4073, allocations: 8.875 kB / 1.169 GB, free: 4.586 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000129/0.4074, allocations: 164.4 kB / 1.169 GB, free: 4.387 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.4074, allocations: 4.375 kB / 1.169 GB, free: 4.383 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.249e-05/0.4075, allocations: 4.375 kB / 1.169 GB, free: 4.379 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002369/0.4077, allocations: 74.16 kB / 1.169 GB, free: 4.301 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.044e-06/0.4077, allocations: 192 / 1.169 GB, free: 4.301 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.4077, allocations: 3.938 kB / 1.169 GB, free: 4.297 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.4077, allocations: 3.984 kB / 1.169 GB, free: 4.293 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002777/0.408, allocations: 67.86 kB / 1.169 GB, free: 4.227 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003592/0.4084, allocations: 272.9 kB / 1.169 GB, free: 3.91 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001991/0.4086, allocations: 62.41 kB / 1.169 GB, free: 3.84 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001547/0.4088, allocations: 44.92 kB / 1.169 GB, free: 3.793 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.376e-05/0.4088, allocations: 0 / 1.169 GB, free: 3.793 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.134e-05/0.4088, allocations: 30.56 kB / 1.169 GB, free: 3.754 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 7.71e-07/0.4088, allocations: 4 kB / 1.169 GB, free: 3.75 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0005263/0.4094, allocations: 125.6 kB / 1.17 GB, free: 3.621 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.556e-05/0.4094, allocations: 51.41 kB / 1.17 GB, free: 3.559 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.103e-05/0.4095, allocations: 117.8 kB / 1.17 GB, free: 3.434 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.289e-05/0.4095, allocations: 29.7 kB / 1.17 GB, free: 3.398 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.028e-05/0.4096, allocations: 84.14 kB / 1.17 GB, free: 3.312 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.305e-05/0.4096, allocations: 19.88 kB / 1.17 GB, free: 3.293 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.29e-05/0.4096, allocations: 13.72 kB / 1.17 GB, free: 3.273 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.4097, allocations: 314.8 kB / 1.17 GB, free: 2.957 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001409/0.4099, allocations: 31.95 kB / 1.17 GB, free: 2.926 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000131/0.41, allocations: 31.97 kB / 1.17 GB, free: 2.895 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002626/0.4103, allocations: 68.78 kB / 1.17 GB, free: 2.824 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.4103, allocations: 3.938 kB / 1.17 GB, free: 2.82 MB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003284/0.4106, allocations: 101.6 kB / 1.17 GB, free: 2.715 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.4107, allocations: 4 kB / 1.17 GB, free: 2.711 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.4107, allocations: 3.938 kB / 1.17 GB, free: 2.707 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.4107, allocations: 0 / 1.17 GB, free: 2.707 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001231/0.4108, allocations: 15.98 kB / 1.17 GB, free: 2.691 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.4108, allocations: 0 / 1.17 GB, free: 2.691 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.755e-05/0.4109, allocations: 19.97 kB / 1.17 GB, free: 2.672 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.4109, allocations: 0 / 1.17 GB, free: 2.672 MB / 0.92 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 8.649e-05/0.411, allocations: 117.8 kB / 1.171 GB, free: 2.547 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.263e-05/0.411, allocations: 3.953 kB / 1.171 GB, free: 2.543 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.613e-05/0.4111, allocations: 7.906 kB / 1.171 GB, free: 2.527 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.4111, allocations: 4 kB / 1.171 GB, free: 2.523 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.4111, allocations: 3.938 kB / 1.171 GB, free: 2.52 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.4111, allocations: 0 / 1.171 GB, free: 2.52 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001842/0.4113, allocations: 173.6 kB / 1.171 GB, free: 2.301 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.4113, allocations: 0 / 1.171 GB, free: 2.301 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.041e-05/0.4114, allocations: 11.98 kB / 1.171 GB, free: 2.289 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.4114, allocations: 7.938 kB / 1.171 GB, free: 2.281 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-06/0.4114, allocations: 4 kB / 1.171 GB, free: 2.277 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.4114, allocations: 0 / 1.171 GB, free: 2.277 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.4114, allocations: 0 / 1.171 GB, free: 2.277 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003631/0.4118, allocations: 203.7 kB / 1.171 GB, free: 2.062 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.703e-05/0.4118, allocations: 85.06 kB / 1.171 GB, free: 1.961 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.535e-05/0.4119, allocations: 4 kB / 1.171 GB, free: 1.957 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.412, allocations: 7.984 kB / 1.171 GB, free: 1.949 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.319e-05/0.412, allocations: 7.984 kB / 1.171 GB, free: 1.941 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.447e-06/0.412, allocations: 0 / 1.171 GB, free: 1.941 MB / 0.92 GB Notification: Performance of sorting global known variables: time 3.972e-05/0.4121, allocations: 83.28 kB / 1.171 GB, free: 1.859 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4121, allocations: 4 kB / 1.171 GB, free: 1.855 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002155/0.4123, allocations: 7.938 kB / 1.171 GB, free: 1.848 MB / 0.92 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.0001373/0.4124, allocations: 103.2 kB / 1.171 GB, free: 1.738 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.000335/0.4128, allocations: 71.91 kB / 1.171 GB, free: 1.668 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.4128, allocations: 0 / 1.171 GB, free: 1.668 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001467/0.4129, allocations: 39.91 kB / 1.171 GB, free: 1.629 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003232/0.4133, allocations: 11.94 kB / 1.171 GB, free: 1.617 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003201/0.4136, allocations: 117.4 kB / 1.171 GB, free: 1.477 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000274/0.4139, allocations: 0.6807 MB / 1.172 GB, free: 0.7695 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 3.041e-05/0.4139, allocations: 0 / 1.172 GB, free: 0.7695 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.087e-05/0.414, allocations: 11.44 kB / 1.172 GB, free: 0.7578 MB / 0.92 GB Notification: Performance of SimCode: time 4e-07/0.414, allocations: 0 / 1.172 GB, free: 0.7578 MB / 0.92 GB Notification: Performance of Templates: time 0.002829/0.4168, allocations: 0.6736 MB / 1.173 GB, free: 96 kB / 0.92 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