Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Reals.Validation.MultiSum,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum,fileNamePrefix="Buildings_10_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.001132/0.001131, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001201/0.001201, allocations: 192.4 kB / 16.25 MB, free: 6.637 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.334/1.334, allocations: 222.9 MB / 239.9 MB, free: 4.523 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.578/2.578, allocations: 437.1 MB / 0.7101 GB, free: 5.191 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001511/0.001511, allocations: 67.91 kB / 0.8689 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6449/0.6464, allocations: 151.6 MB / 1.017 GB, free: 2.652 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.002338/0.6488, allocations: 0.9418 MB / 1.018 GB, free: 1.711 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001073/0.6499, allocations: 0.8819 MB / 1.019 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.618e-05/0.65, allocations: 0 / 1.019 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001299/0.6501, allocations: 7.875 kB / 1.019 GB, free: 0.8086 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001443/0.6503, allocations: 27.8 kB / 1.019 GB, free: 0.7812 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001296/0.6505, allocations: 31.97 kB / 1.019 GB, free: 0.75 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001959/0.6507, allocations: 139.6 kB / 1.019 GB, free: 0.6133 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001803/0.6509, allocations: 57.31 kB / 1.019 GB, free: 0.5508 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 9.322e-05/0.651, allocations: 59.78 kB / 1.019 GB, free: 0.4922 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001278/0.6511, allocations: 83.72 kB / 1.019 GB, free: 420 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 3.412e-05/0.6511, allocations: 12 kB / 1.019 GB, free: 408 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 2.576e-05/0.6512, allocations: 16 kB / 1.019 GB, free: 392 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 7.2e-05/0.6512, allocations: 39.84 kB / 1.019 GB, free: 352 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 7.028e-05/0.6513, allocations: 67.59 kB / 1.019 GB, free: 284 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001836/0.6515, allocations: 169.7 kB / 1.019 GB, free: 116 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.6515, allocations: 0 / 1.019 GB, free: 116 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.343e-06/0.6515, allocations: 0 / 1.019 GB, free: 116 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 8.346e-06/0.6515, allocations: 0 / 1.019 GB, free: 116 kB / 0.7637 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.0009638/0.6525, allocations: 0.5064 MB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.6526, allocations: 8.031 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.606e-05/0.6526, allocations: 42.69 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.083e-05/0.6527, allocations: 16.75 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001943/0.6529, allocations: 223.9 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.6529, allocations: 8.375 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.229e-05/0.6529, allocations: 4.375 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005138/0.6534, allocations: 183.8 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.6534, allocations: 7.922 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.6535, allocations: 3.938 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.6535, allocations: 8 kB / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007038/0.6542, allocations: 215.8 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009869/0.6552, allocations: 0.5236 MB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004134/0.6556, allocations: 150.4 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003462/0.656, allocations: 116.8 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.292e-05/0.656, allocations: 0 / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.383e-05/0.656, allocations: 38.69 kB / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 8.72e-07/0.656, allocations: 0 / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.001141/0.6572, allocations: 365.1 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.084e-05/0.6572, allocations: 55.34 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001495/0.6574, allocations: 183.5 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.6574, allocations: 25.7 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.717e-05/0.6575, allocations: 127.9 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.252e-05/0.6575, allocations: 23.64 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.366e-05/0.6576, allocations: 25.72 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.426e-05/0.6577, allocations: 322.8 kB / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003459/0.658, allocations: 103.9 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003311/0.6584, allocations: 103.9 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006455/0.659, allocations: 221.1 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.659, allocations: 0 / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007273/0.6598, allocations: 257.2 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.6598, allocations: 8 kB / 1.023 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.6598, allocations: 0 / 1.023 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.6598, allocations: 0 / 1.023 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002805/0.6601, allocations: 47.88 kB / 1.023 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.6601, allocations: 7.938 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001916/0.6603, allocations: 35.86 kB / 1.023 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.387e-05/0.6603, allocations: 8 kB / 1.023 GB, free: 11.96 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: 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.0001114/0.6605, allocations: 126.4 kB / 1.023 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.6e-05/0.6605, allocations: 11.91 kB / 1.023 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.636e-05/0.6606, allocations: 21.39 kB / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.6606, allocations: 0 / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/0.6606, allocations: 3.938 kB / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.6606, allocations: 0 / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002415/0.6608, allocations: 253.4 kB / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.6608, allocations: 4 kB / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002381/0.6611, allocations: 55.88 kB / 1.024 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.6611, allocations: 0 / 1.024 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.6611, allocations: 4 kB / 1.024 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.6611, allocations: 0 / 1.024 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.6611, allocations: 3.938 kB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007651/0.6619, allocations: 355.2 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.814e-05/0.662, allocations: 92.86 kB / 1.024 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.507e-05/0.662, allocations: 3.984 kB / 1.024 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002163/0.6622, allocations: 31.95 kB / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.944e-05/0.6623, allocations: 15.92 kB / 1.024 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.159e-05/0.6623, allocations: 8 kB / 1.024 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.304e-05/0.6624, allocations: 128.4 kB / 1.024 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6624, allocations: 0 / 1.024 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002484/0.6627, allocations: 32.09 kB / 1.024 GB, free: 10.75 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: 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.001124/0.6638, allocations: 0.8879 MB / 1.025 GB, free: 9.828 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0007678/0.6646, allocations: 235.7 kB / 1.025 GB, free: 9.598 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.6646, allocations: 0 / 1.025 GB, free: 9.598 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003588/0.6649, allocations: 119.8 kB / 1.026 GB, free: 9.48 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003238/0.6653, allocations: 25.48 kB / 1.026 GB, free: 9.457 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003202/0.6685, allocations: 2.175 MB / 1.028 GB, free: 7.199 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002513/0.6688, allocations: 0.7236 MB / 1.028 GB, free: 6.449 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.514e-05/0.6689, allocations: 28.34 kB / 1.028 GB, free: 6.422 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.019e-05/0.669, allocations: 43.42 kB / 1.028 GB, free: 6.379 MB / 0.7794 GB Notification: Performance of SimCode: time 3.21e-07/0.669, allocations: 0 / 1.028 GB, free: 6.379 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0192/0.6882, allocations: 3.234 MB / 1.032 GB, free: 3.277 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001818/0.6884, allocations: 205.5 kB / 1.032 GB, free: 3.023 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.742/2.43, allocations: 7.688 kB / 1.032 GB, free: 3.02 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches