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) 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.1.0-maint.11.x/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001334/0.001334, 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.001367/0.001367, allocations: 198.5 kB / 16.54 MB, free: 6.672 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.335/1.335, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.519/2.519, allocations: 469.8 MB / 0.7424 GB, free: 7.355 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001732/0.001732, allocations: 69.86 kB / 0.9087 GB, free: 34.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2458/0.2475, allocations: 159.2 MB / 1.064 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.001809/0.2494, allocations: 0.7812 MB / 1.065 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008728/0.2503, allocations: 0.868 MB / 1.066 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.012e-05/0.2503, allocations: 0 / 1.066 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.66e-05/0.2503, allocations: 3.938 kB / 1.066 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.223e-05/0.2504, allocations: 15.86 kB / 1.066 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001331/0.2506, allocations: 39.95 kB / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001025/0.2507, allocations: 79.83 kB / 1.066 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.2508, allocations: 27.97 kB / 1.066 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.228e-05/0.2509, allocations: 39.84 kB / 1.066 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.656e-05/0.251, allocations: 51.81 kB / 1.066 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.18e-05/0.251, allocations: 8 kB / 1.066 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.552e-05/0.251, allocations: 8 kB / 1.066 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.859e-05/0.251, allocations: 23.92 kB / 1.066 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.235e-05/0.2511, allocations: 31.8 kB / 1.066 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001143/0.2512, allocations: 87.66 kB / 1.066 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.2512, allocations: 0 / 1.066 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.503e-06/0.2512, allocations: 0 / 1.066 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.038e-06/0.2512, allocations: 0 / 1.066 GB, free: 12.08 MB / 0.8262 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.0005851/0.2518, allocations: 395.5 kB / 1.066 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.2519, allocations: 12.03 kB / 1.066 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.433e-05/0.2519, allocations: 34.75 kB / 1.067 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.079e-05/0.2519, allocations: 8.844 kB / 1.067 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001439/0.2521, allocations: 180.2 kB / 1.067 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/0.2521, allocations: 8.375 kB / 1.067 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.572e-05/0.2521, allocations: 4.375 kB / 1.067 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002817/0.2524, allocations: 113.5 kB / 1.067 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.2524, allocations: 0 / 1.067 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.2524, allocations: 0 / 1.067 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.636e-06/0.2524, allocations: 0 / 1.067 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003452/0.2528, allocations: 95.91 kB / 1.067 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005012/0.2533, allocations: 348.7 kB / 1.067 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005742/0.2539, allocations: 122.5 kB / 1.067 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001901/0.2541, allocations: 60.81 kB / 1.067 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.464e-05/0.2541, allocations: 3.984 kB / 1.067 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.221e-05/0.2541, allocations: 34.56 kB / 1.067 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 2.816e-06/0.2541, allocations: 7.922 kB / 1.067 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0006288/0.2548, allocations: 185.4 kB / 1.068 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.256e-05/0.2548, allocations: 55.41 kB / 1.068 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.2549, allocations: 129.7 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.255, allocations: 29.7 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.47e-05/0.255, allocations: 91.98 kB / 1.068 GB, free: 9.992 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.5e-05/0.2551, allocations: 19.8 kB / 1.068 GB, free: 9.973 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.542e-05/0.2551, allocations: 21.72 kB / 1.068 GB, free: 9.945 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.2552, allocations: 322.8 kB / 1.068 GB, free: 9.621 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001759/0.2554, allocations: 43.95 kB / 1.068 GB, free: 9.578 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001639/0.2556, allocations: 43.95 kB / 1.068 GB, free: 9.535 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003326/0.2559, allocations: 105.2 kB / 1.068 GB, free: 9.43 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.2559, allocations: 4 kB / 1.068 GB, free: 9.426 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003971/0.2563, allocations: 133.4 kB / 1.069 GB, free: 9.289 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.2564, allocations: 6.031 kB / 1.069 GB, free: 9.285 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.296e-06/0.2564, allocations: 4 kB / 1.069 GB, free: 9.281 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.2564, allocations: 0 / 1.069 GB, free: 9.281 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001547/0.2565, allocations: 27.97 kB / 1.069 GB, free: 9.254 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.2566, allocations: 4 kB / 1.069 GB, free: 9.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001098/0.2567, allocations: 19.91 kB / 1.069 GB, free: 9.23 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.635e-06/0.2567, allocations: 0 / 1.069 GB, free: 9.23 MB / 0.8262 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 8.753e-05/0.2568, allocations: 113.8 kB / 1.069 GB, free: 9.109 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.09e-05/0.2568, allocations: 7.906 kB / 1.069 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.193e-05/0.2568, allocations: 8.375 kB / 1.069 GB, free: 9.094 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.2568, allocations: 7.984 kB / 1.069 GB, free: 9.086 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.2568, allocations: 0 / 1.069 GB, free: 9.086 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.2569, allocations: 7.938 kB / 1.069 GB, free: 9.078 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001957/0.2571, allocations: 193.6 kB / 1.069 GB, free: 8.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.2571, allocations: 0 / 1.069 GB, free: 8.84 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001495/0.2572, allocations: 31.91 kB / 1.069 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.2572, allocations: 4 kB / 1.069 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.2572, allocations: 3.984 kB / 1.069 GB, free: 8.801 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.2573, allocations: 0 / 1.069 GB, free: 8.801 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.2573, allocations: 0 / 1.069 GB, free: 8.801 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004348/0.2577, allocations: 239.3 kB / 1.069 GB, free: 8.551 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.378e-05/0.2577, allocations: 88.95 kB / 1.069 GB, free: 8.445 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.8e-05/0.2578, allocations: 4 kB / 1.069 GB, free: 8.441 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001307/0.2579, allocations: 11.98 kB / 1.069 GB, free: 8.43 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.984e-05/0.258, allocations: 23.91 kB / 1.069 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.778e-06/0.258, allocations: 12 kB / 1.069 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.698e-05/0.2581, allocations: 95.64 kB / 1.069 GB, free: 8.301 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2581, allocations: 0 / 1.069 GB, free: 8.301 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002121/0.2583, allocations: 19.94 kB / 1.069 GB, free: 8.281 MB / 0.8262 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.0007379/0.259, allocations: 0.7709 MB / 1.07 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003959/0.2594, allocations: 107.8 kB / 1.07 GB, free: 7.379 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.2594, allocations: 0 / 1.07 GB, free: 7.379 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001933/0.2596, allocations: 63.95 kB / 1.07 GB, free: 7.316 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002647/0.2599, allocations: 15.92 kB / 1.07 GB, free: 7.301 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001918/0.2618, allocations: 1.527 MB / 1.072 GB, free: 5.695 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002675/0.2621, allocations: 0.6885 MB / 1.073 GB, free: 4.98 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.208e-05/0.2622, allocations: 12 kB / 1.073 GB, free: 4.969 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.218e-05/0.2623, allocations: 31.42 kB / 1.073 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.2623, allocations: 0 / 1.073 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.586/1.848, allocations: 2.655 MB / 1.075 GB, free: 2.355 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.68/15.53, allocations: 13.55 kB / 1.075 GB, free: 2.344 MB / 0.8262 GB (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) 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) Reference file matches