Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) 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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Add,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Add,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001099/0.001104, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.305/1.305, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.473/2.473, allocations: 461.9 MB / 0.7346 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 65.66 kB / 0.8992 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2414/0.2426, allocations: 157.4 MB / 1.053 GB, free: 8.234 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.001697/0.2444, allocations: 0.7793 MB / 1.054 GB, free: 7.453 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0007459/0.2451, allocations: 0.8701 MB / 1.055 GB, free: 6.57 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.743e-05/0.2452, allocations: 0 / 1.055 GB, free: 6.57 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.877e-05/0.2452, allocations: 3.938 kB / 1.055 GB, free: 6.566 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.405e-05/0.2453, allocations: 19.86 kB / 1.055 GB, free: 6.547 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001278/0.2454, allocations: 31.95 kB / 1.055 GB, free: 6.516 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.905e-05/0.2455, allocations: 83.83 kB / 1.055 GB, free: 6.434 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.2456, allocations: 31.92 kB / 1.055 GB, free: 6.402 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.687e-05/0.2457, allocations: 43.83 kB / 1.055 GB, free: 6.359 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.669e-05/0.2458, allocations: 43.83 kB / 1.055 GB, free: 6.316 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.485e-05/0.2458, allocations: 8 kB / 1.055 GB, free: 6.309 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.618e-05/0.2458, allocations: 8 kB / 1.055 GB, free: 6.301 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.621e-05/0.2458, allocations: 23.91 kB / 1.055 GB, free: 6.277 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.005e-05/0.2459, allocations: 43.73 kB / 1.055 GB, free: 6.234 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.539e-05/0.246, allocations: 75.72 kB / 1.055 GB, free: 6.16 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.246, allocations: 4 kB / 1.055 GB, free: 6.156 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.212e-06/0.246, allocations: 0 / 1.055 GB, free: 6.156 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.947e-06/0.246, allocations: 7.938 kB / 1.055 GB, free: 6.148 MB / 0.8106 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.0005207/0.2465, allocations: 396.5 kB / 1.055 GB, free: 5.715 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.015e-05/0.2466, allocations: 8.625 kB / 1.055 GB, free: 5.707 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.37e-05/0.2466, allocations: 38.75 kB / 1.055 GB, free: 5.66 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.914e-05/0.2466, allocations: 8.844 kB / 1.055 GB, free: 5.652 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001062/0.2467, allocations: 176.2 kB / 1.056 GB, free: 5.441 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.2468, allocations: 384 / 1.056 GB, free: 5.441 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.423e-05/0.2468, allocations: 8.375 kB / 1.056 GB, free: 5.434 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002712/0.2471, allocations: 117.5 kB / 1.056 GB, free: 5.312 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.2471, allocations: 0 / 1.056 GB, free: 5.312 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.2471, allocations: 0 / 1.056 GB, free: 5.312 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.2471, allocations: 4 kB / 1.056 GB, free: 5.309 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003438/0.2474, allocations: 99.89 kB / 1.056 GB, free: 5.211 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004283/0.2479, allocations: 336.7 kB / 1.056 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000557/0.2484, allocations: 126.5 kB / 1.056 GB, free: 4.699 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001801/0.2486, allocations: 60.8 kB / 1.056 GB, free: 4.637 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.705e-05/0.2487, allocations: 4 kB / 1.056 GB, free: 4.633 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.727e-05/0.2487, allocations: 34.55 kB / 1.056 GB, free: 4.59 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.2487, allocations: 0 / 1.056 GB, free: 4.59 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0005992/0.2493, allocations: 189.4 kB / 1.056 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.803e-05/0.2493, allocations: 51.41 kB / 1.057 GB, free: 4.336 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.968e-05/0.2494, allocations: 129.7 kB / 1.057 GB, free: 4.199 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.435e-05/0.2494, allocations: 29.7 kB / 1.057 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.047e-05/0.2495, allocations: 95.98 kB / 1.057 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.158e-05/0.2495, allocations: 15.8 kB / 1.057 GB, free: 4.051 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.405e-05/0.2496, allocations: 29.7 kB / 1.057 GB, free: 4.016 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.181e-05/0.2496, allocations: 314.8 kB / 1.057 GB, free: 3.699 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001718/0.2498, allocations: 43.95 kB / 1.057 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001616/0.25, allocations: 47.95 kB / 1.057 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003206/0.2503, allocations: 100.8 kB / 1.057 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.2503, allocations: 0 / 1.057 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003936/0.2507, allocations: 137.4 kB / 1.057 GB, free: 3.367 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 9.988e-06/0.2507, allocations: 4 kB / 1.057 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.2507, allocations: 0 / 1.057 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.2508, allocations: 7.984 kB / 1.057 GB, free: 3.355 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001546/0.2509, allocations: 27.97 kB / 1.057 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.2509, allocations: 0 / 1.057 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001066/0.251, allocations: 15.92 kB / 1.057 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.157e-06/0.2511, allocations: 4 kB / 1.057 GB, free: 3.309 MB / 0.8106 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 6.812e-05/0.2511, allocations: 109.8 kB / 1.058 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.975e-05/0.2512, allocations: 7.906 kB / 1.058 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.391e-05/0.2512, allocations: 20.36 kB / 1.058 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.2512, allocations: 3.938 kB / 1.058 GB, free: 3.16 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.2512, allocations: 4 kB / 1.058 GB, free: 3.156 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.2512, allocations: 3.938 kB / 1.058 GB, free: 3.152 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001739/0.2514, allocations: 201.5 kB / 1.058 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.2514, allocations: 3.938 kB / 1.058 GB, free: 2.902 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001446/0.2516, allocations: 23.97 kB / 1.058 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.2516, allocations: 0 / 1.058 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.2516, allocations: 4 kB / 1.058 GB, free: 2.875 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.2516, allocations: 0 / 1.058 GB, free: 2.875 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.2516, allocations: 4 kB / 1.058 GB, free: 2.871 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004159/0.252, allocations: 235.3 kB / 1.058 GB, free: 2.625 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.465e-05/0.252, allocations: 88.95 kB / 1.058 GB, free: 2.52 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.736e-05/0.2521, allocations: 0 / 1.058 GB, free: 2.52 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001358/0.2522, allocations: 19.98 kB / 1.058 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.065e-05/0.2523, allocations: 27.91 kB / 1.058 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.652e-06/0.2523, allocations: 0 / 1.058 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.788e-05/0.2523, allocations: 103.6 kB / 1.058 GB, free: 2.371 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2523, allocations: 0 / 1.058 GB, free: 2.371 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002157/0.2526, allocations: 16 kB / 1.058 GB, free: 2.355 MB / 0.8106 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.0006452/0.2532, allocations: 0.7676 MB / 1.059 GB, free: 1.562 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003763/0.2536, allocations: 104 kB / 1.059 GB, free: 1.461 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.2536, allocations: 8 kB / 1.059 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001888/0.2538, allocations: 64.08 kB / 1.059 GB, free: 1.391 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002546/0.2541, allocations: 13.66 kB / 1.059 GB, free: 1.379 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001796/0.2559, allocations: 1.526 MB / 1.061 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001947/0.2561, allocations: 0.6963 MB / 1.061 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.078e-05/0.2561, allocations: 4 kB / 1.061 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.878e-05/0.2562, allocations: 35.41 kB / 1.061 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.2562, allocations: 4 kB / 1.061 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.645/1.902, allocations: 2.66 MB / 1.064 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.661/11.56, allocations: 14.05 kB / 1.064 GB, free: 12.42 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Add_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Add.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Add.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches