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.001808/0.001808, allocations: 114.8 kB / 17.16 MB, free: 5.895 MB / 14.72 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.002653/0.002653, allocations: 210.2 kB / 20.13 MB, free: 2.949 MB / 14.72 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 1.546/1.546, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 3.009/3.009, allocations: 476.7 MB / 0.7678 GB, free: 9.359 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002929/0.002929, allocations: 67.91 kB / 1.113 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.225/1.228, allocations: 169.9 MB / 1.279 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.002236/1.231, allocations: 0.655 MB / 1.28 GB, free: 11.33 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001838/1.231, allocations: 21.5 kB / 1.28 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.506e-05/1.231, allocations: 0 / 1.28 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001475/1.231, allocations: 6.156 kB / 1.28 GB, free: 11.31 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.826e-05/1.231, allocations: 4.938 kB / 1.28 GB, free: 11.31 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 8.301e-05/1.231, allocations: 6.297 kB / 1.28 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001152/1.231, allocations: 27.83 kB / 1.28 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001567/1.231, allocations: 21.59 kB / 1.28 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.557e-05/1.231, allocations: 16.88 kB / 1.28 GB, free: 11.28 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.143e-05/1.231, allocations: 17.28 kB / 1.28 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.834e-05/1.231, allocations: 3.281 kB / 1.28 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.304e-05/1.231, allocations: 3.25 kB / 1.28 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.959e-05/1.232, allocations: 17.38 kB / 1.28 GB, free: 11.26 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.834e-05/1.232, allocations: 20.95 kB / 1.28 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001228/1.232, allocations: 47.08 kB / 1.28 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/1.232, allocations: 0 / 1.28 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.024e-06/1.232, allocations: 0 / 1.28 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.113e-05/1.232, allocations: 0 / 1.28 GB, free: 11.23 MB / 0.9981 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.00046/1.232, allocations: 349.6 kB / 1.28 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/1.232, allocations: 9.688 kB / 1.28 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.346e-05/1.232, allocations: 1.344 kB / 1.28 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.255e-05/1.232, allocations: 45.88 kB / 1.28 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.685e-05/1.232, allocations: 4.125 kB / 1.28 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002345/1.233, allocations: 187.2 kB / 1.28 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/1.233, allocations: 2.219 kB / 1.28 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.536e-05/1.233, allocations: 3.625 kB / 1.28 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001983/1.233, allocations: 91.47 kB / 1.28 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/1.233, allocations: 0 / 1.28 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/1.233, allocations: 5.156 kB / 1.281 GB, free: 10.53 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/1.233, allocations: 0.875 kB / 1.281 GB, free: 10.53 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.516e-05/1.233, allocations: 53.31 kB / 1.281 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005843/1.233, allocations: 482.9 kB / 1.281 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000118/1.234, allocations: 174.9 kB / 1.281 GB, free: 9.887 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.064e-05/1.234, allocations: 80.14 kB / 1.281 GB, free: 9.805 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.366e-05/1.234, allocations: 76.47 kB / 1.281 GB, free: 9.73 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.067e-05/1.234, allocations: 111.5 kB / 1.281 GB, free: 9.613 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/1.234, allocations: 0 / 1.281 GB, free: 9.613 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 8.929e-05/1.234, allocations: 37.34 kB / 1.281 GB, free: 9.574 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.823e-05/1.234, allocations: 131.4 kB / 1.282 GB, free: 9.434 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002166/1.234, allocations: 171.9 kB / 1.282 GB, free: 9.316 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/1.234, allocations: 26.41 kB / 1.282 GB, free: 9.285 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.707e-05/1.234, allocations: 97.22 kB / 1.282 GB, free: 9.191 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.214e-06/1.234, allocations: 5.125 kB / 1.282 GB, free: 9.188 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.004e-05/1.234, allocations: 13.09 kB / 1.282 GB, free: 9.172 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001613/1.234, allocations: 319.2 kB / 1.282 GB, free: 8.855 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.029e-05/1.234, allocations: 6.812 kB / 1.282 GB, free: 8.855 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.871e-05/1.234, allocations: 9.578 kB / 1.282 GB, free: 8.852 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.164e-05/1.235, allocations: 13.33 kB / 1.282 GB, free: 8.844 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.329e-06/1.235, allocations: 4.109 kB / 1.282 GB, free: 8.84 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001499/1.235, allocations: 61.84 kB / 1.282 GB, free: 8.793 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/1.235, allocations: 4.281 kB / 1.282 GB, free: 8.793 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/1.235, allocations: 1.688 kB / 1.282 GB, free: 8.793 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/1.235, allocations: 3.938 kB / 1.282 GB, free: 8.789 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.062e-05/1.235, allocations: 3.875 kB / 1.282 GB, free: 8.789 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/1.235, allocations: 0 / 1.282 GB, free: 8.789 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.007e-05/1.235, allocations: 8.703 kB / 1.282 GB, free: 8.785 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.142e-05/1.235, allocations: 2.062 kB / 1.282 GB, free: 8.785 MB / 0.9981 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.0001331/1.235, allocations: 197.6 kB / 1.283 GB, free: 8.59 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.428e-05/1.235, allocations: 113.3 kB / 1.283 GB, free: 8.477 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.884e-05/1.235, allocations: 118.4 kB / 1.283 GB, free: 8.355 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-05/1.235, allocations: 182.1 kB / 1.283 GB, free: 8.172 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.8e-05/1.235, allocations: 182 kB / 1.283 GB, free: 7.988 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.24e-05/1.235, allocations: 177 kB / 1.283 GB, free: 7.809 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002912/1.236, allocations: 422.7 kB / 1.284 GB, free: 7.355 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-05/1.236, allocations: 106.7 kB / 1.284 GB, free: 7.246 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.844e-05/1.236, allocations: 102.8 kB / 1.284 GB, free: 7.141 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.841e-05/1.236, allocations: 182.8 kB / 1.284 GB, free: 6.957 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.307e-05/1.236, allocations: 182.1 kB / 1.284 GB, free: 6.773 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.383e-05/1.236, allocations: 181.9 kB / 1.284 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.855e-05/1.236, allocations: 186.1 kB / 1.285 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001748/1.236, allocations: 316 kB / 1.285 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/1.236, allocations: 182.8 kB / 1.285 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.7e-05/1.236, allocations: 178.1 kB / 1.285 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/1.237, allocations: 119.7 kB / 1.285 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.622e-05/1.237, allocations: 182.7 kB / 1.285 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.747e-05/1.237, allocations: 106 kB / 1.286 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001341/1.237, allocations: 130.9 kB / 1.286 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/1.237, allocations: 0.7188 kB / 1.286 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000223/1.237, allocations: 4.25 kB / 1.286 GB, free: 5.195 MB / 0.9981 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.0006297/1.238, allocations: 0.813 MB / 1.287 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001005/1.238, allocations: 17.25 kB / 1.287 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/1.238, allocations: 0 / 1.287 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.116e-06/1.238, allocations: 1.031 kB / 1.287 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005905/1.238, allocations: 471.7 kB / 1.287 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00214/1.241, allocations: 1.6 MB / 1.289 GB, free: 2.527 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003923/1.241, allocations: 0.6893 MB / 1.289 GB, free: 1.832 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.29e-05/1.241, allocations: 6.969 kB / 1.289 GB, free: 1.832 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.176e-05/1.241, allocations: 18.81 kB / 1.289 GB, free: 1.816 MB / 0.9981 GB Notification: Performance of SimCode: time 5.91e-07/1.241, allocations: 0 / 1.289 GB, free: 1.816 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01886/1.26, allocations: 1.689 MB / 1.291 GB, free: 1.391 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.361/9.621, allocations: 14.58 kB / 1.291 GB, free: 1.383 MB / 0.9981 GB " [Timeout remaining time 290] (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/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: 16.459242578945123]