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.01196/0.01196, allocations: 95.92 kB / 15.73 MB, free: 6.039 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.00229/0.00229, allocations: 198.4 kB / 16.68 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.531/2.531, allocations: 222.9 MB / 240.4 MB, free: 4.305 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.489/4.489, allocations: 390.2 MB / 0.6648 GB, free: 180 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002083/0.002083, allocations: 66.12 kB / 0.9505 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4776/0.4798, allocations: 140.4 MB / 1.088 GB, free: 1.93 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax): time 0.002778/0.4826, allocations: 0.6514 MB / 1.088 GB, free: 1.277 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0002005/0.4829, allocations: 15.92 kB / 1.088 GB, free: 1.262 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.328e-05/0.4829, allocations: 0 / 1.088 GB, free: 1.262 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001382/0.4831, allocations: 7.922 kB / 1.088 GB, free: 1.254 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.889e-05/0.4832, allocations: 3.938 kB / 1.088 GB, free: 1.25 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 9.421e-05/0.4833, allocations: 4 kB / 1.088 GB, free: 1.246 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001236/0.4834, allocations: 27.92 kB / 1.088 GB, free: 1.219 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001908/0.4836, allocations: 31.98 kB / 1.088 GB, free: 1.188 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 3.658e-05/0.4837, allocations: 11.94 kB / 1.088 GB, free: 1.176 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 4.682e-05/0.4837, allocations: 19.92 kB / 1.088 GB, free: 1.156 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.287e-05/0.4837, allocations: 4 kB / 1.088 GB, free: 1.152 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.803e-05/0.4838, allocations: 4 kB / 1.088 GB, free: 1.148 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 4.34e-05/0.4838, allocations: 7.938 kB / 1.088 GB, free: 1.141 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 6.214e-05/0.4839, allocations: 27.84 kB / 1.088 GB, free: 1.113 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.000161/0.4841, allocations: 44.05 kB / 1.088 GB, free: 1.07 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.4841, allocations: 0 / 1.088 GB, free: 1.07 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.355e-06/0.4841, allocations: 0 / 1.088 GB, free: 1.07 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.4841, allocations: 0 / 1.088 GB, free: 1.07 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.0005348/0.4847, allocations: 355.3 kB / 1.089 GB, free: 0.6719 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.829e-05/0.4847, allocations: 12.03 kB / 1.089 GB, free: 0.6602 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.542e-05/0.4848, allocations: 30.75 kB / 1.089 GB, free: 0.6211 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.382e-05/0.4848, allocations: 8.891 kB / 1.089 GB, free: 0.6133 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002594/0.4851, allocations: 184.3 kB / 1.089 GB, free: 404 kB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.4851, allocations: 384 / 1.089 GB, free: 404 kB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.788e-05/0.4852, allocations: 8.375 kB / 1.089 GB, free: 396 kB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002465/0.4854, allocations: 78.16 kB / 1.089 GB, free: 312 kB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.4855, allocations: 3.938 kB / 1.089 GB, free: 308 kB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.4855, allocations: 8 kB / 1.089 GB, free: 300 kB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.4855, allocations: 0 / 1.089 GB, free: 300 kB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001203/0.4856, allocations: 47.97 kB / 1.089 GB, free: 252 kB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007625/0.4864, allocations: 491.1 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000111/0.4865, allocations: 173.1 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.525e-05/0.4866, allocations: 84.52 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.283e-05/0.4866, allocations: 75.28 kB / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.213e-05/0.4867, allocations: 105.8 kB / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.573e-06/0.4867, allocations: 0 / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 0.0001072/0.4868, allocations: 37.66 kB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.532e-05/0.4869, allocations: 134.6 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002577/0.4872, allocations: 175 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.568e-05/0.4872, allocations: 29.7 kB / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.921e-05/0.4873, allocations: 92.14 kB / 1.09 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.727e-06/0.4873, allocations: 0 / 1.09 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.815e-05/0.4874, allocations: 25.66 kB / 1.09 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001526/0.4876, allocations: 314.8 kB / 1.091 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.164e-05/0.4876, allocations: 11.98 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.048e-05/0.4876, allocations: 4 kB / 1.091 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.033e-05/0.4877, allocations: 28.84 kB / 1.091 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.4877, allocations: 0 / 1.091 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001808/0.4879, allocations: 45.69 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.46e-05/0.488, allocations: 8 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.488, allocations: 0 / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.488, allocations: 0 / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.357e-05/0.4881, allocations: 4.047 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.485e-05/0.4881, allocations: 11.92 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.508e-05/0.4882, allocations: 11.89 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/0.4882, allocations: 0 / 1.091 GB, free: 14.29 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.0001522/0.4884, allocations: 193.1 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.995e-05/0.4885, allocations: 112.9 kB / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.502e-05/0.4885, allocations: 112.8 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.404e-05/0.4886, allocations: 184.1 kB / 1.091 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.898e-05/0.4887, allocations: 184.2 kB / 1.092 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.43e-05/0.4888, allocations: 188.2 kB / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003163/0.4891, allocations: 414.6 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.754e-05/0.4892, allocations: 101 kB / 1.092 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.728e-05/0.4893, allocations: 108.9 kB / 1.092 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.356e-05/0.4893, allocations: 184.3 kB / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.957e-05/0.4894, allocations: 184.2 kB / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.5e-05/0.4895, allocations: 184.2 kB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.428e-05/0.4896, allocations: 176.3 kB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001701/0.4898, allocations: 315.8 kB / 1.093 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001004/0.4899, allocations: 190 kB / 1.094 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.165e-05/0.49, allocations: 180.3 kB / 1.094 GB, free: 11.13 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001344/0.4901, allocations: 109.2 kB / 1.094 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.83e-05/0.4902, allocations: 188.2 kB / 1.094 GB, free: 10.83 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.684e-05/0.4903, allocations: 105 kB / 1.094 GB, free: 10.72 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.000164/0.4905, allocations: 133.3 kB / 1.094 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.21e-07/0.4905, allocations: 0 / 1.094 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003708/0.4909, allocations: 8 kB / 1.094 GB, free: 10.58 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.0005634/0.4914, allocations: 0.8125 MB / 1.095 GB, free: 9.742 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001045/0.4916, allocations: 11.98 kB / 1.095 GB, free: 9.73 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.4916, allocations: 0 / 1.095 GB, free: 9.73 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2.164e-06/0.4916, allocations: 0 / 1.095 GB, free: 9.73 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006608/0.4922, allocations: 471.6 kB / 1.096 GB, free: 9.266 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00182/0.4941, allocations: 1.598 MB / 1.097 GB, free: 7.59 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003726/0.4945, allocations: 0.6924 MB / 1.098 GB, free: 6.871 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.27e-05/0.4945, allocations: 7.984 kB / 1.098 GB, free: 6.863 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.514e-05/0.4946, allocations: 19.42 kB / 1.098 GB, free: 6.844 MB / 0.8575 GB Notification: Performance of SimCode: time 6.01e-07/0.4946, allocations: 4 kB / 1.098 GB, free: 6.84 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0319/0.5265, allocations: 1.62 MB / 1.099 GB, free: 5.316 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.34/13.87, allocations: 11.98 kB / 1.099 GB, free: 5.305 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