Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001348/0.001348, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.001437/0.001437, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.528/1.528, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.911/2.911, allocations: 0.49 GB / 0.7923 GB, free: 1.273 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax,fileNamePrefix="Buildings_12_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.002/0.002, allocations: 67.91 kB / 1.15 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.024/1.026, allocations: 176.1 MB / 1.322 GB, free: 24.74 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.001796/1.028, allocations: 0.6526 MB / 1.322 GB, free: 24.32 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001615/1.028, allocations: 15.62 kB / 1.322 GB, free: 24.32 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.63e-05/1.028, allocations: 7.938 kB / 1.322 GB, free: 24.31 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001147/1.029, allocations: 2.625 kB / 1.322 GB, free: 24.31 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 3.957e-05/1.029, allocations: 0 / 1.322 GB, free: 24.31 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 7.596e-05/1.029, allocations: 3.234 kB / 1.322 GB, free: 24.31 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.622e-05/1.029, allocations: 29.77 kB / 1.322 GB, free: 24.29 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001411/1.029, allocations: 26.31 kB / 1.322 GB, free: 24.29 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.134e-05/1.029, allocations: 14.48 kB / 1.322 GB, free: 24.28 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 3.336e-05/1.029, allocations: 18.12 kB / 1.322 GB, free: 24.27 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.622e-05/1.029, allocations: 5.219 kB / 1.322 GB, free: 24.27 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.037e-05/1.029, allocations: 2.875 kB / 1.322 GB, free: 24.27 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.465e-05/1.029, allocations: 14.58 kB / 1.322 GB, free: 24.26 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.278e-05/1.029, allocations: 14.72 kB / 1.322 GB, free: 24.25 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001062/1.029, allocations: 54.62 kB / 1.322 GB, free: 24.22 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/1.029, allocations: 0 / 1.322 GB, free: 24.22 MB / 1.061 GB Notification: Performance of FrontEnd: time 3.226e-06/1.029, allocations: 3.047 kB / 1.322 GB, free: 24.22 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.542e-06/1.029, allocations: 0 / 1.322 GB, free: 24.22 MB / 1.061 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.0003228/1.029, allocations: 355.6 kB / 1.323 GB, free: 23.85 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/1.03, allocations: 16.64 kB / 1.323 GB, free: 23.84 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.544e-05/1.03, allocations: 192 / 1.323 GB, free: 23.84 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.553e-05/1.03, allocations: 37.78 kB / 1.323 GB, free: 23.8 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.632e-05/1.03, allocations: 7.797 kB / 1.323 GB, free: 23.79 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/1.03, allocations: 178.3 kB / 1.323 GB, free: 23.59 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/1.03, allocations: 7.219 kB / 1.323 GB, free: 23.59 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.48e-05/1.03, allocations: 7.188 kB / 1.323 GB, free: 23.58 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001524/1.03, allocations: 82.62 kB / 1.323 GB, free: 23.53 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/1.03, allocations: 0 / 1.323 GB, free: 23.53 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/1.03, allocations: 8 kB / 1.323 GB, free: 23.52 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/1.03, allocations: 2.906 kB / 1.323 GB, free: 23.52 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.567e-05/1.03, allocations: 43.73 kB / 1.323 GB, free: 23.52 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003833/1.03, allocations: 492 kB / 1.324 GB, free: 23.06 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 5.163e-05/1.03, allocations: 165.1 kB / 1.324 GB, free: 22.89 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.057e-05/1.03, allocations: 84.14 kB / 1.324 GB, free: 22.8 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.792e-05/1.03, allocations: 75.28 kB / 1.324 GB, free: 22.73 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.06e-05/1.03, allocations: 106 kB / 1.324 GB, free: 22.62 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/1.03, allocations: 3.938 kB / 1.324 GB, free: 22.61 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 6.616e-05/1.031, allocations: 43.22 kB / 1.324 GB, free: 22.57 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.928e-05/1.031, allocations: 130.6 kB / 1.324 GB, free: 22.43 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001281/1.031, allocations: 173 kB / 1.324 GB, free: 22.31 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.39e-06/1.031, allocations: 25.7 kB / 1.324 GB, free: 22.28 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.155e-05/1.031, allocations: 98.38 kB / 1.324 GB, free: 22.18 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.705e-06/1.031, allocations: 0 / 1.324 GB, free: 22.18 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.54e-05/1.031, allocations: 15.06 kB / 1.324 GB, free: 22.17 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.502e-05/1.031, allocations: 318.3 kB / 1.325 GB, free: 21.85 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.593e-05/1.031, allocations: 5.594 kB / 1.325 GB, free: 21.85 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.201e-05/1.031, allocations: 8.5 kB / 1.325 GB, free: 21.85 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.98e-05/1.031, allocations: 19.08 kB / 1.325 GB, free: 21.84 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/1.031, allocations: 2.812 kB / 1.325 GB, free: 21.84 MB / 1.061 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001042/1.031, allocations: 55.05 kB / 1.325 GB, free: 21.79 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.059e-05/1.031, allocations: 5.156 kB / 1.325 GB, free: 21.79 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/1.031, allocations: 0 / 1.325 GB, free: 21.79 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/1.031, allocations: 3.938 kB / 1.325 GB, free: 21.79 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.035e-05/1.031, allocations: 6.266 kB / 1.325 GB, free: 21.79 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.077e-06/1.031, allocations: 0 / 1.325 GB, free: 21.79 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.369e-05/1.031, allocations: 9.891 kB / 1.325 GB, free: 21.79 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.197e-06/1.031, allocations: 8.031 kB / 1.325 GB, free: 21.78 MB / 1.061 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 5.49e-05/1.031, allocations: 194.2 kB / 1.325 GB, free: 21.59 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.107e-05/1.031, allocations: 115.8 kB / 1.325 GB, free: 21.47 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.538e-05/1.031, allocations: 111.2 kB / 1.325 GB, free: 21.36 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.063e-05/1.031, allocations: 183 kB / 1.325 GB, free: 21.17 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.341e-05/1.031, allocations: 184.2 kB / 1.326 GB, free: 20.98 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-05/1.031, allocations: 183.1 kB / 1.326 GB, free: 20.8 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001449/1.031, allocations: 423.8 kB / 1.326 GB, free: 20.35 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.235e-05/1.031, allocations: 101 kB / 1.326 GB, free: 20.24 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.116e-05/1.031, allocations: 101 kB / 1.326 GB, free: 20.14 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.989e-05/1.031, allocations: 184.7 kB / 1.327 GB, free: 19.95 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.037e-05/1.032, allocations: 187.6 kB / 1.327 GB, free: 19.77 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-05/1.032, allocations: 184.1 kB / 1.327 GB, free: 19.58 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.892e-05/1.032, allocations: 179.1 kB / 1.327 GB, free: 19.4 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.741e-05/1.032, allocations: 312.9 kB / 1.327 GB, free: 19.08 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.103e-05/1.032, allocations: 181 kB / 1.328 GB, free: 18.88 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.928e-05/1.032, allocations: 192.1 kB / 1.328 GB, free: 18.68 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.033e-05/1.032, allocations: 115 kB / 1.328 GB, free: 18.57 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.125e-05/1.032, allocations: 176.3 kB / 1.328 GB, free: 18.39 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.256e-05/1.032, allocations: 107.9 kB / 1.328 GB, free: 18.28 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.563e-05/1.032, allocations: 135 kB / 1.328 GB, free: 18.19 MB / 1.061 GB Notification: Performance of sort global known variables: time 7.1e-08/1.032, allocations: 0 / 1.328 GB, free: 18.19 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002187/1.032, allocations: 6.938 kB / 1.328 GB, free: 18.19 MB / 1.061 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.0002181/1.032, allocations: 0.8104 MB / 1.329 GB, free: 17.38 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 7.233e-05/1.032, allocations: 9.656 kB / 1.329 GB, free: 17.38 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/1.032, allocations: 0 / 1.329 GB, free: 17.38 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.563e-06/1.032, allocations: 4.062 kB / 1.329 GB, free: 17.37 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003251/1.033, allocations: 471.7 kB / 1.33 GB, free: 16.91 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009706/1.034, allocations: 1.602 MB / 1.331 GB, free: 15.52 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001334/1.034, allocations: 0.6943 MB / 1.332 GB, free: 14.82 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.288e-05/1.034, allocations: 9.844 kB / 1.332 GB, free: 14.82 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.291e-05/1.034, allocations: 22.22 kB / 1.332 GB, free: 14.8 MB / 1.061 GB Notification: Performance of SimCode: time 3e-07/1.034, allocations: 0 / 1.332 GB, free: 14.8 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01682/1.051, allocations: 1.677 MB / 1.333 GB, free: 14.39 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.615/9.666, allocations: 7.766 kB / 1.333 GB, free: 14.38 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.243559283029754]