Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001303/0.001303, allocations: 107.6 kB / 16.45 MB, free: 6.508 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.001773/0.001773, allocations: 200.5 kB / 19.41 MB, free: 3.66 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.454/1.454, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.566/2.566, allocations: 443.5 MB / 0.7287 GB, free: 13.26 MB / 0.5919 GB " [Timeout remaining time 177] 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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Add,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Add,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002182/0.002182, allocations: 63.91 kB / 1.056 GB, free: 5.875 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8543/0.8565, allocations: 160.7 MB / 1.213 GB, free: 3.875 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.002769/0.8592, allocations: 0.7902 MB / 1.214 GB, free: 3.277 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00171/0.8609, allocations: 0.8709 MB / 1.215 GB, free: 2.562 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001239/0.8611, allocations: 1.875 kB / 1.215 GB, free: 2.562 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.639e-05/0.8611, allocations: 3.938 kB / 1.215 GB, free: 2.559 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001249/0.8612, allocations: 8.906 kB / 1.215 GB, free: 2.551 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002423/0.8615, allocations: 43.25 kB / 1.215 GB, free: 2.516 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002021/0.8617, allocations: 81.64 kB / 1.215 GB, free: 2.469 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001428/0.8618, allocations: 23.05 kB / 1.215 GB, free: 2.453 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001284/0.862, allocations: 41.95 kB / 1.215 GB, free: 2.426 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001093/0.8621, allocations: 44.39 kB / 1.215 GB, free: 2.395 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.683e-05/0.8621, allocations: 8.5 kB / 1.215 GB, free: 2.395 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.984e-05/0.8621, allocations: 11.66 kB / 1.215 GB, free: 2.391 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.204e-05/0.8622, allocations: 30.88 kB / 1.215 GB, free: 2.363 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.071e-05/0.8622, allocations: 30.17 kB / 1.215 GB, free: 2.34 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001749/0.8624, allocations: 89.33 kB / 1.215 GB, free: 2.27 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.8624, allocations: 0 / 1.215 GB, free: 2.27 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.255e-06/0.8624, allocations: 1.125 kB / 1.215 GB, free: 2.27 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.155e-05/0.8624, allocations: 0 / 1.215 GB, free: 2.27 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007508/0.8632, allocations: 395.1 kB / 1.215 GB, free: 1.867 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.8632, allocations: 13.78 kB / 1.215 GB, free: 1.863 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.701e-05/0.8633, allocations: 36.91 kB / 1.215 GB, free: 1.82 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.659e-05/0.8633, allocations: 13.25 kB / 1.215 GB, free: 1.812 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001963/0.8635, allocations: 176.3 kB / 1.216 GB, free: 1.605 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.323e-05/0.8635, allocations: 6.969 kB / 1.216 GB, free: 1.602 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.38e-05/0.8635, allocations: 8.594 kB / 1.216 GB, free: 1.598 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003362/0.8639, allocations: 104.4 kB / 1.216 GB, free: 1.523 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.8639, allocations: 0 / 1.216 GB, free: 1.523 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.8639, allocations: 5.031 kB / 1.216 GB, free: 1.52 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.8639, allocations: 1.031 kB / 1.216 GB, free: 1.52 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003723/0.8643, allocations: 99.45 kB / 1.216 GB, free: 1.473 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006754/0.865, allocations: 346.6 kB / 1.216 GB, free: 1.121 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006341/0.8656, allocations: 116 kB / 1.216 GB, free: 1.051 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001999/0.8658, allocations: 60.48 kB / 1.216 GB, free: 1.016 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.374e-05/0.8658, allocations: 0.8438 kB / 1.216 GB, free: 1.016 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.394e-05/0.8659, allocations: 39.34 kB / 1.216 GB, free: 0.9688 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.553e-06/0.8659, allocations: 0 / 1.216 GB, free: 0.9688 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0007228/0.8666, allocations: 184.1 kB / 1.216 GB, free: 0.8633 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.197e-05/0.8666, allocations: 52.78 kB / 1.217 GB, free: 0.8008 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001296/0.8668, allocations: 129.5 kB / 1.217 GB, free: 0.6797 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.05e-05/0.8668, allocations: 29.7 kB / 1.217 GB, free: 0.6445 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.496e-05/0.8668, allocations: 95.38 kB / 1.217 GB, free: 0.5508 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.1e-05/0.8669, allocations: 19.22 kB / 1.217 GB, free: 0.5352 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.998e-05/0.8669, allocations: 27.92 kB / 1.217 GB, free: 0.5078 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.8671, allocations: 312.4 kB / 1.217 GB, free: 200 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001868/0.8673, allocations: 44.33 kB / 1.217 GB, free: 180 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001778/0.8674, allocations: 51.7 kB / 1.217 GB, free: 152 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003402/0.8678, allocations: 97.98 kB / 1.217 GB, free: 100 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.8678, allocations: 3.938 kB / 1.217 GB, free: 96 kB / 0.92 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004209/0.8682, allocations: 140.6 kB / 1.217 GB, free: 8 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.437e-05/0.8682, allocations: 9.953 kB / 1.217 GB, free: 4 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.8682, allocations: 0 / 1.217 GB, free: 4 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.8683, allocations: 0 / 1.217 GB, free: 4 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002014/0.8685, allocations: 23.97 kB / 1.217 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.871e-05/0.8685, allocations: 9.547 kB / 1.217 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000132/0.8686, allocations: 19.3 kB / 1.217 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/0.8686, allocations: 1.594 kB / 1.217 GB, free: 15.98 MB / 0.9356 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 0.0001127/0.8687, allocations: 122.2 kB / 1.218 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.749e-05/0.8688, allocations: 6.578 kB / 1.218 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.501e-05/0.8688, allocations: 13.64 kB / 1.218 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.8688, allocations: 1.312 kB / 1.218 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.974e-06/0.8688, allocations: 3.938 kB / 1.218 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.8688, allocations: 1.094 kB / 1.218 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003216/0.8691, allocations: 199.2 kB / 1.218 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.8691, allocations: 0 / 1.218 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001552/0.8693, allocations: 24.66 kB / 1.218 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.8693, allocations: 7.938 kB / 1.218 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.8693, allocations: 1.75 kB / 1.218 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.8693, allocations: 0 / 1.218 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.8693, allocations: 5.094 kB / 1.218 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000471/0.8698, allocations: 242.8 kB / 1.218 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.978e-05/0.8698, allocations: 82.78 kB / 1.218 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.899e-05/0.8699, allocations: 1.062 kB / 1.218 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001414/0.87, allocations: 15.41 kB / 1.218 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.802e-05/0.8701, allocations: 26.28 kB / 1.218 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.106e-05/0.8701, allocations: 6.219 kB / 1.218 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.481e-05/0.8702, allocations: 93.61 kB / 1.218 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/0.8702, allocations: 0 / 1.218 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002435/0.8704, allocations: 11.72 kB / 1.218 GB, free: 15.18 MB / 0.9356 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.0008732/0.8713, allocations: 0.7763 MB / 1.219 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004177/0.8717, allocations: 105.2 kB / 1.219 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.8717, allocations: 0 / 1.219 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001975/0.8719, allocations: 61.62 kB / 1.219 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000357/0.8723, allocations: 15.22 kB / 1.219 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002336/0.8746, allocations: 1.547 MB / 1.221 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003352/0.8749, allocations: 0.6898 MB / 1.221 GB, free: 12.28 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 6.989e-05/0.875, allocations: 10.22 kB / 1.221 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.381e-05/0.8751, allocations: 30.77 kB / 1.221 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of SimCode: time 6.92e-07/0.8751, allocations: 4 kB / 1.221 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02571/0.9008, allocations: 2.703 MB / 1.224 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.182/9.083, allocations: 10.83 kB / 1.224 GB, free: 10.82 MB / 0.9356 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_Add_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_Add.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_Add.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.067229787819088]