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.001093/0.001093, 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.001237/0.001237, allocations: 193.5 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.313/1.313, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.379/2.379, allocations: 390.3 MB / 0.6647 GB, free: 444 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 63.91 kB / 0.8127 GB, free: 14.34 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6155/0.6169, allocations: 140.4 MB / 0.9497 GB, free: 9.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum): time 0.001996/0.6189, allocations: 0.8793 MB / 0.9506 GB, free: 8.441 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007515/0.6197, allocations: 0.8761 MB / 0.9515 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.571e-05/0.6198, allocations: 1.125 kB / 0.9515 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.496e-05/0.6199, allocations: 17.05 kB / 0.9515 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001066/0.62, allocations: 28.41 kB / 0.9515 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001014/0.6201, allocations: 42.59 kB / 0.9515 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000148/0.6202, allocations: 135.4 kB / 0.9517 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001556/0.6204, allocations: 62.03 kB / 0.9517 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.042e-05/0.6205, allocations: 55.27 kB / 0.9518 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001067/0.6206, allocations: 85.56 kB / 0.9519 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.055e-05/0.6206, allocations: 16.78 kB / 0.9519 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.972e-05/0.6207, allocations: 13.56 kB / 0.9519 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.263e-05/0.6207, allocations: 39.31 kB / 0.9519 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.926e-05/0.6208, allocations: 67.56 kB / 0.952 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001688/0.621, allocations: 163.5 kB / 0.9521 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.621, allocations: 1.031 kB / 0.9521 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.104e-06/0.621, allocations: 3.938 kB / 0.9522 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.621, allocations: 0 / 0.9522 GB, free: 7.223 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.0008465/0.6219, allocations: 0.5101 MB / 0.9527 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.6219, allocations: 9.938 kB / 0.9527 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.558e-05/0.6219, allocations: 37.28 kB / 0.9527 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.596e-05/0.622, allocations: 17.09 kB / 0.9527 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000174/0.6222, allocations: 226.9 kB / 0.9529 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.698e-06/0.6222, allocations: 7.5 kB / 0.9529 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.372e-05/0.6222, allocations: 9.906 kB / 0.9529 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004984/0.6227, allocations: 180.3 kB / 0.9531 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.6227, allocations: 5.344 kB / 0.9531 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.615e-05/0.6227, allocations: 4 kB / 0.9531 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.6228, allocations: 3 kB / 0.9531 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007277/0.6235, allocations: 223.1 kB / 0.9533 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008608/0.6244, allocations: 0.5048 MB / 0.9538 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00043/0.6248, allocations: 155.4 kB / 0.954 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000374/0.6252, allocations: 117.8 kB / 0.9541 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.457e-05/0.6252, allocations: 1.625 kB / 0.9541 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.173e-05/0.6252, allocations: 30.56 kB / 0.9541 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.242e-06/0.6252, allocations: 0 / 0.9541 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.001202/0.6264, allocations: 362.7 kB / 0.9545 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.02e-05/0.6265, allocations: 64.75 kB / 0.9545 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001197/0.6266, allocations: 178.7 kB / 0.9547 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.275e-05/0.6266, allocations: 29.7 kB / 0.9547 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.224e-05/0.6267, allocations: 120.5 kB / 0.9548 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.981e-05/0.6267, allocations: 30.42 kB / 0.9549 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.845e-05/0.6267, allocations: 20.88 kB / 0.9549 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.256e-05/0.6268, allocations: 325.7 kB / 0.9552 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003539/0.6271, allocations: 108.1 kB / 0.9553 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003482/0.6275, allocations: 100.6 kB / 0.9554 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006898/0.6282, allocations: 217.6 kB / 0.9556 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.6282, allocations: 0 / 0.9556 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007598/0.629, allocations: 261.7 kB / 0.9559 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.629, allocations: 7.188 kB / 0.9559 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.629, allocations: 0 / 0.9559 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.629, allocations: 5.156 kB / 0.9559 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002805/0.6293, allocations: 47.84 kB / 0.9559 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.6293, allocations: 5.219 kB / 0.9559 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001932/0.6295, allocations: 33.23 kB / 0.956 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.6295, allocations: 5.75 kB / 0.956 GB, free: 4.305 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.686e-05/0.6296, allocations: 133.2 kB / 0.9561 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.581e-05/0.6297, allocations: 13.59 kB / 0.9561 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.352e-05/0.6297, allocations: 25.39 kB / 0.9561 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.776e-06/0.6297, allocations: 1.812 kB / 0.9561 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.6297, allocations: 3.938 kB / 0.9561 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.6297, allocations: 0 / 0.9561 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001984/0.6299, allocations: 244.7 kB / 0.9564 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.6299, allocations: 1.406 kB / 0.9564 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002528/0.6302, allocations: 47.28 kB / 0.9564 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.6302, allocations: 1.594 kB / 0.9564 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/0.6302, allocations: 0 / 0.9564 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.6302, allocations: 1.281 kB / 0.9564 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.6302, allocations: 3.938 kB / 0.9564 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000802/0.631, allocations: 359 kB / 0.9568 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.47e-05/0.6311, allocations: 96.44 kB / 0.9569 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.539e-05/0.6311, allocations: 3.984 kB / 0.9569 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002195/0.6313, allocations: 41.89 kB / 0.9569 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.108e-05/0.6314, allocations: 15.7 kB / 0.9569 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.027e-06/0.6314, allocations: 2.562 kB / 0.9569 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.986e-05/0.6315, allocations: 141.5 kB / 0.957 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6315, allocations: 0 / 0.957 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002464/0.6318, allocations: 31.28 kB / 0.9571 GB, free: 3.367 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.001082/0.6328, allocations: 0.8806 MB / 0.9579 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0008107/0.6337, allocations: 229.6 kB / 0.9582 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.6337, allocations: 1.25 kB / 0.9582 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0003819/0.6341, allocations: 125 kB / 0.9583 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003583/0.6344, allocations: 26.62 kB / 0.9583 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003194/0.6376, allocations: 2.132 MB / 0.9604 GB, free: 0.7617 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001618/0.6378, allocations: 0.7325 MB / 0.9611 GB, free: 36 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 9.127e-05/0.6379, allocations: 22.22 kB / 0.9611 GB, free: 24 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001095/0.638, allocations: 40.67 kB / 0.9612 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of SimCode: time 5.61e-07/0.638, allocations: 0 / 0.9612 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01913/0.6572, allocations: 3.59 MB / 0.9647 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.483/8.14, allocations: 14.08 kB / 0.9647 GB, free: 14.16 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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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