Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.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.MultiSum,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum",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.00419/0.00419, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.001185/0.001185, allocations: 194.6 kB / 16.68 MB, free: 5.969 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.293/1.293, allocations: 222.9 MB / 240.4 MB, free: 4.172 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.597/2.597, allocations: 469.8 MB / 0.7425 GB, free: 7.316 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001747/0.001748, allocations: 71.89 kB / 1.065 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2519/0.2537, allocations: 159.1 MB / 1.22 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.001808/0.2555, allocations: 0.8694 MB / 1.221 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001027/0.2566, allocations: 0.8896 MB / 1.222 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.164e-05/0.2566, allocations: 4 kB / 1.222 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 8.781e-05/0.2567, allocations: 11.88 kB / 1.222 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.87e-05/0.2568, allocations: 23.8 kB / 1.222 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001455/0.257, allocations: 51.92 kB / 1.222 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001618/0.2571, allocations: 131.7 kB / 1.222 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/0.2573, allocations: 45.09 kB / 1.222 GB, free: 12.26 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.927e-05/0.2574, allocations: 55.81 kB / 1.222 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000134/0.2575, allocations: 79.72 kB / 1.222 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.961e-05/0.2575, allocations: 12 kB / 1.222 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 2.428e-05/0.2576, allocations: 12 kB / 1.222 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.861e-05/0.2576, allocations: 39.78 kB / 1.222 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.338e-05/0.2577, allocations: 63.7 kB / 1.222 GB, free: 12 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001626/0.2579, allocations: 139.4 kB / 1.223 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.2579, allocations: 0 / 1.223 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.082e-06/0.2579, allocations: 0 / 1.223 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.098e-06/0.2579, allocations: 0 / 1.223 GB, free: 11.87 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0007665/0.2587, allocations: 446.9 kB / 1.223 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.2587, allocations: 8.031 kB / 1.223 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.693e-05/0.2587, allocations: 38.75 kB / 1.223 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.781e-05/0.2588, allocations: 20.84 kB / 1.223 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001912/0.259, allocations: 220.5 kB / 1.223 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/0.259, allocations: 11.94 kB / 1.223 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.784e-05/0.259, allocations: 4 kB / 1.223 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003914/0.2594, allocations: 141.6 kB / 1.223 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.2594, allocations: 0 / 1.223 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/0.2595, allocations: 4 kB / 1.223 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.2595, allocations: 8 kB / 1.223 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005358/0.26, allocations: 159.8 kB / 1.224 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005722/0.2606, allocations: 412.6 kB / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007928/0.2614, allocations: 174.4 kB / 1.224 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002779/0.2617, allocations: 84.95 kB / 1.224 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.908e-05/0.2617, allocations: 4 kB / 1.224 GB, free: 10 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/0.2617, allocations: 34.56 kB / 1.224 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 4.409e-06/0.2617, allocations: 3.984 kB / 1.224 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0009322/0.2627, allocations: 289.4 kB / 1.224 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.534e-05/0.2627, allocations: 55.34 kB / 1.225 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.2629, allocations: 148.3 kB / 1.225 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/0.2629, allocations: 25.7 kB / 1.225 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.499e-05/0.2629, allocations: 112 kB / 1.225 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.117e-05/0.263, allocations: 27.75 kB / 1.225 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.856e-05/0.263, allocations: 29.7 kB / 1.225 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.2632, allocations: 326.8 kB / 1.225 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002699/0.2634, allocations: 67.92 kB / 1.225 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002612/0.2637, allocations: 75.92 kB / 1.225 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005122/0.2642, allocations: 160.7 kB / 1.225 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2642, allocations: 0 / 1.225 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005962/0.2648, allocations: 213.9 kB / 1.226 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/0.2649, allocations: 4 kB / 1.226 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.2649, allocations: 0 / 1.226 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.518e-06/0.2649, allocations: 3.938 kB / 1.226 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000239/0.2651, allocations: 39.89 kB / 1.226 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.2651, allocations: 0 / 1.226 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001612/0.2653, allocations: 23.92 kB / 1.226 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.543e-05/0.2653, allocations: 7.984 kB / 1.226 GB, free: 8.312 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (add1.y,add1.u[3],add1.u[2],add1.u[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.426e-05/0.2654, allocations: 121.8 kB / 1.226 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.651e-05/0.2655, allocations: 15.89 kB / 1.226 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.675e-05/0.2655, allocations: 12.72 kB / 1.226 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.281e-06/0.2655, allocations: 11.98 kB / 1.226 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.2655, allocations: 0 / 1.226 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.2655, allocations: 0 / 1.226 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002438/0.2658, allocations: 241.5 kB / 1.226 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.2658, allocations: 3.938 kB / 1.226 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002249/0.266, allocations: 43.89 kB / 1.226 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.266, allocations: 0 / 1.226 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/0.2661, allocations: 3.984 kB / 1.226 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.2661, allocations: 0 / 1.226 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.12e-07/0.2661, allocations: 0 / 1.226 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006563/0.2667, allocations: 303.3 kB / 1.226 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.927e-05/0.2668, allocations: 89 kB / 1.227 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.079e-05/0.2668, allocations: 0 / 1.227 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001934/0.267, allocations: 23.97 kB / 1.227 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.396e-05/0.2671, allocations: 27.97 kB / 1.227 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.378e-05/0.2671, allocations: 7.984 kB / 1.227 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.568e-05/0.2672, allocations: 113.1 kB / 1.227 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2672, allocations: 0 / 1.227 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002276/0.2674, allocations: 23.95 kB / 1.227 GB, free: 7.191 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (add1.u[1],add1.u[2],add1.u[3],add1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.0009506/0.2684, allocations: 0.8456 MB / 1.228 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005847/0.269, allocations: 167.8 kB / 1.228 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.269, allocations: 4 kB / 1.228 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003047/0.2693, allocations: 103.8 kB / 1.228 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002545/0.2696, allocations: 17.86 kB / 1.228 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002642/0.2722, allocations: 1.849 MB / 1.23 GB, free: 4.102 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002889/0.2725, allocations: 0.7046 MB / 1.23 GB, free: 3.371 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.448e-05/0.2726, allocations: 24.42 kB / 1.23 GB, free: 3.348 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001051/0.2727, allocations: 47.97 kB / 1.23 GB, free: 3.301 MB / 0.9825 GB Notification: Performance of SimCode: time 2.3e-07/0.2727, allocations: 3.938 kB / 1.23 GB, free: 3.297 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.819/3.092, allocations: 3.819 MB / 1.234 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.61/17.71, allocations: 11.67 kB / 1.234 GB, free: 15.57 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches