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.001389/0.001389, allocations: 112.9 kB / 17.54 MB, free: 4.641 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.001435/0.001435, allocations: 189.9 kB / 20.71 MB, free: 1.484 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.313/1.313, allocations: 225.6 MB / 249.3 MB, free: 3.191 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.515/2.515, allocations: 476.7 MB / 0.7628 GB, free: 15.08 MB / 0.6075 GB " [Timeout remaining time 177] 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.001776/0.001776, allocations: 67.88 kB / 1.107 GB, free: 5.074 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8272/0.8289, allocations: 168.7 MB / 1.271 GB, free: 7.664 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin): time 0.001607/0.8305, allocations: 0.6617 MB / 1.272 GB, free: 7.266 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001355/0.8307, allocations: 14.2 kB / 1.272 GB, free: 7.258 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.244e-05/0.8307, allocations: 0 / 1.272 GB, free: 7.258 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 8.768e-05/0.8308, allocations: 10.61 kB / 1.272 GB, free: 7.25 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 2.94e-05/0.8308, allocations: 0.6875 kB / 1.272 GB, free: 7.25 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 7.75e-05/0.8309, allocations: 3.141 kB / 1.272 GB, free: 7.25 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001039/0.831, allocations: 40.48 kB / 1.272 GB, free: 7.234 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.8311, allocations: 21.83 kB / 1.272 GB, free: 7.223 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.366e-05/0.8311, allocations: 16.09 kB / 1.272 GB, free: 7.215 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.356e-05/0.8312, allocations: 15.11 kB / 1.272 GB, free: 7.207 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.542e-05/0.8312, allocations: 2.625 kB / 1.272 GB, free: 7.207 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.138e-05/0.8312, allocations: 7.531 kB / 1.272 GB, free: 7.203 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.784e-05/0.8312, allocations: 11.52 kB / 1.272 GB, free: 7.195 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.202e-05/0.8313, allocations: 18.78 kB / 1.272 GB, free: 7.184 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 9.658e-05/0.8314, allocations: 58.14 kB / 1.272 GB, free: 7.156 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.8314, allocations: 0.8438 kB / 1.272 GB, free: 7.156 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.363e-06/0.8314, allocations: 0 / 1.272 GB, free: 7.156 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.8314, allocations: 0 / 1.272 GB, free: 7.156 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.0002629/0.8316, allocations: 344.9 kB / 1.273 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.8317, allocations: 9.562 kB / 1.273 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.717e-05/0.8317, allocations: 45.69 kB / 1.273 GB, free: 6.738 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.19e-05/0.8317, allocations: 8.203 kB / 1.273 GB, free: 6.734 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/0.8318, allocations: 183.1 kB / 1.273 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.145e-06/0.8318, allocations: 6.594 kB / 1.273 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.35e-05/0.8319, allocations: 3.562 kB / 1.273 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001451/0.832, allocations: 79.05 kB / 1.273 GB, free: 6.477 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.832, allocations: 3.938 kB / 1.273 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.832, allocations: 1.531 kB / 1.273 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.832, allocations: 0.9062 kB / 1.273 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.577e-05/0.8321, allocations: 48.48 kB / 1.273 GB, free: 6.461 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003608/0.8325, allocations: 491.8 kB / 1.273 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.324e-05/0.8325, allocations: 166.6 kB / 1.274 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.312e-05/0.8325, allocations: 84.08 kB / 1.274 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.045e-05/0.8325, allocations: 76.86 kB / 1.274 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.64e-05/0.8325, allocations: 110.8 kB / 1.274 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.8325, allocations: 0 / 1.274 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 5.993e-05/0.8326, allocations: 38.06 kB / 1.274 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.502e-05/0.8326, allocations: 131.2 kB / 1.274 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000147/0.8328, allocations: 171 kB / 1.274 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.749e-06/0.8328, allocations: 26.91 kB / 1.274 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.67e-05/0.8328, allocations: 97.64 kB / 1.274 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.754e-06/0.8328, allocations: 4 kB / 1.274 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.386e-05/0.8328, allocations: 13.77 kB / 1.274 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.987e-05/0.8329, allocations: 319.3 kB / 1.275 GB, free: 4.797 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.727e-05/0.8329, allocations: 6.359 kB / 1.275 GB, free: 4.797 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.42e-05/0.8329, allocations: 10.52 kB / 1.275 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.919e-05/0.8329, allocations: 16.3 kB / 1.275 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.8329, allocations: 0 / 1.275 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001011/0.8331, allocations: 57.39 kB / 1.275 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.8331, allocations: 5.828 kB / 1.275 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.8331, allocations: 4.5 kB / 1.275 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.8331, allocations: 0.8125 kB / 1.275 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.962e-05/0.8331, allocations: 7.391 kB / 1.275 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.127e-06/0.8331, allocations: 0.75 kB / 1.275 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.53e-05/0.8332, allocations: 8.281 kB / 1.275 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-06/0.8332, allocations: 1.562 kB / 1.275 GB, free: 4.727 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 5.681e-05/0.8332, allocations: 202 kB / 1.275 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.671e-05/0.8333, allocations: 109.1 kB / 1.275 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.915e-05/0.8333, allocations: 110.3 kB / 1.275 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.162e-05/0.8333, allocations: 186.7 kB / 1.275 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.252e-05/0.8333, allocations: 181.8 kB / 1.276 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.02e-05/0.8334, allocations: 181.7 kB / 1.276 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001331/0.8335, allocations: 422.6 kB / 1.276 GB, free: 3.297 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-05/0.8335, allocations: 110.6 kB / 1.276 GB, free: 3.184 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.718e-05/0.8336, allocations: 106.5 kB / 1.276 GB, free: 19.07 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.94e-05/0.8336, allocations: 178.4 kB / 1.276 GB, free: 18.89 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.719e-05/0.8337, allocations: 182 kB / 1.277 GB, free: 18.71 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.858e-05/0.8338, allocations: 182 kB / 1.277 GB, free: 18.53 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.689e-05/0.8338, allocations: 181.8 kB / 1.277 GB, free: 18.34 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001342/0.834, allocations: 310.8 kB / 1.277 GB, free: 18.02 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 8.698e-05/0.834, allocations: 191.2 kB / 1.277 GB, free: 17.82 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.866e-05/0.8341, allocations: 183.1 kB / 1.278 GB, free: 17.63 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.437e-05/0.8342, allocations: 115.7 kB / 1.278 GB, free: 17.52 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.163e-05/0.8343, allocations: 181.4 kB / 1.278 GB, free: 17.33 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-05/0.8343, allocations: 102.7 kB / 1.278 GB, free: 17.23 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001019/0.8344, allocations: 134.1 kB / 1.278 GB, free: 17.14 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.8344, allocations: 0 / 1.278 GB, free: 17.14 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002001/0.8346, allocations: 4.875 kB / 1.278 GB, free: 17.14 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.000435/0.8351, allocations: 0.817 MB / 1.279 GB, free: 16.32 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 6.227e-05/0.8351, allocations: 7.344 kB / 1.279 GB, free: 16.32 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.8351, allocations: 1.094 kB / 1.279 GB, free: 16.32 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.352e-06/0.8351, allocations: 0 / 1.279 GB, free: 16.32 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003969/0.8355, allocations: 472.3 kB / 1.279 GB, free: 15.86 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001222/0.8367, allocations: 1.606 MB / 1.281 GB, free: 14.46 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002775/0.837, allocations: 0.6942 MB / 1.282 GB, free: 13.76 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.285e-05/0.837, allocations: 5.312 kB / 1.282 GB, free: 13.76 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.546e-05/0.8371, allocations: 17.14 kB / 1.282 GB, free: 13.75 MB / 1.014 GB Notification: Performance of SimCode: time 3.61e-07/0.8371, allocations: 0.875 kB / 1.282 GB, free: 13.75 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02037/0.8575, allocations: 1.622 MB / 1.283 GB, free: 13.36 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.797/7.654, allocations: 5.188 kB / 1.283 GB, free: 13.36 MB / 1.014 GB " [Timeout remaining time 292] (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 --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: 12.96791995700005]