Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 109 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.298/1.298, allocations: 225.6 MB / 249.3 MB, free: 3.18 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.51/2.51, allocations: 476.7 MB / 0.7628 GB, free: 15.28 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Add,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Add,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001838/0.001838, allocations: 71.89 kB / 1.107 GB, free: 5.148 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7972/0.7991, allocations: 168.7 MB / 1.271 GB, free: 7.727 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.001707/0.8008, allocations: 0.7955 MB / 1.272 GB, free: 7.227 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0007961/0.8016, allocations: 0.8645 MB / 1.273 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.909e-05/0.8016, allocations: 0.9062 kB / 1.273 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.765e-05/0.8017, allocations: 5.953 kB / 1.273 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.889e-05/0.8017, allocations: 14.03 kB / 1.273 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001596/0.8019, allocations: 41.39 kB / 1.273 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001145/0.802, allocations: 87.73 kB / 1.273 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.8021, allocations: 22.59 kB / 1.273 GB, free: 6.488 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.74e-05/0.8022, allocations: 40.17 kB / 1.273 GB, free: 6.469 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.958e-05/0.8023, allocations: 52.52 kB / 1.273 GB, free: 6.441 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.87e-05/0.8023, allocations: 8.125 kB / 1.273 GB, free: 6.441 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.945e-05/0.8023, allocations: 8.219 kB / 1.273 GB, free: 6.441 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.823e-05/0.8024, allocations: 19.8 kB / 1.273 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.334e-05/0.8024, allocations: 31.53 kB / 1.273 GB, free: 6.41 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001345/0.8025, allocations: 91.64 kB / 1.273 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.8025, allocations: 0 / 1.273 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.746e-06/0.8025, allocations: 4.016 kB / 1.273 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.8025, allocations: 0 / 1.273 GB, free: 6.371 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005239/0.8031, allocations: 392.1 kB / 1.274 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.8031, allocations: 9.438 kB / 1.274 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.85e-05/0.8031, allocations: 42.53 kB / 1.274 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.328e-05/0.8032, allocations: 9.047 kB / 1.274 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.568e-05/0.8033, allocations: 182.1 kB / 1.274 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.8e-05/0.8033, allocations: 7.156 kB / 1.274 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.925e-05/0.8033, allocations: 7.625 kB / 1.274 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002887/0.8036, allocations: 105.3 kB / 1.274 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.8036, allocations: 0 / 1.274 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.8036, allocations: 5.094 kB / 1.274 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.421e-06/0.8036, allocations: 0.9062 kB / 1.274 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003616/0.804, allocations: 92.86 kB / 1.274 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004155/0.8044, allocations: 349.2 kB / 1.275 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005861/0.805, allocations: 111.2 kB / 1.275 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001915/0.8052, allocations: 65.52 kB / 1.275 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.964e-05/0.8052, allocations: 13.05 kB / 1.275 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.05e-05/0.8052, allocations: 31.47 kB / 1.275 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/0.8052, allocations: 0 / 1.275 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0006242/0.8058, allocations: 182.4 kB / 1.275 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.921e-05/0.8059, allocations: 57.06 kB / 1.275 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.263e-05/0.8059, allocations: 125.8 kB / 1.275 GB, free: 4.973 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.096e-05/0.8059, allocations: 26.67 kB / 1.275 GB, free: 4.941 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.146e-05/0.806, allocations: 94.69 kB / 1.275 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.11e-05/0.806, allocations: 21.31 kB / 1.275 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.301e-05/0.806, allocations: 24.7 kB / 1.275 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.835e-05/0.8061, allocations: 312.8 kB / 1.276 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001819/0.8062, allocations: 56.25 kB / 1.276 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001736/0.8064, allocations: 43.89 kB / 1.276 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003433/0.8068, allocations: 97.05 kB / 1.276 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.8068, allocations: 0.8125 kB / 1.276 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004025/0.8072, allocations: 144.1 kB / 1.276 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.8072, allocations: 4.906 kB / 1.276 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.8072, allocations: 1 kB / 1.276 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.8072, allocations: 0 / 1.276 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001626/0.8074, allocations: 26.45 kB / 1.276 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.179e-06/0.8074, allocations: 4.625 kB / 1.276 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000111/0.8075, allocations: 25.33 kB / 1.276 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.8075, allocations: 2.938 kB / 1.276 GB, free: 4.363 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (reaToInt1.y,reaToInt.y,add1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 5.573e-05/0.8075, allocations: 113.2 kB / 1.276 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.198e-05/0.8076, allocations: 8.578 kB / 1.276 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.629e-05/0.8076, allocations: 10.53 kB / 1.276 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.8076, allocations: 0.6875 kB / 1.276 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.8076, allocations: 4.781 kB / 1.276 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.8076, allocations: 1.078 kB / 1.276 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001514/0.8078, allocations: 202.2 kB / 1.276 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.8078, allocations: 0 / 1.276 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001571/0.8079, allocations: 24.36 kB / 1.276 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.8079, allocations: 4.562 kB / 1.276 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.383e-05/0.8079, allocations: 13.22 kB / 1.276 GB, free: 4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.8079, allocations: 0 / 1.276 GB, free: 4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.8079, allocations: 3.938 kB / 1.276 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004247/0.8084, allocations: 234.5 kB / 1.277 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.326e-05/0.8084, allocations: 85.83 kB / 1.277 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.805e-05/0.8084, allocations: 0.875 kB / 1.277 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001387/0.8085, allocations: 14.72 kB / 1.277 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.724e-05/0.8086, allocations: 24.31 kB / 1.277 GB, free: 3.723 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.877e-06/0.8086, allocations: 3.656 kB / 1.277 GB, free: 3.723 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.73e-05/0.8087, allocations: 100.9 kB / 1.277 GB, free: 3.637 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.8087, allocations: 0 / 1.277 GB, free: 3.637 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002217/0.8089, allocations: 11.91 kB / 1.277 GB, free: 3.637 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (add1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0006172/0.8095, allocations: 0.7747 MB / 1.278 GB, free: 2.945 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004058/0.8099, allocations: 105.2 kB / 1.278 GB, free: 2.922 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.8099, allocations: 1.156 kB / 1.278 GB, free: 2.922 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002014/0.8101, allocations: 62.88 kB / 1.278 GB, free: 2.906 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003019/0.8104, allocations: 14.03 kB / 1.278 GB, free: 2.898 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001782/0.8122, allocations: 1.537 MB / 1.279 GB, free: 17.62 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002834/0.8125, allocations: 0.6934 MB / 1.28 GB, free: 16.92 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 6.153e-05/0.8125, allocations: 11.33 kB / 1.28 GB, free: 16.91 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.463e-05/0.8126, allocations: 32.88 kB / 1.28 GB, free: 16.89 MB / 1.014 GB Notification: Performance of SimCode: time 4.11e-07/0.8126, allocations: 0 / 1.28 GB, free: 16.89 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02415/0.8368, allocations: 2.715 MB / 1.283 GB, free: 16.45 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.89/7.726, allocations: 3.078 kB / 1.283 GB, free: 16.45 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Add_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Add.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_Add.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,add1.u1,add1.u2,add1.y Variables in the result:add1.u1,add1.u2,add1.y,ramp1.duration,ramp1.height,ramp1.offset,ramp1.startTime,ramp1.y,ramp2.duration,ramp2.height,ramp2.offset,ramp2.startTime,ramp2.y,reaToInt.u,reaToInt.y,reaToInt1.u,reaToInt1.y,round1.n,round1.u,round1.y,round2.n,round2.u,round2.y,time [Calling sys.exit(0), Time elapsed: 13.035514148000402]