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.001461/0.001461, allocations: 108 kB / 15.61 MB, free: 152 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.001599/0.001599, allocations: 192.9 kB / 16.53 MB, free: 6.664 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.251/1.251, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.504/2.504, allocations: 469.4 MB / 0.742 GB, free: 7.609 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 63.12 kB / 0.9083 GB, free: 34.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2609/0.2621, allocations: 159.1 MB / 1.064 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.001952/0.2641, allocations: 0.7813 MB / 1.064 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009374/0.2651, allocations: 0.8602 MB / 1.065 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.195e-05/0.2651, allocations: 4 kB / 1.065 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.3e-05/0.2652, allocations: 11.88 kB / 1.065 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.129e-05/0.2653, allocations: 7.938 kB / 1.065 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001513/0.2654, allocations: 43.88 kB / 1.065 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001033/0.2655, allocations: 79.89 kB / 1.065 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.2656, allocations: 19.98 kB / 1.065 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.584e-05/0.2657, allocations: 47.78 kB / 1.065 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.467e-05/0.2658, allocations: 47.83 kB / 1.066 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.332e-05/0.2658, allocations: 8 kB / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.791e-05/0.2659, allocations: 8 kB / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.724e-05/0.2659, allocations: 23.89 kB / 1.066 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.285e-05/0.2659, allocations: 35.8 kB / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001167/0.2661, allocations: 87.72 kB / 1.066 GB, free: 12.37 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.2661, allocations: 0 / 1.066 GB, free: 12.37 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.182e-06/0.2661, allocations: 0 / 1.066 GB, free: 12.37 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.134e-06/0.2661, allocations: 0 / 1.066 GB, free: 12.37 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.0005609/0.2667, allocations: 397.5 kB / 1.066 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.2667, allocations: 8.031 kB / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.549e-05/0.2667, allocations: 38.75 kB / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.671e-05/0.2668, allocations: 8.844 kB / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001217/0.2669, allocations: 180.2 kB / 1.066 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/0.2669, allocations: 4.375 kB / 1.066 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.699e-05/0.267, allocations: 12.36 kB / 1.066 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002956/0.2673, allocations: 105.5 kB / 1.066 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.2673, allocations: 4 kB / 1.066 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.2673, allocations: 0 / 1.066 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.2673, allocations: 0 / 1.066 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003721/0.2677, allocations: 95.91 kB / 1.067 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004734/0.2682, allocations: 352.6 kB / 1.067 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006021/0.2688, allocations: 118.6 kB / 1.067 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001897/0.269, allocations: 60.81 kB / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.611e-05/0.269, allocations: 0 / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.83e-05/0.269, allocations: 38.44 kB / 1.067 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 8.61e-07/0.269, allocations: 0 / 1.067 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0006292/0.2697, allocations: 189.4 kB / 1.067 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.2697, allocations: 51.41 kB / 1.067 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.815e-05/0.2698, allocations: 125.7 kB / 1.067 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.64e-05/0.2698, allocations: 29.7 kB / 1.067 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.04e-05/0.2699, allocations: 99.97 kB / 1.068 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.221e-05/0.2699, allocations: 15.81 kB / 1.068 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.511e-05/0.27, allocations: 21.7 kB / 1.068 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.225e-05/0.2701, allocations: 326.8 kB / 1.068 GB, free: 9.914 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001776/0.2702, allocations: 43.95 kB / 1.068 GB, free: 9.871 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001652/0.2704, allocations: 43.95 kB / 1.068 GB, free: 9.828 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003329/0.2708, allocations: 96.72 kB / 1.068 GB, free: 9.73 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.2708, allocations: 0 / 1.068 GB, free: 9.73 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003887/0.2712, allocations: 141.5 kB / 1.068 GB, free: 9.586 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.2712, allocations: 4 kB / 1.068 GB, free: 9.582 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.2712, allocations: 0 / 1.068 GB, free: 9.582 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.2712, allocations: 0 / 1.068 GB, free: 9.582 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001654/0.2714, allocations: 27.97 kB / 1.068 GB, free: 9.555 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.2714, allocations: 8 kB / 1.068 GB, free: 9.547 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001307/0.2715, allocations: 15.92 kB / 1.068 GB, free: 9.531 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.166e-05/0.2715, allocations: 7.984 kB / 1.068 GB, free: 9.523 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.386e-05/0.2716, allocations: 119.5 kB / 1.068 GB, free: 9.398 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.194e-05/0.2717, allocations: 7.906 kB / 1.068 GB, free: 9.391 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.583e-05/0.2717, allocations: 8.375 kB / 1.068 GB, free: 9.383 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.2717, allocations: 0 / 1.068 GB, free: 9.383 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.2717, allocations: 4 kB / 1.068 GB, free: 9.379 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.2717, allocations: 3.938 kB / 1.068 GB, free: 9.375 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001865/0.2719, allocations: 201.5 kB / 1.069 GB, free: 9.129 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.2719, allocations: 0 / 1.069 GB, free: 9.129 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001529/0.2721, allocations: 23.97 kB / 1.069 GB, free: 9.105 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.2721, allocations: 0 / 1.069 GB, free: 9.105 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.495e-05/0.2721, allocations: 11.98 kB / 1.069 GB, free: 9.094 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.2721, allocations: 0 / 1.069 GB, free: 9.094 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.2721, allocations: 3.938 kB / 1.069 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004528/0.2726, allocations: 243.8 kB / 1.069 GB, free: 8.836 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.4e-05/0.2726, allocations: 81.02 kB / 1.069 GB, free: 8.738 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.951e-05/0.2727, allocations: 4 kB / 1.069 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001404/0.2728, allocations: 11.98 kB / 1.069 GB, free: 8.723 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.321e-05/0.2729, allocations: 27.91 kB / 1.069 GB, free: 8.695 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.638e-06/0.2729, allocations: 8 kB / 1.069 GB, free: 8.688 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.973e-05/0.273, allocations: 95.64 kB / 1.069 GB, free: 8.594 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.273, allocations: 3.938 kB / 1.069 GB, free: 8.59 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002259/0.2732, allocations: 12 kB / 1.069 GB, free: 8.578 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.0007394/0.274, allocations: 0.7676 MB / 1.07 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003912/0.2744, allocations: 111.8 kB / 1.07 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.2744, allocations: 0 / 1.07 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002042/0.2746, allocations: 67.89 kB / 1.07 GB, free: 7.609 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002876/0.2749, allocations: 19.91 kB / 1.07 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001969/0.2768, allocations: 1.526 MB / 1.072 GB, free: 5.984 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000238/0.2771, allocations: 0.6885 MB / 1.072 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.678e-05/0.2772, allocations: 12 kB / 1.072 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.55e-05/0.2773, allocations: 27.42 kB / 1.072 GB, free: 5.23 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.2773, allocations: 0 / 1.072 GB, free: 5.23 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0176/0.2949, allocations: 2.669 MB / 1.075 GB, free: 2.645 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.963/7.258, allocations: 5.188 kB / 1.075 GB, free: 2.641 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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