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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.004107/0.004108, allocations: 99.8 kB / 15.73 MB, free: 6.004 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.001177/0.001177, allocations: 193 kB / 16.67 MB, free: 5.934 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.254/1.254, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.476/2.476, allocations: 482.6 MB / 0.7551 GB, free: 6.621 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001762/0.001762, allocations: 69.59 kB / 1.083 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2579/0.2597, allocations: 162.3 MB / 1.242 GB, free: 8.906 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.001653/0.2614, allocations: 0.7821 MB / 1.243 GB, free: 8.125 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0008631/0.2623, allocations: 0.8584 MB / 1.243 GB, free: 7.254 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.747e-05/0.2623, allocations: 4 kB / 1.243 GB, free: 7.25 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.774e-05/0.2624, allocations: 3.938 kB / 1.243 GB, free: 7.246 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.315e-05/0.2624, allocations: 19.86 kB / 1.243 GB, free: 7.227 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001313/0.2626, allocations: 31.95 kB / 1.244 GB, free: 7.195 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001139/0.2627, allocations: 91.75 kB / 1.244 GB, free: 7.105 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.2628, allocations: 27.98 kB / 1.244 GB, free: 7.078 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.679e-05/0.2629, allocations: 31.92 kB / 1.244 GB, free: 7.047 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.785e-05/0.263, allocations: 47.81 kB / 1.244 GB, free: 7 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.16e-05/0.263, allocations: 8 kB / 1.244 GB, free: 6.992 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.759e-05/0.263, allocations: 8 kB / 1.244 GB, free: 6.984 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.873e-05/0.263, allocations: 23.91 kB / 1.244 GB, free: 6.961 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.776e-05/0.2631, allocations: 39.72 kB / 1.244 GB, free: 6.922 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000119/0.2632, allocations: 87.94 kB / 1.244 GB, free: 6.836 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.279e-06/0.2632, allocations: 4 kB / 1.244 GB, free: 6.832 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.022e-06/0.2632, allocations: 7.875 kB / 1.244 GB, free: 6.824 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.2632, allocations: 0 / 1.244 GB, free: 6.824 MB / 0.9669 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.0005747/0.2638, allocations: 399.1 kB / 1.244 GB, free: 6.387 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.109e-05/0.2639, allocations: 8.031 kB / 1.244 GB, free: 6.379 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.626e-05/0.2639, allocations: 38.75 kB / 1.244 GB, free: 6.332 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.783e-05/0.2639, allocations: 8.891 kB / 1.244 GB, free: 6.324 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001405/0.2641, allocations: 180.2 kB / 1.244 GB, free: 6.109 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.2641, allocations: 384 / 1.244 GB, free: 6.109 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.625e-05/0.2641, allocations: 12.12 kB / 1.245 GB, free: 6.098 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002793/0.2644, allocations: 105.6 kB / 1.245 GB, free: 5.988 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-06/0.2644, allocations: 0 / 1.245 GB, free: 5.988 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.2644, allocations: 0 / 1.245 GB, free: 5.988 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.2644, allocations: 4 kB / 1.245 GB, free: 5.984 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003497/0.2648, allocations: 95.91 kB / 1.245 GB, free: 5.891 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004788/0.2653, allocations: 348.6 kB / 1.245 GB, free: 5.5 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005547/0.2658, allocations: 118.6 kB / 1.245 GB, free: 5.375 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001955/0.2661, allocations: 64.8 kB / 1.245 GB, free: 5.309 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.526e-05/0.2661, allocations: 4 kB / 1.245 GB, free: 5.305 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.108e-05/0.2661, allocations: 30.56 kB / 1.245 GB, free: 5.266 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.2661, allocations: 3.938 kB / 1.245 GB, free: 5.262 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0006151/0.2667, allocations: 181.5 kB / 1.245 GB, free: 5.078 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.144e-05/0.2668, allocations: 55.41 kB / 1.245 GB, free: 5.012 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.01e-05/0.2669, allocations: 121.8 kB / 1.246 GB, free: 4.883 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.241e-05/0.2669, allocations: 29.7 kB / 1.246 GB, free: 4.848 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.135e-05/0.2669, allocations: 96.08 kB / 1.246 GB, free: 4.75 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.523e-05/0.267, allocations: 23.78 kB / 1.246 GB, free: 4.727 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.678e-05/0.267, allocations: 29.64 kB / 1.246 GB, free: 4.691 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.2671, allocations: 314.8 kB / 1.246 GB, free: 4.375 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001771/0.2673, allocations: 51.95 kB / 1.246 GB, free: 4.324 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001599/0.2675, allocations: 43.95 kB / 1.246 GB, free: 4.281 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003225/0.2678, allocations: 96.72 kB / 1.246 GB, free: 4.184 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.2678, allocations: 4 kB / 1.246 GB, free: 4.18 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000381/0.2682, allocations: 129.6 kB / 1.246 GB, free: 4.047 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.2682, allocations: 8 kB / 1.246 GB, free: 4.039 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.476e-06/0.2682, allocations: 0 / 1.246 GB, free: 4.039 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.2683, allocations: 0 / 1.246 GB, free: 4.039 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001533/0.2684, allocations: 23.97 kB / 1.246 GB, free: 4.016 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.2684, allocations: 3.938 kB / 1.246 GB, free: 4.012 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001076/0.2685, allocations: 27.92 kB / 1.246 GB, free: 3.984 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.2686, allocations: 0 / 1.246 GB, free: 3.984 MB / 0.9669 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.104e-05/0.2686, allocations: 117.8 kB / 1.247 GB, free: 3.859 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.074e-05/0.2687, allocations: 7.953 kB / 1.247 GB, free: 3.852 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.328e-05/0.2687, allocations: 16.31 kB / 1.247 GB, free: 3.836 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.2687, allocations: 0 / 1.247 GB, free: 3.836 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.2687, allocations: 7.938 kB / 1.247 GB, free: 3.828 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.2687, allocations: 3.984 kB / 1.247 GB, free: 3.824 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001952/0.2689, allocations: 201.6 kB / 1.247 GB, free: 3.578 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.2689, allocations: 0 / 1.247 GB, free: 3.578 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001527/0.2691, allocations: 23.97 kB / 1.247 GB, free: 3.555 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.2691, allocations: 0 / 1.247 GB, free: 3.555 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/0.2691, allocations: 7.984 kB / 1.247 GB, free: 3.547 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.2691, allocations: 0 / 1.247 GB, free: 3.547 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.2691, allocations: 3.938 kB / 1.247 GB, free: 3.543 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004315/0.2696, allocations: 235.3 kB / 1.247 GB, free: 3.297 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.983e-05/0.2696, allocations: 92.98 kB / 1.247 GB, free: 3.188 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.537e-05/0.2696, allocations: 0 / 1.247 GB, free: 3.188 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001336/0.2698, allocations: 15.98 kB / 1.247 GB, free: 3.172 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.679e-05/0.2699, allocations: 23.91 kB / 1.247 GB, free: 3.148 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-06/0.2699, allocations: 4 kB / 1.247 GB, free: 3.145 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.819e-05/0.2699, allocations: 103.2 kB / 1.247 GB, free: 3.043 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2699, allocations: 0 / 1.247 GB, free: 3.043 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002068/0.2701, allocations: 12 kB / 1.247 GB, free: 3.031 MB / 0.9669 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.000734/0.2709, allocations: 0.7696 MB / 1.248 GB, free: 2.238 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003836/0.2713, allocations: 107.9 kB / 1.248 GB, free: 2.133 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.2713, allocations: 0 / 1.248 GB, free: 2.133 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001936/0.2715, allocations: 64.09 kB / 1.248 GB, free: 2.07 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002461/0.2717, allocations: 19.92 kB / 1.248 GB, free: 2.051 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00192/0.2737, allocations: 1.532 MB / 1.25 GB, free: 448 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002802/0.274, allocations: 0.6924 MB / 1.25 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.032e-05/0.274, allocations: 15.98 kB / 1.25 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.227e-05/0.2741, allocations: 31.42 kB / 1.25 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of SimCode: time 1.9e-07/0.2741, allocations: 0 / 1.25 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.331/1.605, allocations: 2.693 MB / 1.253 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/12.86, allocations: 9.422 kB / 1.253 GB, free: 13.07 MB / 0.9825 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=400 --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