Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.Validation.MultiSum,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_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.001598/0.001598, 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.001915/0.001915, allocations: 193.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.345/1.345, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.348/2.348, allocations: 390.2 MB / 0.6647 GB, free: 260 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 63.91 kB / 0.8127 GB, free: 14.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6501/0.6514, allocations: 140.4 MB / 0.9497 GB, free: 9.219 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum): time 0.001973/0.6534, allocations: 0.8709 MB / 0.9506 GB, free: 8.543 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008286/0.6543, allocations: 0.8807 MB / 0.9515 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.258e-05/0.6543, allocations: 1.031 kB / 0.9515 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.747e-05/0.6544, allocations: 17.45 kB / 0.9515 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001015/0.6545, allocations: 27.41 kB / 0.9515 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001135/0.6547, allocations: 38.23 kB / 0.9515 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001853/0.6549, allocations: 136.3 kB / 0.9517 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001582/0.655, allocations: 65.56 kB / 0.9517 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.89e-05/0.6551, allocations: 55.95 kB / 0.9518 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001019/0.6552, allocations: 85.22 kB / 0.9519 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.309e-05/0.6553, allocations: 14.06 kB / 0.9519 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.428e-05/0.6553, allocations: 12 kB / 0.9519 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.563e-05/0.6553, allocations: 39.53 kB / 0.9519 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.606e-05/0.6554, allocations: 68.69 kB / 0.952 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001388/0.6556, allocations: 167 kB / 0.9521 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.6556, allocations: 0 / 0.9521 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.344e-06/0.6556, allocations: 1.562 kB / 0.9522 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.688e-06/0.6556, allocations: 3.938 kB / 0.9522 GB, free: 7.32 MB / 0.7169 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.0008203/0.6564, allocations: 0.5004 MB / 0.9526 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.6565, allocations: 9.781 kB / 0.9527 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.688e-05/0.6565, allocations: 41.05 kB / 0.9527 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.896e-05/0.6565, allocations: 21.28 kB / 0.9527 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001574/0.6567, allocations: 222.1 kB / 0.9529 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.6567, allocations: 8.156 kB / 0.9529 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.936e-05/0.6567, allocations: 5.75 kB / 0.9529 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005057/0.6572, allocations: 185.2 kB / 0.9531 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.415e-06/0.6573, allocations: 9.297 kB / 0.9531 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.621e-05/0.6573, allocations: 8 kB / 0.9531 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.6573, allocations: 2.281 kB / 0.9531 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007043/0.658, allocations: 224 kB / 0.9533 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007991/0.6588, allocations: 0.5049 MB / 0.9538 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004197/0.6592, allocations: 151.9 kB / 0.954 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003557/0.6596, allocations: 120.4 kB / 0.9541 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.47e-05/0.6596, allocations: 5 kB / 0.9541 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.041e-05/0.6596, allocations: 35.56 kB / 0.9541 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.042e-06/0.6596, allocations: 1.094 kB / 0.9541 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.001164/0.6608, allocations: 361.7 kB / 0.9545 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.198e-05/0.6608, allocations: 56.69 kB / 0.9545 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001269/0.661, allocations: 174 kB / 0.9547 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.407e-05/0.661, allocations: 34.7 kB / 0.9547 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.697e-05/0.6611, allocations: 127.4 kB / 0.9549 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.891e-05/0.6611, allocations: 26.97 kB / 0.9549 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.586e-05/0.6611, allocations: 24.39 kB / 0.9549 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.855e-05/0.6612, allocations: 322.9 kB / 0.9552 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003383/0.6615, allocations: 104.5 kB / 0.9553 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003306/0.6619, allocations: 103.6 kB / 0.9554 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006733/0.6625, allocations: 213 kB / 0.9556 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.6626, allocations: 0 / 0.9556 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007201/0.6633, allocations: 262.4 kB / 0.9559 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.6633, allocations: 4.938 kB / 0.9559 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.6633, allocations: 1.406 kB / 0.9559 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.6633, allocations: 96 / 0.9559 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002759/0.6636, allocations: 56.78 kB / 0.9559 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.6636, allocations: 3.938 kB / 0.9559 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001831/0.6638, allocations: 33.83 kB / 0.956 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.6638, allocations: 2.75 kB / 0.956 GB, free: 4.398 MB / 0.7169 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 7.208e-05/0.6639, allocations: 127.5 kB / 0.9561 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.352e-05/0.6639, allocations: 13.31 kB / 0.9561 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.256e-05/0.664, allocations: 26.91 kB / 0.9561 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.664, allocations: 1.375 kB / 0.9561 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.664, allocations: 7.922 kB / 0.9561 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.664, allocations: 0 / 0.9561 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000208/0.6642, allocations: 249.3 kB / 0.9564 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.6642, allocations: 0 / 0.9564 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002309/0.6645, allocations: 44.81 kB / 0.9564 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.6645, allocations: 0 / 0.9564 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.6645, allocations: 1.375 kB / 0.9564 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.6645, allocations: 4 kB / 0.9564 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.6645, allocations: 3.938 kB / 0.9564 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007301/0.6652, allocations: 358.2 kB / 0.9568 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.404e-05/0.6653, allocations: 93.36 kB / 0.9569 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.288e-05/0.6653, allocations: 0 / 0.9569 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002091/0.6655, allocations: 42.19 kB / 0.9569 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.027e-05/0.6656, allocations: 21.05 kB / 0.9569 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.065e-06/0.6656, allocations: 1.562 kB / 0.9569 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.974e-05/0.6657, allocations: 142 kB / 0.9571 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6657, allocations: 0 / 0.9571 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002355/0.6659, allocations: 30.16 kB / 0.9571 GB, free: 3.461 MB / 0.7169 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.0009276/0.6669, allocations: 0.8843 MB / 0.9579 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0007642/0.6676, allocations: 230.5 kB / 0.9582 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.6676, allocations: 0.7188 kB / 0.9582 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0003646/0.668, allocations: 125 kB / 0.9583 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000321/0.6683, allocations: 24.95 kB / 0.9583 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003139/0.6715, allocations: 2.124 MB / 0.9604 GB, free: 0.8633 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001545/0.6717, allocations: 0.7281 MB / 0.9611 GB, free: 144 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 8.798e-05/0.6718, allocations: 18.42 kB / 0.9611 GB, free: 136 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.392e-05/0.6718, allocations: 40.55 kB / 0.9611 GB, free: 104 kB / 0.7169 GB Notification: Performance of SimCode: time 2.61e-07/0.6718, allocations: 0.9375 kB / 0.9612 GB, free: 104 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04579/0.7176, allocations: 3.604 MB / 0.9647 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.286/8.004, allocations: 5.078 kB / 0.9647 GB, free: 14.26 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiSum_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiSum.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_MultiSum.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches