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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.0008305/0.0008305, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.005619/0.005619, allocations: 170.9 kB / 16.27 MB, free: 6.648 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.211/1.211, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.525/2.525, allocations: 462.6 MB / 0.7364 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003634/0.0003634, allocations: 8.125 kB / 0.9029 GB, free: 36.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2553/0.2557, allocations: 159.6 MB / 1.059 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.0008853/0.2566, allocations: 0.4992 MB / 1.059 GB, free: 4.391 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008571/0.2575, allocations: 0.8624 MB / 1.06 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.685e-05/0.2575, allocations: 3.938 kB / 1.06 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.476e-05/0.2576, allocations: 3.938 kB / 1.06 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.021e-05/0.2577, allocations: 11.92 kB / 1.06 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000146/0.2578, allocations: 35.95 kB / 1.06 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.721e-05/0.2579, allocations: 79.83 kB / 1.06 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.258, allocations: 16 kB / 1.06 GB, free: 3.367 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.844e-05/0.2581, allocations: 35.83 kB / 1.06 GB, free: 3.332 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.231e-05/0.2582, allocations: 43.83 kB / 1.06 GB, free: 3.289 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.183e-05/0.2582, allocations: 4 kB / 1.06 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.305e-05/0.2583, allocations: 4 kB / 1.06 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.491e-05/0.2583, allocations: 19.91 kB / 1.06 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.736e-05/0.2583, allocations: 53.5 kB / 1.06 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001025/0.2584, allocations: 75.72 kB / 1.06 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.2585, allocations: 7.938 kB / 1.06 GB, free: 3.121 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.713e-06/0.2585, allocations: 0 / 1.06 GB, free: 3.121 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.2585, allocations: 0 / 1.06 GB, free: 3.121 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.0005481/0.259, allocations: 395.5 kB / 1.061 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.2591, allocations: 11.97 kB / 1.061 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.951e-05/0.2591, allocations: 38.75 kB / 1.061 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.023e-05/0.2592, allocations: 8.844 kB / 1.061 GB, free: 2.621 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001239/0.2593, allocations: 176.2 kB / 1.061 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.2593, allocations: 4.375 kB / 1.061 GB, free: 2.406 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.835e-05/0.2593, allocations: 12.38 kB / 1.061 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002968/0.2596, allocations: 116.2 kB / 1.061 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.283e-06/0.2596, allocations: 3.938 kB / 1.061 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.2597, allocations: 0 / 1.061 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.2597, allocations: 4 kB / 1.061 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003804/0.2601, allocations: 115.9 kB / 1.061 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004776/0.2605, allocations: 348.6 kB / 1.062 GB, free: 1.766 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005918/0.2612, allocations: 134.5 kB / 1.062 GB, free: 1.625 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002012/0.2614, allocations: 72.81 kB / 1.062 GB, free: 1.551 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.745e-05/0.2614, allocations: 0 / 1.062 GB, free: 1.551 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.247e-05/0.2614, allocations: 34.56 kB / 1.062 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 7.82e-07/0.2614, allocations: 0 / 1.062 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0006782/0.2621, allocations: 217.5 kB / 1.062 GB, free: 1.289 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.853e-05/0.2621, allocations: 59.41 kB / 1.062 GB, free: 1.219 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.407e-05/0.2622, allocations: 137.6 kB / 1.062 GB, free: 1.074 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.2623, allocations: 29.64 kB / 1.062 GB, free: 1.039 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.247e-05/0.2623, allocations: 92.08 kB / 1.062 GB, free: 0.9453 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.209e-05/0.2623, allocations: 15.72 kB / 1.062 GB, free: 0.9297 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.082e-05/0.2624, allocations: 17.7 kB / 1.062 GB, free: 0.9062 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.314e-05/0.2625, allocations: 318.8 kB / 1.063 GB, free: 0.5859 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001878/0.2627, allocations: 59.95 kB / 1.063 GB, free: 0.5273 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001729/0.2628, allocations: 55.94 kB / 1.063 GB, free: 484 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003565/0.2632, allocations: 124.8 kB / 1.063 GB, free: 356 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.2632, allocations: 0 / 1.063 GB, free: 356 kB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004157/0.2636, allocations: 161.5 kB / 1.063 GB, free: 188 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.2637, allocations: 4 kB / 1.063 GB, free: 184 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.2637, allocations: 4 kB / 1.063 GB, free: 180 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.2637, allocations: 0 / 1.063 GB, free: 180 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000165/0.2639, allocations: 27.97 kB / 1.063 GB, free: 152 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.2639, allocations: 0 / 1.063 GB, free: 152 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001241/0.264, allocations: 27.83 kB / 1.063 GB, free: 124 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.196e-05/0.264, allocations: 8 kB / 1.063 GB, free: 116 kB / 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 9.198e-05/0.2641, allocations: 117.8 kB / 1.063 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.078e-05/0.2641, allocations: 7.891 kB / 1.063 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.868e-05/0.2642, allocations: 12.38 kB / 1.063 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.2642, allocations: 0 / 1.063 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.2642, allocations: 0 / 1.063 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.2642, allocations: 7.938 kB / 1.063 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001811/0.2644, allocations: 201.5 kB / 1.064 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.2644, allocations: 0 / 1.064 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001579/0.2646, allocations: 31.91 kB / 1.064 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.2646, allocations: 0 / 1.064 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.178e-06/0.2646, allocations: 0 / 1.064 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.2646, allocations: 4 kB / 1.064 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.2646, allocations: 0 / 1.064 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000456/0.2651, allocations: 267.3 kB / 1.064 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.226e-05/0.2651, allocations: 77.11 kB / 1.064 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.744e-05/0.2651, allocations: 3.938 kB / 1.064 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001439/0.2653, allocations: 19.97 kB / 1.064 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.441e-05/0.2654, allocations: 27.91 kB / 1.064 GB, free: 15.26 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.989e-06/0.2654, allocations: 4 kB / 1.064 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.831e-05/0.2654, allocations: 95.27 kB / 1.064 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.51e-07/0.2654, allocations: 0 / 1.064 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002325/0.2657, allocations: 19.91 kB / 1.064 GB, free: 15.14 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.0007125/0.2664, allocations: 0.7827 MB / 1.065 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004254/0.2668, allocations: 128.5 kB / 1.065 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.2668, allocations: 0 / 1.065 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002048/0.267, allocations: 75.95 kB / 1.065 GB, free: 14.13 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002856/0.2673, allocations: 15.88 kB / 1.065 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001957/0.2693, allocations: 1.602 MB / 1.067 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002032/0.2695, allocations: 0.6926 MB / 1.067 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.811e-05/0.2696, allocations: 15.98 kB / 1.067 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.133e-05/0.2697, allocations: 23.42 kB / 1.067 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.2697, allocations: 0 / 1.067 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.085/2.355, allocations: 2.259 MB / 1.07 GB, free: 9.547 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002151/2.355, allocations: 210.1 kB / 1.07 GB, free: 9.285 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.665/4.02, allocations: 3.938 kB / 1.07 GB, free: 9.281 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