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.001215/0.001215, 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.001196/0.001196, allocations: 195.7 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.318/1.318, 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.1.0-maint.11.x/package.mo): time 2.598/2.598, allocations: 469.8 MB / 0.7424 GB, free: 7.387 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002101/0.002101, allocations: 66.28 kB / 0.9087 GB, free: 34.3 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2426/0.2447, allocations: 159.1 MB / 1.064 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.001965/0.2467, allocations: 0.8908 MB / 1.065 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.000989/0.2477, allocations: 0.8702 MB / 1.066 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.099e-05/0.2478, allocations: 0 / 1.066 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 9.775e-05/0.2479, allocations: 23.8 kB / 1.066 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001057/0.248, allocations: 23.78 kB / 1.066 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000106/0.2481, allocations: 43.94 kB / 1.066 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001625/0.2483, allocations: 135.6 kB / 1.066 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001553/0.2484, allocations: 57.3 kB / 1.066 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.883e-05/0.2485, allocations: 55.78 kB / 1.066 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001209/0.2487, allocations: 87.72 kB / 1.066 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.905e-05/0.2487, allocations: 12 kB / 1.066 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.344e-05/0.2487, allocations: 12 kB / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.664e-05/0.2488, allocations: 49.69 kB / 1.066 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.969e-05/0.2489, allocations: 63.59 kB / 1.066 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001784/0.249, allocations: 171.6 kB / 1.067 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.2491, allocations: 0 / 1.067 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.323e-06/0.2491, allocations: 0 / 1.067 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.2491, allocations: 0 / 1.067 GB, free: 11.68 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0008679/0.2499, allocations: 0.5026 MB / 1.067 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.185e-05/0.25, allocations: 8.031 kB / 1.067 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.233e-05/0.25, allocations: 38.75 kB / 1.067 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.469e-05/0.2501, allocations: 16.75 kB / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002001/0.2503, allocations: 223.9 kB / 1.067 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.2503, allocations: 4.375 kB / 1.067 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.448e-05/0.2503, allocations: 16.36 kB / 1.067 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005129/0.2508, allocations: 184.1 kB / 1.067 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/0.2509, allocations: 3.938 kB / 1.067 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/0.2509, allocations: 4 kB / 1.067 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.606e-06/0.2509, allocations: 0 / 1.067 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000732/0.2516, allocations: 223.7 kB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009268/0.2526, allocations: 0.5119 MB / 1.068 GB, free: 9.801 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004294/0.253, allocations: 154.4 kB / 1.068 GB, free: 9.641 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003703/0.2534, allocations: 120.7 kB / 1.068 GB, free: 9.52 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.622e-05/0.2534, allocations: 0 / 1.068 GB, free: 9.52 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.662e-05/0.2534, allocations: 34.56 kB / 1.069 GB, free: 9.477 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 8.72e-07/0.2534, allocations: 0 / 1.069 GB, free: 9.477 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.001167/0.2546, allocations: 365.3 kB / 1.069 GB, free: 9.113 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.564e-05/0.2546, allocations: 55.34 kB / 1.069 GB, free: 9.047 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001527/0.2548, allocations: 187.2 kB / 1.069 GB, free: 8.855 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.95e-05/0.2548, allocations: 25.7 kB / 1.069 GB, free: 8.824 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.282e-05/0.2549, allocations: 120 kB / 1.069 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.894e-05/0.255, allocations: 31.55 kB / 1.069 GB, free: 8.672 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.242e-05/0.255, allocations: 25.66 kB / 1.069 GB, free: 8.641 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.2551, allocations: 326.8 kB / 1.07 GB, free: 8.312 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003584/0.2555, allocations: 103.9 kB / 1.07 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003548/0.2559, allocations: 103.9 kB / 1.07 GB, free: 8.109 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006829/0.2566, allocations: 212.6 kB / 1.07 GB, free: 7.898 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.2566, allocations: 0 / 1.07 GB, free: 7.898 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007624/0.2573, allocations: 265.7 kB / 1.07 GB, free: 7.633 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.2574, allocations: 8 kB / 1.07 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.2574, allocations: 0 / 1.07 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.2574, allocations: 0 / 1.07 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002608/0.2576, allocations: 47.94 kB / 1.07 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.2577, allocations: 3.938 kB / 1.07 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001847/0.2578, allocations: 35.89 kB / 1.07 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.2579, allocations: 4 kB / 1.07 GB, free: 7.535 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: 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 0.000104/0.258, allocations: 133.8 kB / 1.07 GB, free: 7.395 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.628e-05/0.258, allocations: 11.81 kB / 1.07 GB, free: 7.383 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.433e-05/0.2581, allocations: 33.33 kB / 1.071 GB, free: 7.352 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.2581, allocations: 4 kB / 1.071 GB, free: 7.348 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.2581, allocations: 3.938 kB / 1.071 GB, free: 7.344 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.2581, allocations: 0 / 1.071 GB, free: 7.344 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002504/0.2583, allocations: 245.5 kB / 1.071 GB, free: 7.055 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2583, allocations: 0 / 1.071 GB, free: 7.055 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002369/0.2586, allocations: 47.94 kB / 1.071 GB, free: 7.008 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.2586, allocations: 0 / 1.071 GB, free: 7.008 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.919e-06/0.2586, allocations: 4 kB / 1.071 GB, free: 7.004 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.2586, allocations: 0 / 1.071 GB, free: 7.004 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.2586, allocations: 11.92 kB / 1.071 GB, free: 6.992 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007962/0.2594, allocations: 351.1 kB / 1.071 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.102e-05/0.2595, allocations: 88.92 kB / 1.071 GB, free: 6.527 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.27e-05/0.2595, allocations: 4 kB / 1.071 GB, free: 6.523 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002159/0.2597, allocations: 35.94 kB / 1.071 GB, free: 6.488 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.225e-05/0.2598, allocations: 15.92 kB / 1.071 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/0.2598, allocations: 11.94 kB / 1.071 GB, free: 6.461 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001005/0.2599, allocations: 136.3 kB / 1.071 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2599, allocations: 0 / 1.071 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002279/0.2602, allocations: 31.94 kB / 1.071 GB, free: 6.297 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: 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.001119/0.2613, allocations: 0.888 MB / 1.072 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0007603/0.2621, allocations: 227.7 kB / 1.073 GB, free: 5.16 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.2621, allocations: 0 / 1.073 GB, free: 5.16 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003747/0.2625, allocations: 123.8 kB / 1.073 GB, free: 5.039 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002843/0.2627, allocations: 23.92 kB / 1.073 GB, free: 5.016 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003206/0.266, allocations: 2.121 MB / 1.075 GB, free: 2.812 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003081/0.2663, allocations: 0.7241 MB / 1.075 GB, free: 2.062 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.621e-05/0.2664, allocations: 20.42 kB / 1.075 GB, free: 2.043 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.197e-05/0.2665, allocations: 47.36 kB / 1.076 GB, free: 1.996 MB / 0.8262 GB Notification: Performance of SimCode: time 2.91e-07/0.2665, allocations: 0 / 1.076 GB, free: 1.996 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.423/3.689, allocations: 3.598 MB / 1.079 GB, free: 14.49 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.19/15.88, allocations: 8.875 kB / 1.079 GB, free: 14.48 MB / 0.8419 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