Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.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.Reals.Validation.MultiSum,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_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.005796/0.005796, allocations: 96.7 kB / 15.73 MB, free: 6.051 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.001496/0.001496, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.361/1.361, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.632/2.632, allocations: 469.8 MB / 0.7425 GB, free: 7.348 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001716/0.001716, allocations: 71.89 kB / 1.065 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2521/0.2538, allocations: 159.1 MB / 1.22 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.001727/0.2556, allocations: 0.8907 MB / 1.221 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0008802/0.2565, allocations: 0.8624 MB / 1.222 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.68e-05/0.2566, allocations: 7.938 kB / 1.222 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 9.016e-05/0.2567, allocations: 15.8 kB / 1.222 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.274e-05/0.2568, allocations: 27.78 kB / 1.222 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001027/0.2569, allocations: 43.94 kB / 1.222 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001609/0.257, allocations: 135.6 kB / 1.222 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001398/0.2572, allocations: 53.34 kB / 1.222 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.752e-05/0.2573, allocations: 59.77 kB / 1.222 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001165/0.2574, allocations: 91.64 kB / 1.222 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.842e-05/0.2574, allocations: 12 kB / 1.222 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 2.231e-05/0.2574, allocations: 12 kB / 1.222 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.076e-05/0.2575, allocations: 47.84 kB / 1.222 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.967e-05/0.2576, allocations: 63.59 kB / 1.222 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001778/0.2578, allocations: 167.3 kB / 1.223 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.2578, allocations: 0 / 1.223 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of FrontEnd: time 4.198e-06/0.2578, allocations: 4 kB / 1.223 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.098e-06/0.2578, allocations: 3.938 kB / 1.223 GB, free: 11.74 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0008214/0.2586, allocations: 0.5102 MB / 1.223 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 2.766e-05/0.2587, allocations: 8.031 kB / 1.223 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.207e-05/0.2587, allocations: 38.75 kB / 1.223 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.474e-05/0.2588, allocations: 28.8 kB / 1.223 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001953/0.2589, allocations: 224 kB / 1.223 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.259, allocations: 12.38 kB / 1.223 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.477e-05/0.259, allocations: 4.375 kB / 1.223 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004993/0.2595, allocations: 178.1 kB / 1.224 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.158e-06/0.2595, allocations: 3.938 kB / 1.224 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.2595, allocations: 8 kB / 1.224 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.2595, allocations: 4 kB / 1.224 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00072/0.2603, allocations: 223.7 kB / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008827/0.2612, allocations: 0.5042 MB / 1.224 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004197/0.2616, allocations: 146.5 kB / 1.224 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003721/0.262, allocations: 120.7 kB / 1.225 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.372e-05/0.262, allocations: 0 / 1.225 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/0.262, allocations: 34.56 kB / 1.225 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 8.22e-07/0.262, allocations: 0 / 1.225 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.001152/0.2632, allocations: 361.6 kB / 1.225 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.802e-05/0.2632, allocations: 59.34 kB / 1.225 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001555/0.2634, allocations: 183.2 kB / 1.225 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.74e-05/0.2634, allocations: 29.7 kB / 1.225 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.149e-05/0.2635, allocations: 127.9 kB / 1.225 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.316e-05/0.2635, allocations: 35.72 kB / 1.225 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.254e-05/0.2636, allocations: 17.72 kB / 1.225 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.2637, allocations: 322.8 kB / 1.226 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003557/0.2641, allocations: 107.8 kB / 1.226 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003448/0.2644, allocations: 104.2 kB / 1.226 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006812/0.2651, allocations: 216.8 kB / 1.226 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.2651, allocations: 0 / 1.226 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007515/0.2659, allocations: 265.3 kB / 1.226 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.01e-05/0.2659, allocations: 4 kB / 1.226 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.066e-06/0.2659, allocations: 0 / 1.226 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.326e-06/0.2659, allocations: 0 / 1.226 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002499/0.2662, allocations: 51.88 kB / 1.226 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.044e-06/0.2662, allocations: 7.938 kB / 1.226 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00018/0.2664, allocations: 31.95 kB / 1.226 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.2664, allocations: 4 kB / 1.226 GB, free: 7.586 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.617e-05/0.2665, allocations: 125.8 kB / 1.227 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.461e-05/0.2665, allocations: 19.91 kB / 1.227 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.674e-05/0.2666, allocations: 25.39 kB / 1.227 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.2666, allocations: 0 / 1.227 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.2666, allocations: 3.938 kB / 1.227 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-06/0.2666, allocations: 0 / 1.227 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002451/0.2668, allocations: 245.5 kB / 1.227 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.2668, allocations: 0 / 1.227 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002288/0.2671, allocations: 43.94 kB / 1.227 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.2671, allocations: 4 kB / 1.227 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.2671, allocations: 4 kB / 1.227 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.2671, allocations: 0 / 1.227 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.2671, allocations: 3.938 kB / 1.227 GB, free: 7.059 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008078/0.2679, allocations: 363.2 kB / 1.227 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.391e-05/0.268, allocations: 96.95 kB / 1.227 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.268, allocations: 0 / 1.227 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002107/0.2682, allocations: 35.94 kB / 1.227 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.578e-05/0.2683, allocations: 23.86 kB / 1.227 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.217e-06/0.2683, allocations: 4 kB / 1.227 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.901e-05/0.2684, allocations: 132.3 kB / 1.228 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2684, allocations: 0 / 1.228 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002194/0.2686, allocations: 28 kB / 1.228 GB, free: 6.355 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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.001105/0.2697, allocations: 0.8884 MB / 1.228 GB, free: 5.441 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0007533/0.2705, allocations: 231.6 kB / 1.229 GB, free: 5.215 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.2705, allocations: 0 / 1.229 GB, free: 5.215 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003695/0.2709, allocations: 115.9 kB / 1.229 GB, free: 5.102 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002738/0.2712, allocations: 32.09 kB / 1.229 GB, free: 5.074 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003186/0.2744, allocations: 2.153 MB / 1.231 GB, free: 2.836 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003067/0.2747, allocations: 0.7275 MB / 1.232 GB, free: 2.082 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.072e-05/0.2748, allocations: 24.41 kB / 1.232 GB, free: 2.059 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.92e-05/0.2749, allocations: 39.42 kB / 1.232 GB, free: 2.02 MB / 0.9825 GB Notification: Performance of SimCode: time 2.2e-07/0.2749, allocations: 0 / 1.232 GB, free: 2.02 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.856/2.131, allocations: 3.652 MB / 1.235 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.84/13.98, allocations: 17.34 kB / 1.235 GB, free: 14.47 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches