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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001144/0.001144, allocations: 116.8 kB / 16.42 MB, free: 6.492 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.001293/0.001294, allocations: 186.6 kB / 17.35 MB, free: 5.762 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.526/1.526, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.78/2.78, allocations: 469.4 MB / 0.7428 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001548/0.001548, allocations: 67.89 kB / 1.066 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.104/1.105, allocations: 159.1 MB / 1.221 GB, free: 2.34 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Add): time 0.002436/1.108, allocations: 0.7033 MB / 1.222 GB, free: 1.637 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001211/1.109, allocations: 0.8001 MB / 1.222 GB, free: 0.8242 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.155e-05/1.109, allocations: 0 / 1.222 GB, free: 0.8242 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.077e-05/1.109, allocations: 3.938 kB / 1.222 GB, free: 0.8203 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.875e-05/1.109, allocations: 7.938 kB / 1.222 GB, free: 0.8125 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 6.445e-05/1.109, allocations: 7.984 kB / 1.222 GB, free: 0.8047 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 9.447e-05/1.109, allocations: 55.78 kB / 1.222 GB, free: 0.75 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001244/1.109, allocations: 11.98 kB / 1.222 GB, free: 0.7383 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 9.013e-05/1.109, allocations: 19.98 kB / 1.223 GB, free: 0.7188 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.412e-05/1.11, allocations: 15.92 kB / 1.223 GB, free: 0.7031 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.812e-05/1.11, allocations: 7.938 kB / 1.223 GB, free: 0.6953 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.04e-05/1.11, allocations: 4 kB / 1.223 GB, free: 0.6914 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.223e-05/1.11, allocations: 7.984 kB / 1.223 GB, free: 0.6836 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.014e-05/1.11, allocations: 15.94 kB / 1.223 GB, free: 0.668 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001088/1.11, allocations: 43.8 kB / 1.223 GB, free: 0.625 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.343e-06/1.11, allocations: 0 / 1.223 GB, free: 0.625 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.715e-06/1.11, allocations: 4 kB / 1.223 GB, free: 0.6211 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.847e-06/1.11, allocations: 0 / 1.223 GB, free: 0.6211 MB / 0.9356 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.0006699/1.11, allocations: 367.1 kB / 1.223 GB, free: 220 kB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.623e-05/1.111, allocations: 8.625 kB / 1.223 GB, free: 212 kB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.32e-05/1.111, allocations: 4.938 kB / 1.223 GB, free: 208 kB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001574/1.111, allocations: 178 kB / 1.223 GB, free: 15.99 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/1.111, allocations: 4.375 kB / 1.223 GB, free: 15.99 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.423e-05/1.111, allocations: 384 / 1.223 GB, free: 15.99 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002835/1.111, allocations: 78.2 kB / 1.223 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/1.111, allocations: 192 / 1.223 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/1.111, allocations: 3.938 kB / 1.223 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/1.111, allocations: 0 / 1.223 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002927/1.111, allocations: 63.92 kB / 1.223 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003869/1.112, allocations: 260.9 kB / 1.224 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002146/1.112, allocations: 66.45 kB / 1.224 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001618/1.112, allocations: 44.91 kB / 1.224 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.428e-05/1.112, allocations: 0 / 1.224 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.649e-05/1.112, allocations: 38.56 kB / 1.224 GB, free: 15.37 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 1.282e-06/1.112, allocations: 0 / 1.224 GB, free: 15.37 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0005641/1.113, allocations: 125.5 kB / 1.224 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.535e-05/1.113, allocations: 55.41 kB / 1.224 GB, free: 15.17 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.904e-05/1.113, allocations: 109.8 kB / 1.224 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.381e-05/1.113, allocations: 25.7 kB / 1.224 GB, free: 15.02 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.8e-05/1.113, allocations: 92.12 kB / 1.224 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.329e-05/1.113, allocations: 7.844 kB / 1.224 GB, free: 14.92 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.811e-05/1.113, allocations: 17.72 kB / 1.224 GB, free: 14.9 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000129/1.113, allocations: 314.8 kB / 1.224 GB, free: 14.58 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001473/1.113, allocations: 35.97 kB / 1.224 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000137/1.114, allocations: 31.97 kB / 1.224 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000274/1.114, allocations: 68.72 kB / 1.225 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/1.114, allocations: 4 kB / 1.225 GB, free: 14.44 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000333/1.114, allocations: 105.4 kB / 1.225 GB, free: 14.33 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/1.114, allocations: 8 kB / 1.225 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/1.114, allocations: 0 / 1.225 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/1.114, allocations: 3.984 kB / 1.225 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001359/1.114, allocations: 19.98 kB / 1.225 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/1.114, allocations: 0 / 1.225 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.607e-05/1.114, allocations: 7.984 kB / 1.225 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.947e-06/1.115, allocations: 8 kB / 1.225 GB, free: 14.29 MB / 0.9512 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 7.612e-05/1.115, allocations: 109.8 kB / 1.225 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.804e-05/1.115, allocations: 4 kB / 1.225 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.124e-05/1.115, allocations: 11.89 kB / 1.225 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/1.115, allocations: 0 / 1.225 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/1.115, allocations: 0 / 1.225 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.21e-05/1.115, allocations: 81.02 kB / 1.225 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.387e-05/1.115, allocations: 4 kB / 1.225 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001361/1.115, allocations: 11.98 kB / 1.225 GB, free: 14.03 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.054e-05/1.115, allocations: 19.86 kB / 1.225 GB, free: 14.01 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004159/1.115, allocations: 180.8 kB / 1.225 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003945/1.116, allocations: 271.1 kB / 1.225 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001545/1.116, allocations: 36 kB / 1.225 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.69e-05/1.116, allocations: 87.27 kB / 1.225 GB, free: 13.42 MB / 0.9512 GB Notification: Performance of Backend: time 3.91e-07/1.116, allocations: 0 / 1.225 GB, free: 13.42 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005151/1.117, allocations: 122.3 kB / 1.226 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0006241/1.117, allocations: 0.5804 MB / 1.226 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of Templates: time 0.003632/1.121, allocations: 0.8499 MB / 1.227 GB, free: 11.83 MB / 0.9512 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches