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.001178/0.001178, allocations: 108 kB / 15.6 MB, free: 132 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.001117/0.001117, allocations: 194 kB / 16.53 MB, free: 6.391 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.27/1.27, allocations: 222.9 MB / 240.2 MB, free: 4.414 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.494/2.494, allocations: 469.8 MB / 0.7424 GB, free: 7.477 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002097/0.002097, allocations: 64.22 kB / 0.9087 GB, free: 34.28 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2454/0.2475, allocations: 159.2 MB / 1.064 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.001913/0.2494, allocations: 0.8487 MB / 1.065 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009725/0.2504, allocations: 0.8992 MB / 1.066 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.065e-05/0.2505, allocations: 0 / 1.066 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 8.13e-05/0.2506, allocations: 7.875 kB / 1.066 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.846e-05/0.2507, allocations: 23.8 kB / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001461/0.2508, allocations: 55.92 kB / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001594/0.251, allocations: 131.7 kB / 1.066 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/0.2511, allocations: 41.09 kB / 1.066 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.946e-05/0.2512, allocations: 59.77 kB / 1.066 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001286/0.2513, allocations: 79.72 kB / 1.066 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.229e-05/0.2514, allocations: 12 kB / 1.066 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.422e-05/0.2514, allocations: 12 kB / 1.066 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.731e-05/0.2515, allocations: 43.77 kB / 1.066 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.971e-05/0.2515, allocations: 51.72 kB / 1.066 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001584/0.2517, allocations: 147.5 kB / 1.066 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.2517, allocations: 0 / 1.066 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.052e-06/0.2517, allocations: 0 / 1.066 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.2517, allocations: 0 / 1.066 GB, free: 11.83 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0007531/0.2525, allocations: 439.2 kB / 1.067 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.2525, allocations: 12.02 kB / 1.067 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.709e-05/0.2526, allocations: 38.75 kB / 1.067 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.901e-05/0.2526, allocations: 20.75 kB / 1.067 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001984/0.2528, allocations: 196.8 kB / 1.067 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.2529, allocations: 20.05 kB / 1.067 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.897e-05/0.2529, allocations: 4 kB / 1.067 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003957/0.2533, allocations: 147.6 kB / 1.067 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.2533, allocations: 0 / 1.067 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/0.2533, allocations: 3.984 kB / 1.067 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.004e-06/0.2533, allocations: 4 kB / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005369/0.2539, allocations: 163.8 kB / 1.067 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006144/0.2545, allocations: 428.3 kB / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008158/0.2553, allocations: 170.5 kB / 1.068 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002731/0.2556, allocations: 88.91 kB / 1.068 GB, free: 9.969 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.413e-05/0.2556, allocations: 0 / 1.068 GB, free: 9.969 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.232e-05/0.2557, allocations: 38.56 kB / 1.068 GB, free: 9.922 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=10): time 8.42e-07/0.2557, allocations: 0 / 1.068 GB, free: 9.922 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10): time 0.0008988/0.2566, allocations: 281.2 kB / 1.068 GB, free: 9.641 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.384e-05/0.2566, allocations: 51.41 kB / 1.068 GB, free: 9.578 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001345/0.2567, allocations: 152.3 kB / 1.069 GB, free: 9.414 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.2568, allocations: 25.7 kB / 1.069 GB, free: 9.383 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.523e-05/0.2568, allocations: 115.9 kB / 1.069 GB, free: 9.266 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.063e-05/0.2569, allocations: 24.03 kB / 1.069 GB, free: 9.242 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.382e-05/0.2569, allocations: 29.7 kB / 1.069 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.2571, allocations: 322.8 kB / 1.069 GB, free: 8.883 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002686/0.2574, allocations: 75.92 kB / 1.069 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002634/0.2576, allocations: 83.8 kB / 1.069 GB, free: 8.727 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005119/0.2581, allocations: 152.7 kB / 1.069 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.2582, allocations: 0 / 1.069 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005972/0.2588, allocations: 209.3 kB / 1.07 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.015e-05/0.2588, allocations: 4 kB / 1.07 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.426e-06/0.2588, allocations: 0 / 1.07 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.2588, allocations: 0 / 1.07 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002379/0.259, allocations: 35.95 kB / 1.07 GB, free: 8.324 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.2591, allocations: 4 kB / 1.07 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001729/0.2592, allocations: 27.81 kB / 1.07 GB, free: 8.293 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.434e-05/0.2593, allocations: 8 kB / 1.07 GB, free: 8.285 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: 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 0.0001018/0.2594, allocations: 125.8 kB / 1.07 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.667e-05/0.2594, allocations: 11.84 kB / 1.07 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.694e-05/0.2594, allocations: 16.72 kB / 1.07 GB, free: 8.125 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-06/0.2595, allocations: 3.938 kB / 1.07 GB, free: 8.121 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.2595, allocations: 0 / 1.07 GB, free: 8.121 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.2595, allocations: 7.984 kB / 1.07 GB, free: 8.113 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002567/0.2597, allocations: 237.5 kB / 1.07 GB, free: 7.832 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.2597, allocations: 0 / 1.07 GB, free: 7.832 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002263/0.26, allocations: 39.89 kB / 1.07 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.26, allocations: 0 / 1.07 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.26, allocations: 4.266 kB / 1.07 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.26, allocations: 4 kB / 1.07 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.26, allocations: 0 / 1.07 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006385/0.2606, allocations: 303.2 kB / 1.07 GB, free: 7.473 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.888e-05/0.2607, allocations: 88.95 kB / 1.07 GB, free: 7.367 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.175e-05/0.2607, allocations: 0 / 1.07 GB, free: 7.367 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002009/0.2609, allocations: 27.97 kB / 1.07 GB, free: 7.34 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.205e-05/0.261, allocations: 27.97 kB / 1.071 GB, free: 7.312 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.115e-05/0.261, allocations: 7.984 kB / 1.071 GB, free: 7.305 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.734e-05/0.2611, allocations: 111.3 kB / 1.071 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2611, allocations: 0 / 1.071 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002294/0.2614, allocations: 23.94 kB / 1.071 GB, free: 7.172 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: 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.00098/0.2624, allocations: 0.8526 MB / 1.071 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0006044/0.263, allocations: 171.8 kB / 1.072 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.263, allocations: 0 / 1.072 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003049/0.2633, allocations: 103.8 kB / 1.072 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002521/0.2635, allocations: 16.55 kB / 1.072 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002656/0.2662, allocations: 1.828 MB / 1.074 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003101/0.2665, allocations: 0.708 MB / 1.074 GB, free: 3.371 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001006/0.2666, allocations: 20.42 kB / 1.074 GB, free: 3.352 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001088/0.2668, allocations: 51.41 kB / 1.074 GB, free: 3.301 MB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.2668, allocations: 0 / 1.074 GB, free: 3.301 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8983/1.165, allocations: 3.761 MB / 1.078 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.66/11.83, allocations: 14.89 kB / 1.078 GB, free: 15.62 MB / 0.8419 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