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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000813/0.000813, allocations: 72.45 kB / 19.17 MB, free: 0.7344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009706/0.0009706, allocations: 173.9 kB / 22.46 MB, free: 2.09 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.917/0.917, allocations: 177.1 MB / 202.8 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.685/1.685, allocations: 359 MB / 0.6037 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 3.396e-06/3.396e-06, allocations: 0 / 0.9506 GB, free: 3.41 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.878e-05/3.218e-05, allocations: 5.516 kB / 0.9506 GB, free: 3.406 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.002179/0.002211, allocations: 0.6523 MB / 0.9512 GB, free: 2.746 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0001782/0.00239, allocations: 15.88 kB / 0.9512 GB, free: 2.73 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.293e-05/0.002443, allocations: 0 / 0.9512 GB, free: 2.73 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0001132/0.002556, allocations: 11.92 kB / 0.9512 GB, free: 2.719 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 4.286e-05/0.002599, allocations: 0 / 0.9512 GB, free: 2.719 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 7.392e-05/0.002673, allocations: 8 kB / 0.9512 GB, free: 2.711 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 9.647e-05/0.002769, allocations: 19.92 kB / 0.9513 GB, free: 2.691 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001556/0.002925, allocations: 23.97 kB / 0.9513 GB, free: 2.668 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 4.421e-05/0.002969, allocations: 15.98 kB / 0.9513 GB, free: 2.652 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.035e-05/0.003009, allocations: 19.92 kB / 0.9513 GB, free: 2.633 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 3.592e-05/0.003045, allocations: 0 / 0.9513 GB, free: 2.633 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 1.452e-05/0.00306, allocations: 4 kB / 0.9513 GB, free: 2.629 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 3.608e-05/0.003096, allocations: 11.98 kB / 0.9513 GB, free: 2.617 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.235e-05/0.003128, allocations: 15.94 kB / 0.9513 GB, free: 2.602 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001393/0.003267, allocations: 51.73 kB / 0.9514 GB, free: 2.551 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.00327, allocations: 0 / 0.9514 GB, free: 2.551 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.342e-06/0.003271, allocations: 0 / 0.9514 GB, free: 2.551 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.918e-06/0.003275, allocations: 0 / 0.9514 GB, free: 2.551 MB / 0.9011 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.0002819/0.003557, allocations: 278.2 kB / 0.9517 GB, free: 2.246 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.003595, allocations: 8.031 kB / 0.9517 GB, free: 2.238 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.182e-05/0.003627, allocations: 42.69 kB / 0.9517 GB, free: 2.188 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.257e-05/0.003649, allocations: 4.891 kB / 0.9517 GB, free: 2.184 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001321/0.003782, allocations: 125.7 kB / 0.9518 GB, free: 2.035 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.085e-06/0.00379, allocations: 384 / 0.9518 GB, free: 2.035 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.141e-05/0.003801, allocations: 12.38 kB / 0.9518 GB, free: 2.023 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001338/0.003935, allocations: 82.09 kB / 0.9519 GB, free: 1.938 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.003943, allocations: 4.188 kB / 0.9519 GB, free: 1.934 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.003952, allocations: 384 / 0.9519 GB, free: 1.934 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.003958, allocations: 4.125 kB / 0.9519 GB, free: 1.93 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.563e-05/0.004013, allocations: 51.91 kB / 0.952 GB, free: 1.879 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003808/0.004394, allocations: 450.2 kB / 0.9524 GB, free: 1.395 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 6.119e-05/0.004455, allocations: 165.1 kB / 0.9526 GB, free: 1.223 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.185e-05/0.004477, allocations: 80.14 kB / 0.9526 GB, free: 1.141 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 2.125e-05/0.004499, allocations: 83.28 kB / 0.9527 GB, free: 1.059 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.162e-05/0.00453, allocations: 109.8 kB / 0.9528 GB, free: 0.9414 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=0): time 7.91e-07/0.004531, allocations: 0 / 0.9528 GB, free: 0.9414 MB / 0.9011 GB Notification: Performance of matching and sorting (n=0): time 5.837e-05/0.004589, allocations: 37.59 kB / 0.9529 GB, free: 0.8984 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.781e-05/0.004637, allocations: 130.7 kB / 0.953 GB, free: 0.7578 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001222/0.004759, allocations: 175.9 kB / 0.9532 GB, free: 0.5781 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 8.656e-06/0.004768, allocations: 25.7 kB / 0.9532 GB, free: 0.5469 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 4.565e-05/0.004814, allocations: 92.14 kB / 0.9533 GB, free: 464 kB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 2.344e-06/0.004816, allocations: 0 / 0.9533 GB, free: 464 kB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.712e-05/0.004843, allocations: 17.7 kB / 0.9533 GB, free: 440 kB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 8.729e-05/0.00493, allocations: 318.8 kB / 0.9536 GB, free: 112 kB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.837e-05/0.004949, allocations: 7.984 kB / 0.9536 GB, free: 104 kB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.577e-05/0.004965, allocations: 12 kB / 0.9536 GB, free: 92 kB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.134e-05/0.005006, allocations: 16.84 kB / 0.9536 GB, free: 72 kB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.005008, allocations: 0 / 0.9536 GB, free: 72 kB / 0.9011 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001317/0.00514, allocations: 53.58 kB / 0.9537 GB, free: 12 kB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.005158, allocations: 8.109 kB / 0.9537 GB, free: 4 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.005163, allocations: 3.938 kB / 0.9537 GB, free: 0 / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.005178, allocations: 0 / 0.9537 GB, free: 0 / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.606e-05/0.005264, allocations: 8.078 kB / 0.9537 GB, free: 15.99 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.005271, allocations: 3.984 kB / 0.9537 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.923e-05/0.0053, allocations: 19.92 kB / 0.9537 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.005311, allocations: 0 / 0.9537 GB, free: 15.96 MB / 0.9167 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.0001/0.005411, allocations: 197.1 kB / 0.9539 GB, free: 15.76 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.223e-05/0.005473, allocations: 105 kB / 0.954 GB, free: 15.65 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.111e-05/0.005524, allocations: 112.7 kB / 0.9541 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.329e-05/0.005577, allocations: 180.3 kB / 0.9543 GB, free: 15.35 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.2e-05/0.005639, allocations: 184.2 kB / 0.9545 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.962e-05/0.005699, allocations: 180.9 kB / 0.9546 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002407/0.00594, allocations: 392.2 kB / 0.955 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-05/0.005975, allocations: 108.9 kB / 0.9551 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.176e-05/0.006007, allocations: 105 kB / 0.9552 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-05/0.006059, allocations: 188.2 kB / 0.9554 GB, free: 14.13 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.278e-05/0.006112, allocations: 176.5 kB / 0.9556 GB, free: 13.95 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.696e-05/0.006169, allocations: 184.3 kB / 0.9557 GB, free: 13.77 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.283e-05/0.006222, allocations: 180.2 kB / 0.9559 GB, free: 13.58 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001309/0.006353, allocations: 319.6 kB / 0.9562 GB, free: 13.25 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 5.07e-05/0.006403, allocations: 108.9 kB / 0.9563 GB, free: 13.13 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.681e-05/0.00647, allocations: 176.3 kB / 0.9565 GB, free: 12.95 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.605e-05/0.006566, allocations: 116.9 kB / 0.9566 GB, free: 12.83 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.111e-05/0.006627, allocations: 176.3 kB / 0.9568 GB, free: 12.65 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.679e-05/0.006664, allocations: 108.9 kB / 0.9569 GB, free: 12.54 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001088/0.006773, allocations: 143.2 kB / 0.957 GB, free: 12.4 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7e-08/0.006773, allocations: 0 / 0.957 GB, free: 12.4 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002913/0.007064, allocations: 4 kB / 0.957 GB, free: 12.39 MB / 0.9167 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.0003806/0.007445, allocations: 0.8009 MB / 0.9578 GB, free: 11.57 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 7.72e-05/0.007522, allocations: 15.94 kB / 0.9578 GB, free: 11.55 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.007524, allocations: 0 / 0.9578 GB, free: 11.55 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 1.452e-06/0.007525, allocations: 0 / 0.9578 GB, free: 11.55 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004378/0.007963, allocations: 465.7 kB / 0.9582 GB, free: 11.09 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001383/0.009346, allocations: 1.611 MB / 0.9598 GB, free: 9.398 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.963e-05/0.009416, allocations: 71.33 kB / 0.9599 GB, free: 9.309 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.843e-05/0.009444, allocations: 7.984 kB / 0.9599 GB, free: 9.301 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.117e-05/0.009495, allocations: 20.5 kB / 0.9599 GB, free: 9.281 MB / 0.9167 GB Notification: Performance of SimCode: time 4.91e-07/0.009496, allocations: 0 / 0.9599 GB, free: 9.281 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01844/0.02793, allocations: 2.295 MB / 0.9622 GB, free: 7.129 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.653/6.68, allocations: 10.25 kB / 0.9622 GB, free: 7.121 MB / 0.9167 GB " [Timeout remaining time 293] (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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 10.803594228811562]