Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.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.00154/0.00154, allocations: 105.9 kB / 16.45 MB, free: 6.488 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.001852/0.001852, allocations: 196.6 kB / 19.41 MB, free: 3.68 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.442/1.442, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.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.726/2.726, allocations: 476.7 MB / 0.7611 GB, free: 11.28 MB / 0.6231 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.Min,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Min,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00193/0.00193, allocations: 63.89 kB / 1.104 GB, free: 9.207 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8539/0.8558, allocations: 168.7 MB / 1.269 GB, free: 5.277 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Min): time 0.002102/0.8579, allocations: 0.7041 MB / 1.269 GB, free: 4.574 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001052/0.8589, allocations: 0.804 MB / 1.27 GB, free: 3.758 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.103e-05/0.859, allocations: 0 / 1.27 GB, free: 3.758 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.795e-05/0.859, allocations: 3.938 kB / 1.27 GB, free: 3.754 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001098/0.8591, allocations: 15.91 kB / 1.27 GB, free: 3.738 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001025/0.8592, allocations: 11.98 kB / 1.27 GB, free: 3.727 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001121/0.8593, allocations: 43.86 kB / 1.27 GB, free: 3.684 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.8594, allocations: 11.98 kB / 1.27 GB, free: 3.672 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.162e-05/0.8595, allocations: 23.86 kB / 1.27 GB, free: 3.648 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.417e-05/0.8596, allocations: 19.92 kB / 1.27 GB, free: 3.629 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.945e-05/0.8596, allocations: 8 kB / 1.27 GB, free: 3.621 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.573e-05/0.8596, allocations: 4 kB / 1.27 GB, free: 3.617 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.018e-05/0.8596, allocations: 11.92 kB / 1.27 GB, free: 3.605 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.584e-05/0.8597, allocations: 19.92 kB / 1.27 GB, free: 3.586 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001071/0.8598, allocations: 37.98 kB / 1.27 GB, free: 3.551 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.8598, allocations: 3.938 kB / 1.27 GB, free: 3.547 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.214e-06/0.8598, allocations: 0 / 1.27 GB, free: 3.547 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.526e-06/0.8598, allocations: 0 / 1.27 GB, free: 3.547 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007882/0.8606, allocations: 371.2 kB / 1.271 GB, free: 3.133 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.8606, allocations: 8.031 kB / 1.271 GB, free: 3.125 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.39e-05/0.8607, allocations: 34.69 kB / 1.271 GB, free: 3.082 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.041e-05/0.8607, allocations: 12.89 kB / 1.271 GB, free: 3.07 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001657/0.8609, allocations: 164.4 kB / 1.271 GB, free: 2.871 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.8609, allocations: 384 / 1.271 GB, free: 2.871 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.566e-05/0.8609, allocations: 4.359 kB / 1.271 GB, free: 2.867 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002744/0.8612, allocations: 74.2 kB / 1.271 GB, free: 2.789 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/0.8612, allocations: 7.938 kB / 1.271 GB, free: 2.781 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.8612, allocations: 0 / 1.271 GB, free: 2.781 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.8612, allocations: 0 / 1.271 GB, free: 2.781 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002759/0.8615, allocations: 63.92 kB / 1.271 GB, free: 2.719 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004236/0.8619, allocations: 272.8 kB / 1.271 GB, free: 2.402 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002125/0.8621, allocations: 54.55 kB / 1.272 GB, free: 2.34 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001515/0.8622, allocations: 36.91 kB / 1.272 GB, free: 2.301 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.414e-05/0.8623, allocations: 0 / 1.272 GB, free: 2.301 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.61e-05/0.8623, allocations: 38.56 kB / 1.272 GB, free: 2.254 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 3.276e-06/0.8623, allocations: 4 kB / 1.272 GB, free: 2.25 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0005312/0.8628, allocations: 125.5 kB / 1.272 GB, free: 2.121 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.882e-05/0.8629, allocations: 55.39 kB / 1.272 GB, free: 2.055 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.863, allocations: 105.8 kB / 1.272 GB, free: 1.941 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.599e-05/0.8631, allocations: 33.69 kB / 1.272 GB, free: 1.902 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.743e-05/0.8631, allocations: 88.14 kB / 1.272 GB, free: 1.812 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.305e-05/0.8632, allocations: 11.84 kB / 1.272 GB, free: 1.801 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.92e-05/0.8632, allocations: 17.72 kB / 1.272 GB, free: 1.777 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001608/0.8634, allocations: 314.8 kB / 1.272 GB, free: 1.461 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001472/0.8635, allocations: 31.97 kB / 1.272 GB, free: 1.43 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001341/0.8636, allocations: 35.95 kB / 1.272 GB, free: 1.395 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003352/0.864, allocations: 68.73 kB / 1.272 GB, free: 1.324 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.864, allocations: 0 / 1.272 GB, free: 1.324 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003142/0.8643, allocations: 101.5 kB / 1.273 GB, free: 1.219 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.8643, allocations: 8 kB / 1.273 GB, free: 1.211 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-06/0.8643, allocations: 3.938 kB / 1.273 GB, free: 1.207 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.8643, allocations: 3.938 kB / 1.273 GB, free: 1.203 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001288/0.8644, allocations: 15.98 kB / 1.273 GB, free: 1.188 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.8645, allocations: 0 / 1.273 GB, free: 1.188 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.022e-05/0.8645, allocations: 15.94 kB / 1.273 GB, free: 1.172 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.8645, allocations: 0 / 1.273 GB, free: 1.172 MB / 0.9669 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 (3): * Single equations (assignments): 3 * 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.0001576/0.8647, allocations: 121.8 kB / 1.273 GB, free: 1.043 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.615e-05/0.8647, allocations: 3.984 kB / 1.273 GB, free: 1.039 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003816/0.8651, allocations: 109.5 kB / 1.273 GB, free: 0.9141 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.8651, allocations: 384 / 1.273 GB, free: 0.9141 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.8651, allocations: 0 / 1.273 GB, free: 0.9141 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.8651, allocations: 0 / 1.273 GB, free: 0.9141 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001933/0.8653, allocations: 169.6 kB / 1.273 GB, free: 0.6992 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.448e-05/0.8653, allocations: 11.98 kB / 1.273 GB, free: 0.6875 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.512e-05/0.8654, allocations: 19.97 kB / 1.273 GB, free: 0.668 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.8654, allocations: 0 / 1.273 GB, free: 0.668 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-06/0.8654, allocations: 0 / 1.273 GB, free: 0.668 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.8654, allocations: 0 / 1.273 GB, free: 0.668 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.8654, allocations: 0 / 1.273 GB, free: 0.668 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003938/0.8658, allocations: 207.3 kB / 1.273 GB, free: 460 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.974e-05/0.8659, allocations: 77.11 kB / 1.273 GB, free: 364 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.695e-05/0.8659, allocations: 3.984 kB / 1.273 GB, free: 360 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.866, allocations: 11.98 kB / 1.273 GB, free: 348 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.106e-05/0.866, allocations: 0 / 1.273 GB, free: 348 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.8661, allocations: 4 kB / 1.273 GB, free: 344 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.257e-05/0.8661, allocations: 87.27 kB / 1.273 GB, free: 256 kB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.8661, allocations: 0 / 1.273 GB, free: 256 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002193/0.8663, allocations: 12 kB / 1.273 GB, free: 244 kB / 0.9669 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 (3): * Single equations (assignments): 3 * 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.0009397/0.8673, allocations: 0.7316 MB / 1.274 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003189/0.8676, allocations: 71.86 kB / 1.274 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.8676, allocations: 0 / 1.274 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001377/0.8677, allocations: 31.97 kB / 1.274 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003202/0.8681, allocations: 14.02 kB / 1.274 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005042/0.8686, allocations: 163.1 kB / 1.274 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003632/0.8689, allocations: 0.6806 MB / 1.275 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.771e-05/0.8689, allocations: 4 kB / 1.275 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.504e-05/0.869, allocations: 19.31 kB / 1.275 GB, free: 14.44 MB / 0.9825 GB Notification: Performance of SimCode: time 3.1e-07/0.869, allocations: 0 / 1.275 GB, free: 14.44 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02564/0.8946, allocations: 1.636 MB / 1.277 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.332/9.227, allocations: 9.672 kB / 1.277 GB, free: 12.88 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Min_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Min.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Min.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.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.108367441222072]