Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Reals.Validation.MultiMax,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_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.008473/0.008474, allocations: 99.89 kB / 15.73 MB, free: 6.012 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.002066/0.002066, allocations: 193.6 kB / 16.67 MB, free: 5.93 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.53/1.53, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.748/2.748, allocations: 437 MB / 0.7105 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002052/0.002052, allocations: 67.89 kB / 1.018 GB, free: 9.812 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7543/0.7564, allocations: 151.6 MB / 1.166 GB, free: 3.738 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.00186/0.7583, allocations: 0.6536 MB / 1.167 GB, free: 3.09 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0001507/0.7585, allocations: 7.938 kB / 1.167 GB, free: 3.082 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.006e-05/0.7585, allocations: 0 / 1.167 GB, free: 3.082 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001081/0.7586, allocations: 3.938 kB / 1.167 GB, free: 3.078 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 3.556e-05/0.7587, allocations: 8 kB / 1.167 GB, free: 3.07 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 6.642e-05/0.7588, allocations: 7.984 kB / 1.167 GB, free: 3.062 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 8.857e-05/0.7589, allocations: 23.98 kB / 1.167 GB, free: 3.039 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001337/0.759, allocations: 35.91 kB / 1.167 GB, free: 3.004 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.92e-05/0.759, allocations: 15.94 kB / 1.167 GB, free: 2.988 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 3.603e-05/0.7591, allocations: 15.92 kB / 1.167 GB, free: 2.973 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.648e-05/0.7591, allocations: 0 / 1.167 GB, free: 2.973 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.319e-05/0.7591, allocations: 4 kB / 1.167 GB, free: 2.969 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.145e-05/0.7592, allocations: 11.94 kB / 1.167 GB, free: 2.957 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.867e-05/0.7592, allocations: 23.88 kB / 1.167 GB, free: 2.934 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001044/0.7593, allocations: 44.78 kB / 1.167 GB, free: 2.891 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.7593, allocations: 4 kB / 1.167 GB, free: 2.887 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.853e-06/0.7593, allocations: 4 kB / 1.167 GB, free: 2.883 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.519e-06/0.7593, allocations: 0 / 1.167 GB, free: 2.883 MB / 0.8887 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.0004158/0.7598, allocations: 350 kB / 1.167 GB, free: 2.492 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.7598, allocations: 12.92 kB / 1.167 GB, free: 2.48 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.921e-05/0.7599, allocations: 34.75 kB / 1.167 GB, free: 2.438 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.836e-05/0.7599, allocations: 8.891 kB / 1.167 GB, free: 2.43 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001933/0.7601, allocations: 184.2 kB / 1.168 GB, free: 2.211 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.7601, allocations: 384 / 1.168 GB, free: 2.211 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.506e-05/0.7601, allocations: 4.375 kB / 1.168 GB, free: 2.207 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001817/0.7603, allocations: 94.14 kB / 1.168 GB, free: 2.109 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.7603, allocations: 3.938 kB / 1.168 GB, free: 2.105 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-06/0.7603, allocations: 0 / 1.168 GB, free: 2.105 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.7604, allocations: 3.938 kB / 1.168 GB, free: 2.102 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.446e-05/0.7604, allocations: 47.97 kB / 1.168 GB, free: 2.055 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005793/0.761, allocations: 491.1 kB / 1.168 GB, free: 1.523 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 9.945e-05/0.7611, allocations: 173.1 kB / 1.168 GB, free: 1.344 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.856e-05/0.7612, allocations: 84.08 kB / 1.168 GB, free: 1.258 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 3.602e-05/0.7612, allocations: 75.28 kB / 1.169 GB, free: 1.184 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.212e-05/0.7613, allocations: 109.8 kB / 1.169 GB, free: 1.066 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.7613, allocations: 0 / 1.169 GB, free: 1.066 MB / 0.8887 GB Notification: Performance of matching and sorting (n=0): time 8.152e-05/0.7614, allocations: 33.66 kB / 1.169 GB, free: 1.027 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.209e-05/0.7615, allocations: 134.6 kB / 1.169 GB, free: 0.8828 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001917/0.7617, allocations: 176.3 kB / 1.169 GB, free: 0.7031 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.462e-05/0.7617, allocations: 25.7 kB / 1.169 GB, free: 0.6719 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 7.294e-05/0.7618, allocations: 92.14 kB / 1.169 GB, free: 0.5781 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.575e-06/0.7618, allocations: 0 / 1.169 GB, free: 0.5781 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.385e-05/0.7618, allocations: 13.72 kB / 1.169 GB, free: 0.5586 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.762, allocations: 318.8 kB / 1.169 GB, free: 244 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.945e-05/0.762, allocations: 7.938 kB / 1.169 GB, free: 236 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.757e-05/0.762, allocations: 15.98 kB / 1.169 GB, free: 220 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.8e-05/0.7621, allocations: 16.84 kB / 1.169 GB, free: 200 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.7621, allocations: 0 / 1.169 GB, free: 200 kB / 0.8887 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000109/0.7622, allocations: 49.64 kB / 1.17 GB, free: 144 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.7622, allocations: 8 kB / 1.17 GB, free: 136 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.7622, allocations: 0 / 1.17 GB, free: 136 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.7622, allocations: 0 / 1.17 GB, free: 136 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.253e-05/0.7623, allocations: 7.938 kB / 1.17 GB, free: 128 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.7623, allocations: 112 / 1.17 GB, free: 128 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.563e-05/0.7623, allocations: 12.03 kB / 1.17 GB, free: 116 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/0.7623, allocations: 0 / 1.17 GB, free: 116 kB / 0.8887 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.0001395/0.7625, allocations: 201 kB / 1.17 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.758e-05/0.7626, allocations: 115.4 kB / 1.17 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.399e-05/0.7626, allocations: 112.9 kB / 1.17 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.062e-05/0.7627, allocations: 188.1 kB / 1.17 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.052e-05/0.7628, allocations: 180.3 kB / 1.17 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.374e-05/0.7629, allocations: 184.2 kB / 1.17 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002761/0.7632, allocations: 417.2 kB / 1.171 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.607e-05/0.7632, allocations: 101 kB / 1.171 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.848e-05/0.7633, allocations: 108.9 kB / 1.171 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.768e-05/0.7634, allocations: 176.3 kB / 1.171 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.023e-05/0.7635, allocations: 188.2 kB / 1.171 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.333e-05/0.7636, allocations: 184.2 kB / 1.172 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.326e-05/0.7637, allocations: 180.3 kB / 1.172 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001773/0.7638, allocations: 307.7 kB / 1.172 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001285/0.764, allocations: 201.9 kB / 1.172 GB, free: 13.13 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001559/0.7641, allocations: 176.3 kB / 1.172 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.7643, allocations: 112.9 kB / 1.173 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.859e-05/0.7644, allocations: 180.2 kB / 1.173 GB, free: 12.65 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.631e-05/0.7644, allocations: 101 kB / 1.173 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.000121/0.7645, allocations: 131.2 kB / 1.173 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7645, allocations: 8 kB / 1.173 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002365/0.7648, allocations: 4 kB / 1.173 GB, free: 12.4 MB / 0.9044 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.0005521/0.7653, allocations: 0.8104 MB / 1.174 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 7.919e-05/0.7654, allocations: 11.98 kB / 1.174 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.7654, allocations: 4.062 kB / 1.174 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 4.067e-06/0.7655, allocations: 4 kB / 1.174 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005157/0.766, allocations: 470 kB / 1.174 GB, free: 11.09 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00158/0.7676, allocations: 1.604 MB / 1.176 GB, free: 9.402 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003441/0.7679, allocations: 0.6885 MB / 1.176 GB, free: 8.688 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.65e-05/0.768, allocations: 12 kB / 1.176 GB, free: 8.676 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.449e-05/0.768, allocations: 15.55 kB / 1.176 GB, free: 8.66 MB / 0.9044 GB Notification: Performance of SimCode: time 6.41e-07/0.768, allocations: 0 / 1.176 GB, free: 8.66 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02392/0.7919, allocations: 1.632 MB / 1.178 GB, free: 7.117 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.09/14.88, allocations: 11.69 kB / 1.178 GB, free: 7.109 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Reals.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_10_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches