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.01068/0.01068, allocations: 98.75 kB / 15.73 MB, free: 6.059 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.002181/0.002181, allocations: 189 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.47/2.47, allocations: 222.9 MB / 240.4 MB, free: 4.172 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 4.291/4.291, allocations: 390.2 MB / 0.6648 GB, free: 164 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002329/0.00233, allocations: 72.53 kB / 0.9505 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.524/0.5264, allocations: 140.4 MB / 1.088 GB, free: 1.949 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin): time 0.003364/0.5299, allocations: 0.634 MB / 1.088 GB, free: 1.316 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0002658/0.5302, allocations: 11.94 kB / 1.088 GB, free: 1.305 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.595e-05/0.5302, allocations: 0 / 1.088 GB, free: 1.305 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001929/0.5305, allocations: 15.92 kB / 1.088 GB, free: 1.289 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.129e-05/0.5305, allocations: 4 kB / 1.088 GB, free: 1.285 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001407/0.5307, allocations: 0 / 1.088 GB, free: 1.285 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002037/0.5309, allocations: 39.91 kB / 1.088 GB, free: 1.246 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002508/0.5311, allocations: 35.97 kB / 1.088 GB, free: 1.211 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 4.592e-05/0.5312, allocations: 15.94 kB / 1.088 GB, free: 1.195 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.366e-05/0.5313, allocations: 15.92 kB / 1.088 GB, free: 1.18 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.901e-05/0.5313, allocations: 0 / 1.088 GB, free: 1.18 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 2.071e-05/0.5313, allocations: 4 kB / 1.088 GB, free: 1.176 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 6.369e-05/0.5314, allocations: 11.94 kB / 1.088 GB, free: 1.164 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 9.309e-05/0.5315, allocations: 15.88 kB / 1.088 GB, free: 1.148 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002997/0.5318, allocations: 60.02 kB / 1.088 GB, free: 1.09 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 1.164e-05/0.5319, allocations: 0 / 1.088 GB, free: 1.09 MB / 0.8419 GB Notification: Performance of FrontEnd: time 6.242e-06/0.5319, allocations: 0 / 1.088 GB, free: 1.09 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 2.042e-05/0.5319, allocations: 0 / 1.088 GB, free: 1.09 MB / 0.8419 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.0007676/0.5327, allocations: 347.3 kB / 1.089 GB, free: 0.6992 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 7.975e-05/0.5328, allocations: 12.03 kB / 1.089 GB, free: 0.6875 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.032e-05/0.5329, allocations: 34.75 kB / 1.089 GB, free: 0.6445 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.4e-05/0.5329, allocations: 8.891 kB / 1.089 GB, free: 0.6367 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003308/0.5333, allocations: 180.3 kB / 1.089 GB, free: 432 kB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.498e-05/0.5333, allocations: 8.375 kB / 1.089 GB, free: 424 kB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.446e-05/0.5333, allocations: 12.31 kB / 1.089 GB, free: 412 kB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004034/0.5338, allocations: 82.16 kB / 1.089 GB, free: 324 kB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.02e-05/0.5338, allocations: 3.938 kB / 1.089 GB, free: 320 kB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.79e-05/0.5338, allocations: 0 / 1.089 GB, free: 320 kB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.5338, allocations: 0 / 1.089 GB, free: 320 kB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001444/0.534, allocations: 47.97 kB / 1.089 GB, free: 272 kB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008392/0.5348, allocations: 491.1 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001311/0.535, allocations: 173.1 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.218e-05/0.535, allocations: 80.52 kB / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.467e-05/0.5351, allocations: 75.28 kB / 1.09 GB, free: 15.4 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.118e-05/0.5352, allocations: 105.8 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.973e-06/0.5352, allocations: 4 kB / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 0.0001089/0.5353, allocations: 41.66 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001059/0.5354, allocations: 134.6 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002802/0.5357, allocations: 177.5 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.325e-05/0.5358, allocations: 25.7 kB / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.335e-05/0.5359, allocations: 92.14 kB / 1.09 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.828e-06/0.5359, allocations: 0 / 1.09 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.046e-05/0.5359, allocations: 17.67 kB / 1.09 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001842/0.5361, allocations: 318.8 kB / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.482e-05/0.5362, allocations: 8 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.199e-05/0.5362, allocations: 11.98 kB / 1.091 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.851e-05/0.5363, allocations: 16.84 kB / 1.091 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.5363, allocations: 0 / 1.091 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001636/0.5365, allocations: 45.69 kB / 1.091 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.386e-05/0.5365, allocations: 8.109 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.5365, allocations: 7.875 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.5365, allocations: 0 / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.398e-05/0.5366, allocations: 12.03 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.5367, allocations: 0 / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.003e-05/0.5367, allocations: 7.953 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.572e-05/0.5367, allocations: 3.984 kB / 1.091 GB, free: 14.31 MB / 0.8575 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 0.0001566/0.5369, allocations: 197.1 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.11e-05/0.537, allocations: 104.9 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.859e-05/0.5371, allocations: 116.8 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.771e-05/0.5372, allocations: 188.2 kB / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.314e-05/0.5373, allocations: 180.3 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001746/0.5375, allocations: 180.2 kB / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005225/0.538, allocations: 418.6 kB / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.873e-05/0.5381, allocations: 108.9 kB / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.754e-05/0.5381, allocations: 105 kB / 1.092 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.116e-05/0.5382, allocations: 180.3 kB / 1.093 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000214/0.5385, allocations: 184.1 kB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001065/0.5386, allocations: 184.2 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0002305/0.5388, allocations: 184.2 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003117/0.5392, allocations: 307.8 kB / 1.093 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000136/0.5393, allocations: 194 kB / 1.094 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001265/0.5394, allocations: 184.3 kB / 1.094 GB, free: 11.15 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000161/0.5396, allocations: 113.2 kB / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.838e-05/0.5397, allocations: 176.3 kB / 1.094 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.039e-05/0.5398, allocations: 109 kB / 1.094 GB, free: 10.74 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001813/0.54, allocations: 141 kB / 1.094 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.1e-07/0.54, allocations: 0 / 1.094 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000441/0.5405, allocations: 4 kB / 1.094 GB, free: 10.6 MB / 0.8575 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.0007809/0.5413, allocations: 0.8165 MB / 1.095 GB, free: 9.758 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001288/0.5414, allocations: 7.984 kB / 1.095 GB, free: 9.75 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.5414, allocations: 4 kB / 1.095 GB, free: 9.746 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 5.49e-06/0.5414, allocations: 3.938 kB / 1.095 GB, free: 9.742 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008438/0.5423, allocations: 459.6 kB / 1.096 GB, free: 9.289 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002312/0.5446, allocations: 1.6 MB / 1.097 GB, free: 7.609 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004923/0.5451, allocations: 0.6924 MB / 1.098 GB, free: 6.891 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.845e-05/0.5452, allocations: 11.98 kB / 1.098 GB, free: 6.879 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.319e-05/0.5453, allocations: 11.44 kB / 1.098 GB, free: 6.867 MB / 0.8575 GB Notification: Performance of SimCode: time 2.835e-06/0.5453, allocations: 0 / 1.098 GB, free: 6.867 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03581/0.5811, allocations: 1.631 MB / 1.099 GB, free: 5.332 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.1/13.68, allocations: 19.89 kB / 1.099 GB, free: 5.312 MB / 0.8575 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