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.009572/0.009573, allocations: 109.8 kB / 15.74 MB, free: 6.449 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.001809/0.001809, allocations: 196 kB / 16.67 MB, free: 6.355 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.401/1.401, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.353/2.353, allocations: 390.3 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 66.59 kB / 0.9504 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2474/0.2487, allocations: 140.4 MB / 1.088 GB, free: 1.91 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax): time 0.001948/0.2506, allocations: 0.6583 MB / 1.088 GB, free: 1.254 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001674/0.2508, allocations: 7.938 kB / 1.088 GB, free: 1.246 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.214e-05/0.2509, allocations: 4 kB / 1.088 GB, free: 1.242 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001063/0.251, allocations: 3.938 kB / 1.088 GB, free: 1.238 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.277e-05/0.2511, allocations: 0 / 1.088 GB, free: 1.238 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 8.223e-05/0.2512, allocations: 11.98 kB / 1.088 GB, free: 1.227 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 9.247e-05/0.2513, allocations: 23.97 kB / 1.088 GB, free: 1.203 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001478/0.2514, allocations: 35.92 kB / 1.088 GB, free: 1.168 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 2.768e-05/0.2515, allocations: 15.94 kB / 1.088 GB, free: 1.152 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 3.143e-05/0.2515, allocations: 11.94 kB / 1.088 GB, free: 1.141 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.666e-05/0.2515, allocations: 4 kB / 1.088 GB, free: 1.137 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 2.149e-05/0.2515, allocations: 4 kB / 1.088 GB, free: 1.133 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.85e-05/0.2516, allocations: 15.92 kB / 1.088 GB, free: 1.117 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.693e-05/0.2516, allocations: 15.88 kB / 1.088 GB, free: 1.102 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001096/0.2517, allocations: 51.8 kB / 1.088 GB, free: 1.051 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.2518, allocations: 0 / 1.088 GB, free: 1.051 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.814e-06/0.2518, allocations: 0 / 1.088 GB, free: 1.051 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.812e-06/0.2518, allocations: 0 / 1.088 GB, free: 1.051 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.000433/0.2522, allocations: 350.3 kB / 1.089 GB, free: 0.6602 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/0.2523, allocations: 8.031 kB / 1.089 GB, free: 0.6523 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.437e-05/0.2523, allocations: 38.75 kB / 1.089 GB, free: 0.6055 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.159e-05/0.2524, allocations: 8.844 kB / 1.089 GB, free: 0.5977 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001911/0.2526, allocations: 185 kB / 1.089 GB, free: 388 kB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/0.2526, allocations: 8.375 kB / 1.089 GB, free: 380 kB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.441e-05/0.2526, allocations: 384 / 1.089 GB, free: 380 kB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001742/0.2528, allocations: 86.09 kB / 1.089 GB, free: 288 kB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.2528, allocations: 3.938 kB / 1.089 GB, free: 284 kB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.2528, allocations: 4 kB / 1.089 GB, free: 280 kB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.367e-06/0.2528, allocations: 0 / 1.089 GB, free: 280 kB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.012e-05/0.2529, allocations: 47.97 kB / 1.089 GB, free: 232 kB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005737/0.2535, allocations: 483.1 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.756e-05/0.2536, allocations: 169.1 kB / 1.09 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.366e-05/0.2536, allocations: 84.45 kB / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.834e-05/0.2537, allocations: 75.28 kB / 1.09 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.165e-05/0.2537, allocations: 117.8 kB / 1.09 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.142e-06/0.2537, allocations: 0 / 1.09 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 7.018e-05/0.2538, allocations: 33.64 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.048e-05/0.2539, allocations: 134.6 kB / 1.09 GB, free: 15.06 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001626/0.254, allocations: 175.3 kB / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.168e-05/0.2541, allocations: 25.7 kB / 1.09 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.658e-05/0.2541, allocations: 104 kB / 1.09 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.675e-06/0.2541, allocations: 4 kB / 1.09 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.001e-05/0.2542, allocations: 13.72 kB / 1.09 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.2543, allocations: 322.8 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.739e-05/0.2543, allocations: 4 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.538e-05/0.2543, allocations: 15.92 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.243e-05/0.2544, allocations: 8.859 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.2544, allocations: 0 / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001147/0.2545, allocations: 61.75 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.2545, allocations: 7.938 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.2545, allocations: 0 / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.2545, allocations: 0 / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.17e-05/0.2546, allocations: 7.938 kB / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.2546, allocations: 0 / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.639e-05/0.2547, allocations: 4 kB / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.086e-06/0.2547, allocations: 0 / 1.091 GB, free: 14.28 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 9.436e-05/0.2548, allocations: 201 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.584e-05/0.2548, allocations: 112.9 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.655e-05/0.2549, allocations: 108.8 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.003e-05/0.255, allocations: 192.1 kB / 1.091 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.099e-05/0.255, allocations: 176.3 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.891e-05/0.2551, allocations: 184.2 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002245/0.2553, allocations: 422.6 kB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-05/0.2554, allocations: 109 kB / 1.092 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.834e-05/0.2554, allocations: 104.9 kB / 1.092 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.757e-05/0.2555, allocations: 176.3 kB / 1.093 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.125e-05/0.2555, allocations: 184.2 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.235e-05/0.2556, allocations: 184.2 kB / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-05/0.2557, allocations: 184.2 kB / 1.093 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001357/0.2558, allocations: 311.7 kB / 1.093 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 8.435e-05/0.2559, allocations: 186 kB / 1.094 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.726e-05/0.256, allocations: 188.2 kB / 1.094 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.287e-05/0.2561, allocations: 109.2 kB / 1.094 GB, free: 11 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.174e-05/0.2562, allocations: 180.2 kB / 1.094 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.385e-05/0.2562, allocations: 105 kB / 1.094 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001105/0.2563, allocations: 137.1 kB / 1.094 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.71e-07/0.2563, allocations: 0 / 1.094 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002229/0.2565, allocations: 4 kB / 1.094 GB, free: 10.57 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.000471/0.257, allocations: 0.8203 MB / 1.095 GB, free: 9.723 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 7.728e-05/0.2571, allocations: 11.98 kB / 1.095 GB, free: 9.711 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.2571, allocations: 0 / 1.095 GB, free: 9.711 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.683e-06/0.2571, allocations: 0 / 1.095 GB, free: 9.711 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004986/0.2576, allocations: 467.7 kB / 1.095 GB, free: 9.25 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001429/0.2591, allocations: 1.602 MB / 1.097 GB, free: 7.57 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002723/0.2594, allocations: 0.6885 MB / 1.098 GB, free: 6.855 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.013e-05/0.2594, allocations: 11.97 kB / 1.098 GB, free: 6.844 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.173e-05/0.2594, allocations: 15.44 kB / 1.098 GB, free: 6.828 MB / 0.8575 GB Notification: Performance of SimCode: time 2.51e-07/0.2594, allocations: 0 / 1.098 GB, free: 6.828 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0185/0.278, allocations: 1.63 MB / 1.099 GB, free: 5.293 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.716/7.994, allocations: 6.562 kB / 1.099 GB, free: 5.289 MB / 0.8575 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