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.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.002162/0.002162, allocations: 107.5 kB / 16.45 MB, free: 6.445 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.002221/0.002221, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.504/1.504, allocations: 225.6 MB / 247.8 MB, free: 3.746 MB / 190.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.883/2.883, allocations: 476.7 MB / 0.7611 GB, free: 15.7 MB / 0.6075 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.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: Performance of FrontEnd - loaded program: time 0.002007/0.002007, allocations: 63.91 kB / 1.104 GB, free: 6.52 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.111/1.113, allocations: 168.7 MB / 1.269 GB, free: 7.602 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin): time 0.002087/1.115, allocations: 0.6628 MB / 1.269 GB, free: 7.328 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001713/1.115, allocations: 14.19 kB / 1.269 GB, free: 7.32 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.041e-05/1.115, allocations: 0 / 1.269 GB, free: 7.32 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001104/1.115, allocations: 5.984 kB / 1.269 GB, free: 7.316 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.636e-05/1.115, allocations: 0.9375 kB / 1.269 GB, free: 7.316 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 9.407e-05/1.115, allocations: 2.531 kB / 1.269 GB, free: 7.316 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.000127/1.115, allocations: 47.72 kB / 1.27 GB, free: 7.297 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001327/1.116, allocations: 28.03 kB / 1.27 GB, free: 7.285 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.83e-05/1.116, allocations: 15.44 kB / 1.27 GB, free: 7.277 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.618e-05/1.116, allocations: 17.55 kB / 1.27 GB, free: 7.266 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.637e-05/1.116, allocations: 3.062 kB / 1.27 GB, free: 7.266 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.219e-05/1.116, allocations: 3.625 kB / 1.27 GB, free: 7.266 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.612e-05/1.116, allocations: 12.48 kB / 1.27 GB, free: 7.258 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.524e-05/1.116, allocations: 21.12 kB / 1.27 GB, free: 7.242 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001169/1.116, allocations: 55.16 kB / 1.27 GB, free: 7.219 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/1.116, allocations: 0 / 1.27 GB, free: 7.219 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.154e-06/1.116, allocations: 0.7812 kB / 1.27 GB, free: 7.219 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.725e-06/1.116, allocations: 0.5156 kB / 1.27 GB, free: 7.219 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.0003224/1.116, allocations: 348.3 kB / 1.27 GB, free: 6.848 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/1.116, allocations: 9.688 kB / 1.27 GB, free: 6.848 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.32e-05/1.116, allocations: 42.03 kB / 1.27 GB, free: 6.801 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.727e-05/1.116, allocations: 8.141 kB / 1.27 GB, free: 6.797 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001402/1.116, allocations: 183.2 kB / 1.27 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/1.116, allocations: 10.25 kB / 1.27 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.302e-05/1.116, allocations: 4.219 kB / 1.27 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001684/1.117, allocations: 73.84 kB / 1.27 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/1.117, allocations: 5.578 kB / 1.27 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/1.117, allocations: 4.875 kB / 1.27 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/1.117, allocations: 4.812 kB / 1.27 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.632e-05/1.117, allocations: 48.12 kB / 1.27 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004651/1.117, allocations: 488.1 kB / 1.271 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.594e-05/1.117, allocations: 165.9 kB / 1.271 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.968e-05/1.117, allocations: 89.47 kB / 1.271 GB, free: 5.801 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.237e-05/1.117, allocations: 75.28 kB / 1.271 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/1.117, allocations: 107.8 kB / 1.271 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/1.117, allocations: 4 kB / 1.271 GB, free: 5.609 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 6.802e-05/1.117, allocations: 33.61 kB / 1.271 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.692e-05/1.117, allocations: 131.8 kB / 1.271 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000174/1.118, allocations: 171.6 kB / 1.272 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.511e-06/1.118, allocations: 25.7 kB / 1.272 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.421e-05/1.118, allocations: 93.52 kB / 1.272 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.354e-06/1.118, allocations: 0.9062 kB / 1.272 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.735e-05/1.118, allocations: 12.95 kB / 1.272 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.326e-05/1.118, allocations: 323.3 kB / 1.272 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.92e-05/1.118, allocations: 6.328 kB / 1.272 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.617e-05/1.118, allocations: 14.44 kB / 1.272 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.848e-05/1.118, allocations: 12.42 kB / 1.272 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/1.118, allocations: 1.031 kB / 1.272 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001148/1.118, allocations: 52.33 kB / 1.272 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/1.118, allocations: 6.344 kB / 1.272 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/1.118, allocations: 0 / 1.272 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/1.118, allocations: 8.688 kB / 1.272 GB, free: 4.797 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.789e-05/1.118, allocations: 7.609 kB / 1.272 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/1.118, allocations: 0.5625 kB / 1.272 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.734e-05/1.118, allocations: 8.75 kB / 1.272 GB, free: 4.789 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/1.118, allocations: 1.531 kB / 1.272 GB, free: 4.789 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 7.441e-05/1.118, allocations: 198.5 kB / 1.272 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.106e-05/1.118, allocations: 112.9 kB / 1.272 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.728e-05/1.118, allocations: 118 kB / 1.273 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-05/1.118, allocations: 185.6 kB / 1.273 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.637e-05/1.118, allocations: 178.6 kB / 1.273 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.368e-05/1.118, allocations: 181.5 kB / 1.273 GB, free: 3.809 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002355/1.119, allocations: 419.7 kB / 1.273 GB, free: 19.36 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-05/1.119, allocations: 101.7 kB / 1.274 GB, free: 19.25 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.218e-05/1.119, allocations: 110.3 kB / 1.274 GB, free: 19.14 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.737e-05/1.119, allocations: 178.2 kB / 1.274 GB, free: 18.96 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001588/1.119, allocations: 182.6 kB / 1.274 GB, free: 18.78 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.491e-05/1.119, allocations: 189.6 kB / 1.274 GB, free: 18.59 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.374e-05/1.119, allocations: 177.7 kB / 1.274 GB, free: 18.41 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001799/1.119, allocations: 311.2 kB / 1.275 GB, free: 18.09 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001813/1.119, allocations: 195.1 kB / 1.275 GB, free: 17.88 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001063/1.12, allocations: 179.1 kB / 1.275 GB, free: 17.7 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001253/1.12, allocations: 115.2 kB / 1.275 GB, free: 17.58 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/1.12, allocations: 181.7 kB / 1.275 GB, free: 17.39 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-05/1.12, allocations: 106.5 kB / 1.275 GB, free: 17.29 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001336/1.12, allocations: 134 kB / 1.276 GB, free: 17.2 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/1.12, allocations: 0 / 1.276 GB, free: 17.2 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002569/1.12, allocations: 5.031 kB / 1.276 GB, free: 17.2 MB / 1.014 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.0007201/1.121, allocations: 0.8175 MB / 1.276 GB, free: 16.38 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 8.944e-05/1.121, allocations: 12.27 kB / 1.276 GB, free: 16.38 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/1.121, allocations: 0.7188 kB / 1.276 GB, free: 16.38 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 2.796e-06/1.121, allocations: 0.875 kB / 1.276 GB, free: 16.38 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005861/1.122, allocations: 458.5 kB / 1.277 GB, free: 15.93 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002135/1.124, allocations: 1.614 MB / 1.278 GB, free: 14.52 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005361/1.124, allocations: 0.6888 MB / 1.279 GB, free: 13.82 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.402e-05/1.124, allocations: 7.719 kB / 1.279 GB, free: 13.82 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.638e-05/1.124, allocations: 18.73 kB / 1.279 GB, free: 13.81 MB / 1.014 GB Notification: Performance of SimCode: time 3.11e-07/1.124, allocations: 0 / 1.279 GB, free: 13.81 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02388/1.148, allocations: 1.638 MB / 1.281 GB, free: 13.41 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.104/9.252, allocations: 9.078 kB / 1.281 GB, free: 13.41 MB / 1.014 GB " [Timeout remaining time 291] (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_2/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: 15.751819658093154]