Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.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.001682/0.001682, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002141/0.002141, allocations: 214.3 kB / 22.25 MB, free: 5.262 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 / 256 MB, free: 7.773 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 2.877/2.877, allocations: 476 MB / 0.7699 GB, free: 4.723 MB / 0.6231 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.MultiMin,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin",fmuType="me",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.002167/0.002167, allocations: 66.61 kB / 1.117 GB, free: 40.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4033/0.4054, allocations: 170 MB / 1.283 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin): time 0.00207/0.4075, allocations: 0.6419 MB / 1.283 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001871/0.4077, allocations: 15.98 kB / 1.283 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.549e-05/0.4077, allocations: 0 / 1.283 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001092/0.4078, allocations: 3.938 kB / 1.283 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.012e-05/0.4079, allocations: 11.98 kB / 1.283 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 9.993e-05/0.408, allocations: 0 / 1.283 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001233/0.4081, allocations: 39.91 kB / 1.283 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.4082, allocations: 21.67 kB / 1.283 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.787e-05/0.4082, allocations: 19.88 kB / 1.283 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.498e-05/0.4083, allocations: 15.92 kB / 1.283 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.983e-05/0.4083, allocations: 4 kB / 1.283 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.201e-05/0.4083, allocations: 0 / 1.283 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.142e-05/0.4083, allocations: 11.94 kB / 1.283 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.722e-05/0.4084, allocations: 19.86 kB / 1.283 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001075/0.4085, allocations: 47.39 kB / 1.283 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.4085, allocations: 0 / 1.283 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.114e-06/0.4085, allocations: 0 / 1.283 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.4085, allocations: 3.938 kB / 1.283 GB, free: 11.38 MB / 0.9825 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.0003764/0.4089, allocations: 278.2 kB / 1.284 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.4089, allocations: 11.97 kB / 1.284 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.251e-05/0.409, allocations: 38.75 kB / 1.284 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.76e-05/0.409, allocations: 8.922 kB / 1.284 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000172/0.4092, allocations: 122.5 kB / 1.284 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.4092, allocations: 384 / 1.284 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.759e-05/0.4092, allocations: 8.375 kB / 1.284 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001725/0.4094, allocations: 82.22 kB / 1.284 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.4094, allocations: 3.938 kB / 1.284 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.4094, allocations: 0 / 1.284 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.4094, allocations: 0 / 1.284 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.946e-05/0.4095, allocations: 51.91 kB / 1.284 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005208/0.41, allocations: 454.2 kB / 1.284 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001022/0.4101, allocations: 169.1 kB / 1.285 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.798e-05/0.4101, allocations: 92.14 kB / 1.285 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.432e-05/0.4102, allocations: 75.28 kB / 1.285 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.476e-05/0.4102, allocations: 105.8 kB / 1.285 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/0.4102, allocations: 4 kB / 1.285 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 8.072e-05/0.4103, allocations: 37.72 kB / 1.285 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.374e-05/0.4104, allocations: 138.6 kB / 1.285 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002061/0.4106, allocations: 172.3 kB / 1.285 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/0.4106, allocations: 25.7 kB / 1.285 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.65e-05/0.4107, allocations: 96.09 kB / 1.285 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.565e-06/0.4107, allocations: 0 / 1.285 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.356e-05/0.4107, allocations: 17.7 kB / 1.285 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.4109, allocations: 314.8 kB / 1.286 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.9e-05/0.4109, allocations: 7.984 kB / 1.286 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.478e-05/0.4109, allocations: 12 kB / 1.286 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.595e-05/0.411, allocations: 16.91 kB / 1.286 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.411, allocations: 0 / 1.286 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001203/0.4111, allocations: 53.62 kB / 1.286 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.4111, allocations: 4 kB / 1.286 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.4111, allocations: 3.938 kB / 1.286 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.4111, allocations: 0 / 1.286 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.724e-05/0.4112, allocations: 7.938 kB / 1.286 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.4112, allocations: 3.984 kB / 1.286 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.443e-05/0.4112, allocations: 11.89 kB / 1.286 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.4112, allocations: 4.031 kB / 1.286 GB, free: 8.797 MB / 0.9825 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.0001329/0.4114, allocations: 197.1 kB / 1.286 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.417e-05/0.4114, allocations: 108.9 kB / 1.286 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.674e-05/0.4115, allocations: 116.7 kB / 1.286 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001253/0.4116, allocations: 180.2 kB / 1.286 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.218e-05/0.4117, allocations: 184.2 kB / 1.287 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.93e-05/0.4118, allocations: 180.3 kB / 1.287 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002714/0.4121, allocations: 386.1 kB / 1.287 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.135e-05/0.4121, allocations: 105 kB / 1.287 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.878e-05/0.4122, allocations: 112.9 kB / 1.287 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.729e-05/0.4123, allocations: 184.2 kB / 1.287 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-05/0.4124, allocations: 176.3 kB / 1.288 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.756e-05/0.4124, allocations: 184.2 kB / 1.288 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.112e-05/0.4125, allocations: 184.2 kB / 1.288 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001752/0.4127, allocations: 311.7 kB / 1.288 GB, free: 6.082 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.732e-05/0.4128, allocations: 113 kB / 1.288 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.951e-05/0.4129, allocations: 176.3 kB / 1.289 GB, free: 5.785 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/0.413, allocations: 116.8 kB / 1.289 GB, free: 5.664 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.633e-05/0.413, allocations: 176.3 kB / 1.289 GB, free: 5.484 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.095e-05/0.4131, allocations: 108.9 kB / 1.289 GB, free: 5.371 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001106/0.4132, allocations: 131.2 kB / 1.289 GB, free: 5.242 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.4132, allocations: 4 kB / 1.289 GB, free: 5.238 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002349/0.4134, allocations: 4 kB / 1.289 GB, free: 5.234 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.000634/0.4141, allocations: 0.8091 MB / 1.29 GB, free: 4.398 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 7.535e-05/0.4141, allocations: 7.938 kB / 1.29 GB, free: 4.391 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.4141, allocations: 0 / 1.29 GB, free: 4.391 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.463e-06/0.4142, allocations: 0 / 1.29 GB, free: 4.391 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005295/0.4147, allocations: 474.5 kB / 1.29 GB, free: 3.926 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001621/0.4163, allocations: 1.602 MB / 1.292 GB, free: 2.242 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.049e-05/0.4164, allocations: 79.39 kB / 1.292 GB, free: 2.145 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.641e-05/0.4164, allocations: 4 kB / 1.292 GB, free: 2.141 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.235e-05/0.4165, allocations: 23.42 kB / 1.292 GB, free: 2.117 MB / 0.9825 GB Notification: Performance of SimCode: time 6.31e-07/0.4165, allocations: 3.938 kB / 1.292 GB, free: 2.113 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02964/0.4461, allocations: 2.149 MB / 1.294 GB, free: 100 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.78, allocations: 5.312 kB / 1.294 GB, free: 96 kB / 0.9825 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.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: 18.81468970514834]