Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.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.MultiMin,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMin",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.001395/0.001396, 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.001116/0.001116, allocations: 194.8 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.364/1.364, 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.342/2.342, allocations: 390.3 MB / 0.6647 GB, free: 444 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 59.91 kB / 0.8127 GB, free: 14.34 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.623/0.6244, allocations: 140.4 MB / 0.9497 GB, free: 9.086 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin): time 0.001843/0.6263, allocations: 0.6457 MB / 0.9504 GB, free: 8.59 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001472/0.6264, allocations: 10.73 kB / 0.9504 GB, free: 8.582 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.457e-05/0.6265, allocations: 9.312 kB / 0.9504 GB, free: 8.574 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 7.386e-05/0.6265, allocations: 0 / 0.9504 GB, free: 8.574 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.901e-05/0.6266, allocations: 1.375 kB / 0.9504 GB, free: 8.574 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 8.128e-05/0.6267, allocations: 5.375 kB / 0.9504 GB, free: 8.57 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.094e-05/0.6268, allocations: 45.53 kB / 0.9504 GB, free: 8.543 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.6269, allocations: 35.38 kB / 0.9505 GB, free: 8.523 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.015e-05/0.6269, allocations: 9.438 kB / 0.9505 GB, free: 8.52 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.651e-05/0.6269, allocations: 16.52 kB / 0.9505 GB, free: 8.508 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.595e-05/0.627, allocations: 2.156 kB / 0.9505 GB, free: 8.508 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.12e-05/0.627, allocations: 3.562 kB / 0.9505 GB, free: 8.508 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.757e-05/0.627, allocations: 7.812 kB / 0.9505 GB, free: 8.504 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.215e-05/0.6271, allocations: 23.75 kB / 0.9505 GB, free: 8.484 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.306e-05/0.6271, allocations: 52.7 kB / 0.9506 GB, free: 8.445 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.6271, allocations: 1.688 kB / 0.9506 GB, free: 8.445 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.142e-06/0.6271, allocations: 0 / 0.9506 GB, free: 8.445 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.529e-06/0.6272, allocations: 0 / 0.9506 GB, free: 8.445 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.000231/0.6274, allocations: 348.5 kB / 0.9509 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.6274, allocations: 9.312 kB / 0.9509 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.643e-05/0.6275, allocations: 36.06 kB / 0.951 GB, free: 8.027 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.203e-05/0.6275, allocations: 8.969 kB / 0.951 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.962e-05/0.6276, allocations: 183.3 kB / 0.9511 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.966e-06/0.6276, allocations: 6.875 kB / 0.9512 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.008e-05/0.6276, allocations: 7.531 kB / 0.9512 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001272/0.6278, allocations: 75.56 kB / 0.9512 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.532e-06/0.6278, allocations: 3.938 kB / 0.9512 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.964e-06/0.6278, allocations: 1.25 kB / 0.9512 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.6278, allocations: 1.062 kB / 0.9512 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.606e-05/0.6279, allocations: 52.44 kB / 0.9513 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003341/0.6282, allocations: 489 kB / 0.9518 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.478e-05/0.6282, allocations: 173 kB / 0.9519 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.261e-05/0.6283, allocations: 81.33 kB / 0.952 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.836e-06/0.6283, allocations: 79.27 kB / 0.9521 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.772e-05/0.6283, allocations: 107.1 kB / 0.9522 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.6283, allocations: 4 kB / 0.9522 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 5.797e-05/0.6284, allocations: 32.52 kB / 0.9522 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.622e-05/0.6284, allocations: 136.1 kB / 0.9523 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001258/0.6285, allocations: 174.2 kB / 0.9525 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.768e-06/0.6285, allocations: 25.7 kB / 0.9525 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.679e-05/0.6286, allocations: 94.67 kB / 0.9526 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.534e-06/0.6286, allocations: 1.516 kB / 0.9526 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.556e-05/0.6286, allocations: 21.12 kB / 0.9526 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.851e-05/0.6287, allocations: 320.3 kB / 0.9529 GB, free: 6 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.618e-05/0.6287, allocations: 9 kB / 0.953 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.092e-05/0.6287, allocations: 7.234 kB / 0.953 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.846e-05/0.6287, allocations: 18.72 kB / 0.953 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.6287, allocations: 0 / 0.953 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001046/0.6288, allocations: 52.41 kB / 0.953 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.6289, allocations: 4.938 kB / 0.953 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.6289, allocations: 0 / 0.953 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.003e-05/0.6289, allocations: 4.094 kB / 0.953 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.61e-05/0.6289, allocations: 7.5 kB / 0.953 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.667e-06/0.6289, allocations: 0 / 0.953 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.559e-05/0.629, allocations: 8.094 kB / 0.9531 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.629, allocations: 5.359 kB / 0.9531 GB, free: 5.918 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 4.984e-05/0.629, allocations: 186.4 kB / 0.9532 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.785e-05/0.6291, allocations: 112.6 kB / 0.9533 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.416e-05/0.6291, allocations: 120 kB / 0.9535 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.968e-05/0.6291, allocations: 185.5 kB / 0.9536 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.958e-05/0.6292, allocations: 177.5 kB / 0.9538 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.018e-05/0.6292, allocations: 185.4 kB / 0.954 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001224/0.6293, allocations: 421 kB / 0.9544 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-05/0.6293, allocations: 106.1 kB / 0.9545 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.062e-05/0.6293, allocations: 107.2 kB / 0.9546 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.678e-05/0.6294, allocations: 180.3 kB / 0.9548 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.123e-05/0.6294, allocations: 183.8 kB / 0.9549 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.775e-05/0.6294, allocations: 188.2 kB / 0.9551 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.816e-05/0.6294, allocations: 182.2 kB / 0.9553 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.142e-05/0.6295, allocations: 312.4 kB / 0.9556 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.139e-05/0.6295, allocations: 188.6 kB / 0.9558 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.373e-05/0.6296, allocations: 177.6 kB / 0.9559 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.797e-05/0.6296, allocations: 111.5 kB / 0.956 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.329e-05/0.6297, allocations: 185.5 kB / 0.9562 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.279e-05/0.6297, allocations: 116.9 kB / 0.9563 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.25e-05/0.6298, allocations: 126.3 kB / 0.9564 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6298, allocations: 0 / 0.9564 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002208/0.63, allocations: 5.562 kB / 0.9565 GB, free: 2.293 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.0002837/0.6303, allocations: 0.8196 MB / 0.9573 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.275e-05/0.6304, allocations: 13.25 kB / 0.9573 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.6304, allocations: 1.156 kB / 0.9573 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.563e-06/0.6304, allocations: 3.938 kB / 0.9573 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003718/0.6308, allocations: 462.2 kB / 0.9577 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001289/0.6321, allocations: 1.599 MB / 0.9593 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002789/0.6324, allocations: 0.6929 MB / 0.9599 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.983e-05/0.6324, allocations: 8.484 kB / 0.96 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.525e-05/0.6325, allocations: 13.64 kB / 0.96 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of SimCode: time 2.164e-06/0.6325, allocations: 1.641 kB / 0.96 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0177/0.6502, allocations: 1.607 MB / 0.9615 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.564/8.214, allocations: 12.34 kB / 0.9616 GB, free: 13.93 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin_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_MultiMin.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches