Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.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.MultiMax,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMax",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.001331/0.001331, 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.001199/0.001199, allocations: 196.2 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.341/1.341, allocations: 222.9 MB / 240.2 MB, free: 4.375 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.338/2.338, allocations: 390.2 MB / 0.6647 GB, free: 488 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 63.91 kB / 0.8127 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5902/0.5916, allocations: 140.4 MB / 0.9497 GB, free: 9.207 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax): time 0.001751/0.5934, allocations: 0.649 MB / 0.9504 GB, free: 8.711 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001479/0.5935, allocations: 5.359 kB / 0.9504 GB, free: 8.707 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.789e-05/0.5936, allocations: 1.438 kB / 0.9504 GB, free: 8.707 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.799e-05/0.5937, allocations: 7.938 kB / 0.9504 GB, free: 8.699 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.454e-05/0.5938, allocations: 1.625 kB / 0.9504 GB, free: 8.699 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 6.497e-05/0.5938, allocations: 5.406 kB / 0.9504 GB, free: 8.695 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.33e-05/0.5939, allocations: 31.08 kB / 0.9504 GB, free: 8.676 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001303/0.594, allocations: 32.59 kB / 0.9505 GB, free: 8.66 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.394e-05/0.5941, allocations: 13.69 kB / 0.9505 GB, free: 8.652 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.899e-05/0.5941, allocations: 16.33 kB / 0.9505 GB, free: 8.641 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.735e-05/0.5941, allocations: 2.781 kB / 0.9505 GB, free: 8.641 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.268e-05/0.5941, allocations: 2.688 kB / 0.9505 GB, free: 8.641 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.152e-05/0.5942, allocations: 7.75 kB / 0.9505 GB, free: 8.637 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.685e-05/0.5942, allocations: 28.33 kB / 0.9505 GB, free: 8.613 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.894e-05/0.5943, allocations: 45.27 kB / 0.9506 GB, free: 8.582 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.5943, allocations: 4 kB / 0.9506 GB, free: 8.578 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.302e-06/0.5943, allocations: 0 / 0.9506 GB, free: 8.578 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.456e-06/0.5943, allocations: 5.438 kB / 0.9506 GB, free: 8.574 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0002593/0.5946, allocations: 344.4 kB / 0.9509 GB, free: 8.203 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.5946, allocations: 8.406 kB / 0.9509 GB, free: 8.203 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.761e-05/0.5947, allocations: 37.36 kB / 0.9509 GB, free: 8.16 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.406e-05/0.5947, allocations: 11.25 kB / 0.951 GB, free: 8.152 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001088/0.5948, allocations: 185 kB / 0.9511 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.5948, allocations: 1.125 kB / 0.9511 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.282e-05/0.5949, allocations: 7.922 kB / 0.9511 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001416/0.595, allocations: 79.61 kB / 0.9512 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.595, allocations: 5 kB / 0.9512 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-06/0.595, allocations: 0 / 0.9512 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.595, allocations: 1.25 kB / 0.9512 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.707e-05/0.5951, allocations: 48.72 kB / 0.9513 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003636/0.5955, allocations: 488.3 kB / 0.9517 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.238e-05/0.5956, allocations: 179.2 kB / 0.9519 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.41e-05/0.5956, allocations: 80.14 kB / 0.952 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.347e-05/0.5956, allocations: 75.28 kB / 0.9521 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.088e-05/0.5956, allocations: 107.4 kB / 0.9522 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.5956, allocations: 0 / 0.9522 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 6.543e-05/0.5957, allocations: 36.62 kB / 0.9522 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.157e-05/0.5957, allocations: 130.6 kB / 0.9523 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001456/0.5959, allocations: 175.5 kB / 0.9525 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.921e-06/0.5959, allocations: 29.64 kB / 0.9525 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.798e-05/0.5959, allocations: 94.73 kB / 0.9526 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.689e-06/0.596, allocations: 9.234 kB / 0.9526 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.012e-05/0.596, allocations: 16.09 kB / 0.9526 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.139e-05/0.5961, allocations: 313.3 kB / 0.9529 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.898e-05/0.5961, allocations: 11.55 kB / 0.9529 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.263e-05/0.5961, allocations: 8.469 kB / 0.9529 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.541e-05/0.5961, allocations: 18.03 kB / 0.953 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.5961, allocations: 1.156 kB / 0.953 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001136/0.5963, allocations: 48.2 kB / 0.953 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.5963, allocations: 4.375 kB / 0.953 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.5963, allocations: 0 / 0.953 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.5963, allocations: 2.219 kB / 0.953 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.342e-05/0.5964, allocations: 9.984 kB / 0.953 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.5964, allocations: 3.938 kB / 0.953 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.91e-05/0.5964, allocations: 15.88 kB / 0.953 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.5964, allocations: 1.312 kB / 0.953 GB, free: 6.047 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 (1): * Single equations (assignments): 1 * 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.555e-05/0.5965, allocations: 191.6 kB / 0.9532 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.734e-05/0.5966, allocations: 103.5 kB / 0.9533 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.512e-05/0.5966, allocations: 116.2 kB / 0.9534 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.031e-05/0.5967, allocations: 193.2 kB / 0.9536 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-05/0.5967, allocations: 181.8 kB / 0.9538 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-05/0.5967, allocations: 181.4 kB / 0.954 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001484/0.5969, allocations: 417.4 kB / 0.9544 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.931e-05/0.5969, allocations: 102.3 kB / 0.9545 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.641e-05/0.5969, allocations: 108.9 kB / 0.9546 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.869e-05/0.597, allocations: 181.6 kB / 0.9547 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.344e-05/0.597, allocations: 189.8 kB / 0.9549 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.04e-05/0.597, allocations: 181.7 kB / 0.9551 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.931e-05/0.5971, allocations: 181.5 kB / 0.9553 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.204e-05/0.5971, allocations: 310.1 kB / 0.9556 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.531e-05/0.5972, allocations: 192.9 kB / 0.9557 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.208e-05/0.5972, allocations: 177.5 kB / 0.9559 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.55e-05/0.5973, allocations: 114.2 kB / 0.956 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.109e-05/0.5974, allocations: 177.7 kB / 0.9562 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.006e-05/0.5974, allocations: 114.3 kB / 0.9563 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.419e-05/0.5975, allocations: 134.7 kB / 0.9564 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5975, allocations: 4 kB / 0.9564 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000226/0.5977, allocations: 3.656 kB / 0.9564 GB, free: 2.422 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 (0): * Single equations (assignments): 0 * 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.0003595/0.5981, allocations: 0.814 MB / 0.9572 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.534e-05/0.5982, allocations: 9.828 kB / 0.9572 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.5982, allocations: 4.062 kB / 0.9572 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.543e-06/0.5982, allocations: 0.9062 kB / 0.9572 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004121/0.5986, allocations: 466.7 kB / 0.9577 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001274/0.5999, allocations: 1.594 MB / 0.9593 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002292/0.6001, allocations: 0.698 MB / 0.9599 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.486e-05/0.6002, allocations: 8.531 kB / 0.9599 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.239e-05/0.6002, allocations: 13.03 kB / 0.96 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of SimCode: time 1.803e-06/0.6002, allocations: 1.625 kB / 0.96 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01695/0.6172, allocations: 1.602 MB / 0.9615 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.474/8.091, allocations: 14.19 kB / 0.9615 GB, free: 14.07 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax_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_MultiMax.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMax.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches