Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Controls_OBC_CDL_Integers_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Add,fileNamePrefix="Buildings_10_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.001702/0.001702, 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.002062/0.002061, allocations: 196.1 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.308/1.308, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.471/2.471, allocations: 437 MB / 0.7104 GB, free: 5.141 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 68.12 kB / 0.8694 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6727/0.6741, allocations: 151.6 MB / 1.017 GB, free: 2.637 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.001854/0.676, allocations: 0.7727 MB / 1.018 GB, free: 1.863 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.000857/0.6769, allocations: 0.8663 MB / 1.019 GB, free: 0.9844 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.034e-05/0.6769, allocations: 0 / 1.019 GB, free: 0.9844 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.191e-05/0.677, allocations: 7.875 kB / 1.019 GB, free: 0.9766 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.968e-05/0.677, allocations: 23.8 kB / 1.019 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001332/0.6772, allocations: 27.95 kB / 1.019 GB, free: 0.9258 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.644e-05/0.6773, allocations: 83.83 kB / 1.019 GB, free: 0.8438 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.6774, allocations: 31.97 kB / 1.019 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 8.172e-05/0.6775, allocations: 39.84 kB / 1.019 GB, free: 0.7734 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.645e-05/0.6776, allocations: 47.81 kB / 1.019 GB, free: 0.7266 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.223e-05/0.6776, allocations: 8 kB / 1.019 GB, free: 0.7188 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.614e-05/0.6776, allocations: 8 kB / 1.019 GB, free: 0.7109 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.527e-05/0.6776, allocations: 19.92 kB / 1.019 GB, free: 0.6914 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.299e-05/0.6777, allocations: 35.84 kB / 1.019 GB, free: 0.6562 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001034/0.6778, allocations: 87.66 kB / 1.019 GB, free: 0.5703 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.6778, allocations: 4 kB / 1.019 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.312e-06/0.6778, allocations: 4 kB / 1.019 GB, free: 0.5625 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.957e-06/0.6778, allocations: 0 / 1.019 GB, free: 0.5625 MB / 0.7637 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.0005297/0.6783, allocations: 393.4 kB / 1.02 GB, free: 136 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.6784, allocations: 8.031 kB / 1.02 GB, free: 128 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.675e-05/0.6784, allocations: 42.69 kB / 1.02 GB, free: 76 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.987e-05/0.6785, allocations: 12.83 kB / 1.02 GB, free: 64 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001249/0.6786, allocations: 176.2 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.599e-05/0.6786, allocations: 8.375 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.265e-05/0.6786, allocations: 12.38 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002789/0.6789, allocations: 109.5 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.6789, allocations: 0 / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.679, allocations: 0 / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.679, allocations: 4 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003498/0.6793, allocations: 107.8 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004442/0.6798, allocations: 336.6 kB / 1.021 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000564/0.6803, allocations: 126.5 kB / 1.021 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001829/0.6805, allocations: 60.8 kB / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.804e-05/0.6806, allocations: 4 kB / 1.021 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.623e-05/0.6806, allocations: 30.56 kB / 1.021 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.6806, allocations: 0 / 1.021 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0006121/0.6812, allocations: 181.5 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.987e-05/0.6812, allocations: 55.34 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.345e-05/0.6813, allocations: 125.8 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/0.6814, allocations: 29.7 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.508e-05/0.6814, allocations: 104 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.265e-05/0.6814, allocations: 19.75 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.449e-05/0.6815, allocations: 25.7 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.712e-05/0.6816, allocations: 310.8 kB / 1.022 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001768/0.6818, allocations: 47.95 kB / 1.022 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000163/0.6819, allocations: 47.95 kB / 1.022 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003296/0.6823, allocations: 97.23 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.6823, allocations: 0 / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003864/0.6827, allocations: 145.4 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.6827, allocations: 4 kB / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.868e-06/0.6827, allocations: 4 kB / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.6827, allocations: 0 / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000156/0.6829, allocations: 23.97 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.927e-06/0.6829, allocations: 0 / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001081/0.683, allocations: 19.92 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/0.683, allocations: 4 kB / 1.022 GB, free: 13.71 MB / 0.7794 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 7.485e-05/0.6831, allocations: 113.8 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.08e-05/0.6831, allocations: 7.891 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.667e-05/0.6832, allocations: 16.38 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.6832, allocations: 0 / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.6832, allocations: 0 / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.6832, allocations: 3.938 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001763/0.6834, allocations: 201.6 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.6834, allocations: 0 / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001506/0.6835, allocations: 23.97 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.6835, allocations: 3.938 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.6835, allocations: 4 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.6835, allocations: 7.938 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.6836, allocations: 4 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004198/0.684, allocations: 231.3 kB / 1.023 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.695e-05/0.684, allocations: 89 kB / 1.023 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.795e-05/0.684, allocations: 0 / 1.023 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001387/0.6842, allocations: 23.97 kB / 1.023 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.044e-05/0.6843, allocations: 27.86 kB / 1.023 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.533e-06/0.6843, allocations: 0 / 1.023 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.511e-05/0.6843, allocations: 95.27 kB / 1.023 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6843, allocations: 0 / 1.023 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002193/0.6846, allocations: 15.94 kB / 1.023 GB, free: 12.76 MB / 0.7794 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.0006707/0.6852, allocations: 0.7747 MB / 1.024 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004022/0.6856, allocations: 111.8 kB / 1.024 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.6856, allocations: 0 / 1.024 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001995/0.6859, allocations: 59.94 kB / 1.024 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000275/0.6861, allocations: 17.81 kB / 1.024 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001968/0.6881, allocations: 1.517 MB / 1.025 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003032/0.6884, allocations: 0.6962 MB / 1.026 GB, free: 9.453 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.493e-05/0.6885, allocations: 11.98 kB / 1.026 GB, free: 9.441 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.025e-05/0.6886, allocations: 31.42 kB / 1.026 GB, free: 9.41 MB / 0.7794 GB Notification: Performance of SimCode: time 5.11e-07/0.6886, allocations: 0 / 1.026 GB, free: 9.41 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3312/1.02, allocations: 2.646 MB / 1.029 GB, free: 6.84 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.214/9.234, allocations: 7.938 kB / 1.029 GB, free: 6.832 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_Add_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_Add.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_Add.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches