Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.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.001273/0.001273, allocations: 105.6 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.001301/0.001301, 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.485/1.485, allocations: 225.6 MB / 247.8 MB, free: 3.727 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.787/2.787, allocations: 476.7 MB / 0.7611 GB, free: 15.82 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.Utilities.Validation.Assert,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001943/0.001943, allocations: 67.89 kB / 1.104 GB, free: 6.598 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.02/1.022, allocations: 168.7 MB / 1.269 GB, free: 7.629 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001914/1.023, allocations: 0.6054 MB / 1.269 GB, free: 7.367 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001329/1.025, allocations: 1.114 MB / 1.27 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.807e-05/1.025, allocations: 3.156 kB / 1.27 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.41e-05/1.025, allocations: 3.938 kB / 1.27 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.395e-05/1.025, allocations: 9.547 kB / 1.27 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000452/1.025, allocations: 118.2 kB / 1.271 GB, free: 6.484 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001512/1.026, allocations: 90.12 kB / 1.271 GB, free: 6.449 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.114e-05/1.026, allocations: 7.422 kB / 1.271 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.229e-05/1.026, allocations: 37.08 kB / 1.271 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.915e-05/1.026, allocations: 27.34 kB / 1.271 GB, free: 6.422 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.176e-05/1.026, allocations: 7.438 kB / 1.271 GB, free: 6.422 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.234e-05/1.026, allocations: 25.83 kB / 1.271 GB, free: 6.414 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.766e-05/1.026, allocations: 2.812 kB / 1.271 GB, free: 6.414 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.394e-05/1.026, allocations: 35.48 kB / 1.271 GB, free: 6.395 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001666/1.026, allocations: 78.83 kB / 1.271 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/1.026, allocations: 0.7812 kB / 1.271 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.653e-06/1.026, allocations: 3.938 kB / 1.271 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.279e-06/1.026, allocations: 0.8438 kB / 1.271 GB, free: 6.367 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003824/1.027, allocations: 380.6 kB / 1.271 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/1.027, allocations: 9.031 kB / 1.271 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.655e-05/1.027, allocations: 32.81 kB / 1.271 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.893e-05/1.027, allocations: 9.141 kB / 1.271 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.924e-05/1.027, allocations: 167.1 kB / 1.271 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/1.027, allocations: 3.297 kB / 1.271 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.579e-05/1.027, allocations: 13.95 kB / 1.271 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.65e-05/1.027, allocations: 34.06 kB / 1.271 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/1.027, allocations: 3.938 kB / 1.271 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.277e-06/1.027, allocations: 5.469 kB / 1.271 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/1.027, allocations: 0 / 1.271 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.354e-05/1.027, allocations: 8.531 kB / 1.271 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003164/1.027, allocations: 282.9 kB / 1.272 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.306e-05/1.027, allocations: 29.64 kB / 1.272 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.675e-05/1.027, allocations: 8.297 kB / 1.272 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.709e-06/1.027, allocations: 0 / 1.272 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001341/1.027, allocations: 62.39 kB / 1.272 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/1.027, allocations: 3.938 kB / 1.272 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0001826/1.028, allocations: 60.28 kB / 1.272 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.3e-05/1.028, allocations: 57.81 kB / 1.272 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.498e-05/1.028, allocations: 104.9 kB / 1.272 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/1.028, allocations: 27.55 kB / 1.272 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.267e-05/1.028, allocations: 87.83 kB / 1.272 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.08e-05/1.028, allocations: 6.109 kB / 1.272 GB, free: 4.961 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.085e-05/1.028, allocations: 30.06 kB / 1.272 GB, free: 4.941 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.697e-05/1.028, allocations: 317.1 kB / 1.272 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.316e-05/1.028, allocations: 27.5 kB / 1.273 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.794e-05/1.028, allocations: 56.03 kB / 1.273 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.827e-05/1.028, allocations: 84.03 kB / 1.273 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/1.028, allocations: 0 / 1.273 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002359/1.028, allocations: 148.8 kB / 1.273 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.351e-05/1.028, allocations: 35.2 kB / 1.273 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/1.028, allocations: 1.344 kB / 1.273 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/1.028, allocations: 8.906 kB / 1.273 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.779e-05/1.028, allocations: 0.9688 kB / 1.273 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/1.028, allocations: 6.078 kB / 1.273 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002068/1.029, allocations: 28.14 kB / 1.273 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.415e-05/1.029, allocations: 10.83 kB / 1.273 GB, free: 4.355 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.419e-05/1.029, allocations: 115.3 kB / 1.273 GB, free: 4.238 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.205e-05/1.029, allocations: 2.312 kB / 1.273 GB, free: 4.238 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.58e-05/1.029, allocations: 13.11 kB / 1.273 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/1.029, allocations: 1.656 kB / 1.273 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/1.029, allocations: 4 kB / 1.273 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/1.029, allocations: 0.8125 kB / 1.273 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.632e-05/1.029, allocations: 165.1 kB / 1.273 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/1.029, allocations: 1.391 kB / 1.273 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.502e-06/1.029, allocations: 0.8438 kB / 1.273 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/1.029, allocations: 0.7031 kB / 1.273 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.164e-06/1.029, allocations: 0.8438 kB / 1.273 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/1.029, allocations: 1.562 kB / 1.273 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/1.029, allocations: 4 kB / 1.273 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.694e-05/1.029, allocations: 91.78 kB / 1.273 GB, free: 3.926 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.03e-05/1.029, allocations: 79.66 kB / 1.273 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.427e-05/1.029, allocations: 1.953 kB / 1.273 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.498e-05/1.029, allocations: 0.75 kB / 1.273 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.405e-05/1.029, allocations: 2.609 kB / 1.273 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/1.029, allocations: 6.406 kB / 1.273 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.606e-05/1.029, allocations: 85.12 kB / 1.273 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/1.029, allocations: 0 / 1.273 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002137/1.029, allocations: 19.38 kB / 1.273 GB, free: 3.746 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002713/1.03, allocations: 0.6216 MB / 1.274 GB, free: 3.141 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001977/1.03, allocations: 108.8 kB / 1.274 GB, free: 3.059 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/1.03, allocations: 5.188 kB / 1.274 GB, free: 3.055 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 2.891e-05/1.03, allocations: 7.703 kB / 1.274 GB, free: 3.055 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000194/1.03, allocations: 11.36 kB / 1.274 GB, free: 3.051 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001365/1.031, allocations: 1.355 MB / 1.276 GB, free: 17.81 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004635/1.032, allocations: 0.6858 MB / 1.276 GB, free: 17.11 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.324e-05/1.032, allocations: 7.594 kB / 1.276 GB, free: 17.1 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.713e-05/1.032, allocations: 13.92 kB / 1.276 GB, free: 17.09 MB / 1.014 GB Notification: Performance of SimCode: time 2.81e-07/1.032, allocations: 0 / 1.276 GB, free: 17.09 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02527/1.057, allocations: 1.982 MB / 1.278 GB, free: 16.66 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.156/9.213, allocations: 13.58 kB / 1.278 GB, free: 16.65 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.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.639261987060308]