Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001793/0.001793, allocations: 107.2 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002029/0.002029, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.449/1.449, allocations: 225.6 MB / 247.8 MB, free: 13.91 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.795/2.795, allocations: 476.7 MB / 0.7611 GB, free: 11.3 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00196/0.00196, allocations: 79.89 kB / 1.104 GB, free: 9.207 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8999/0.9018, allocations: 168.7 MB / 1.269 GB, free: 5.148 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.002237/0.9041, allocations: 0.6517 MB / 1.269 GB, free: 4.496 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001761/0.9043, allocations: 21.84 kB / 1.269 GB, free: 4.477 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.672e-05/0.9043, allocations: 3.938 kB / 1.269 GB, free: 4.473 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001172/0.9044, allocations: 3.938 kB / 1.269 GB, free: 4.469 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.724e-05/0.9045, allocations: 0 / 1.269 GB, free: 4.469 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 7.505e-05/0.9045, allocations: 8 kB / 1.269 GB, free: 4.461 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.921e-05/0.9046, allocations: 23.92 kB / 1.269 GB, free: 4.438 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001416/0.9048, allocations: 31.97 kB / 1.27 GB, free: 4.406 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.019e-05/0.9048, allocations: 15.92 kB / 1.27 GB, free: 4.391 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.546e-05/0.9048, allocations: 11.94 kB / 1.27 GB, free: 4.379 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.615e-05/0.9049, allocations: 4 kB / 1.27 GB, free: 4.375 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.182e-05/0.9049, allocations: 4 kB / 1.27 GB, free: 4.371 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.852e-05/0.9049, allocations: 11.92 kB / 1.27 GB, free: 4.359 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.548e-05/0.905, allocations: 23.88 kB / 1.27 GB, free: 4.336 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001196/0.9051, allocations: 53.56 kB / 1.27 GB, free: 4.285 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.9051, allocations: 0 / 1.27 GB, free: 4.285 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.226e-06/0.9051, allocations: 4 kB / 1.27 GB, free: 4.281 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.959e-06/0.9051, allocations: 0 / 1.27 GB, free: 4.281 MB / 0.9669 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.000382/0.9055, allocations: 343.4 kB / 1.27 GB, free: 3.895 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.9055, allocations: 12.03 kB / 1.27 GB, free: 3.883 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.847e-05/0.9056, allocations: 34.73 kB / 1.27 GB, free: 3.84 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.025e-05/0.9056, allocations: 8.891 kB / 1.27 GB, free: 3.832 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002029/0.9058, allocations: 192.2 kB / 1.27 GB, free: 3.605 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.849e-06/0.9058, allocations: 384 / 1.27 GB, free: 3.605 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.723e-05/0.9058, allocations: 8.375 kB / 1.27 GB, free: 3.598 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001689/0.906, allocations: 78.17 kB / 1.27 GB, free: 3.516 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.988e-06/0.906, allocations: 3.938 kB / 1.27 GB, free: 3.512 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.377e-06/0.906, allocations: 0 / 1.27 GB, free: 3.512 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.906, allocations: 3.938 kB / 1.27 GB, free: 3.508 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.963e-05/0.9061, allocations: 51.91 kB / 1.27 GB, free: 3.457 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005604/0.9067, allocations: 491.2 kB / 1.271 GB, free: 2.926 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001045/0.9068, allocations: 169.1 kB / 1.271 GB, free: 2.75 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.119e-05/0.9068, allocations: 80.14 kB / 1.271 GB, free: 2.668 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.588e-05/0.9068, allocations: 75.28 kB / 1.271 GB, free: 2.594 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.86e-05/0.9069, allocations: 109.8 kB / 1.271 GB, free: 2.477 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 8.71e-07/0.9069, allocations: 4 kB / 1.271 GB, free: 2.473 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 7.752e-05/0.907, allocations: 33.66 kB / 1.271 GB, free: 2.434 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.977e-05/0.907, allocations: 134.6 kB / 1.271 GB, free: 2.289 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001809/0.9072, allocations: 171.7 kB / 1.272 GB, free: 2.113 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.979e-05/0.9072, allocations: 25.7 kB / 1.272 GB, free: 2.082 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.04e-05/0.9073, allocations: 96.12 kB / 1.272 GB, free: 1.984 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.846e-06/0.9073, allocations: 0 / 1.272 GB, free: 1.984 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.379e-05/0.9074, allocations: 17.72 kB / 1.272 GB, free: 1.961 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.9075, allocations: 314.8 kB / 1.272 GB, free: 1.645 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.795e-05/0.9075, allocations: 19.92 kB / 1.272 GB, free: 1.625 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.217e-05/0.9075, allocations: 4 kB / 1.272 GB, free: 1.621 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.467e-05/0.9076, allocations: 20.84 kB / 1.272 GB, free: 1.598 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.9076, allocations: 0 / 1.272 GB, free: 1.598 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001176/0.9077, allocations: 49.64 kB / 1.272 GB, free: 1.543 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.9077, allocations: 15.92 kB / 1.272 GB, free: 1.527 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.9077, allocations: 4.094 kB / 1.272 GB, free: 1.523 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.9077, allocations: 0 / 1.272 GB, free: 1.523 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.122e-05/0.9078, allocations: 7.938 kB / 1.272 GB, free: 1.516 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.9078, allocations: 0 / 1.272 GB, free: 1.516 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.798e-05/0.9078, allocations: 7.953 kB / 1.272 GB, free: 1.508 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.9079, allocations: 3.984 kB / 1.272 GB, free: 1.504 MB / 0.9669 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.0001345/0.908, allocations: 189.2 kB / 1.272 GB, free: 1.309 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.26e-05/0.9081, allocations: 117 kB / 1.272 GB, free: 1.188 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.638e-05/0.9082, allocations: 116.8 kB / 1.273 GB, free: 1.062 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.732e-05/0.9083, allocations: 184.2 kB / 1.273 GB, free: 0.875 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.711e-05/0.9084, allocations: 180.3 kB / 1.273 GB, free: 0.6914 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.133e-05/0.9084, allocations: 184.2 kB / 1.273 GB, free: 0.5039 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002959/0.9087, allocations: 413.2 kB / 1.273 GB, free: 44 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.439e-05/0.9088, allocations: 108.9 kB / 1.274 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.559e-05/0.9089, allocations: 109 kB / 1.274 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.604e-05/0.909, allocations: 181.8 kB / 1.274 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.24e-05/0.909, allocations: 180.2 kB / 1.274 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.363e-05/0.9091, allocations: 180.2 kB / 1.274 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.36e-05/0.9092, allocations: 184.2 kB / 1.274 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001644/0.9094, allocations: 311.8 kB / 1.275 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001101/0.9095, allocations: 190 kB / 1.275 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.55e-05/0.9096, allocations: 176.3 kB / 1.275 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.9097, allocations: 120.8 kB / 1.275 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.951e-05/0.9098, allocations: 184.3 kB / 1.275 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.195e-05/0.9098, allocations: 101 kB / 1.275 GB, free: 13.94 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001161/0.9099, allocations: 136.7 kB / 1.276 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.9099, allocations: 0 / 1.276 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002502/0.9102, allocations: 8 kB / 1.276 GB, free: 13.8 MB / 0.9825 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.0006018/0.9108, allocations: 0.8096 MB / 1.276 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 7.717e-05/0.9109, allocations: 8 kB / 1.276 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.9109, allocations: 0 / 1.276 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.27e-06/0.9109, allocations: 3.938 kB / 1.276 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000559/0.9114, allocations: 469.8 kB / 1.277 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001586/0.913, allocations: 1.608 MB / 1.278 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003288/0.9133, allocations: 0.6924 MB / 1.279 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.89e-05/0.9134, allocations: 11.98 kB / 1.279 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.484e-05/0.9134, allocations: 11.44 kB / 1.279 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of SimCode: time 5.61e-07/0.9134, allocations: 3.938 kB / 1.279 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02426/0.9377, allocations: 1.644 MB / 1.281 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.199/9.136, allocations: 8.766 kB / 1.281 GB, free: 8.5 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.3056250968948]