Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.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.001304/0.001304, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001473/0.001473, allocations: 213.5 kB / 22.24 MB, free: 4.855 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.512/1.512, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.312/3.312, allocations: 0.5107 GB / 0.8158 GB, free: 17.85 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Logical.Validation.Not,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Not",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Not,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Not",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.002168/0.002168, allocations: 67.8 kB / 1.186 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3906/0.3928, allocations: 181.9 MB / 1.363 GB, free: 14.09 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Not): time 0.001964/0.3947, allocations: 0.6049 MB / 1.364 GB, free: 13.48 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001732/0.3965, allocations: 1.128 MB / 1.365 GB, free: 12.34 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.752e-05/0.3965, allocations: 0 / 1.365 GB, free: 12.34 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.857e-05/0.3965, allocations: 3.938 kB / 1.365 GB, free: 12.34 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.676e-05/0.3966, allocations: 0 / 1.365 GB, free: 12.34 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005699/0.3972, allocations: 130.4 kB / 1.365 GB, free: 12.21 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001622/0.3973, allocations: 91.83 kB / 1.365 GB, free: 12.12 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 8.771e-05/0.3974, allocations: 0 / 1.365 GB, free: 12.12 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.283e-05/0.3975, allocations: 31.92 kB / 1.365 GB, free: 12.09 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001009/0.3976, allocations: 35.88 kB / 1.365 GB, free: 12.06 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.25e-05/0.3976, allocations: 11.94 kB / 1.365 GB, free: 12.05 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 7.303e-05/0.3977, allocations: 19.98 kB / 1.365 GB, free: 12.03 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.036e-05/0.3977, allocations: 4 kB / 1.365 GB, free: 12.02 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.565e-05/0.3978, allocations: 31.92 kB / 1.365 GB, free: 11.99 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001692/0.3979, allocations: 84.02 kB / 1.366 GB, free: 11.91 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.398, allocations: 0 / 1.366 GB, free: 11.91 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.394e-06/0.398, allocations: 0 / 1.366 GB, free: 11.91 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.64e-06/0.398, allocations: 0 / 1.366 GB, free: 11.91 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005205/0.3985, allocations: 297.4 kB / 1.366 GB, free: 11.58 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.3985, allocations: 8.031 kB / 1.366 GB, free: 11.57 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.64e-05/0.3986, allocations: 30.75 kB / 1.366 GB, free: 11.54 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.485e-05/0.3987, allocations: 12.89 kB / 1.366 GB, free: 11.52 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001128/0.3988, allocations: 110.5 kB / 1.366 GB, free: 11.39 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.3988, allocations: 384 / 1.366 GB, free: 11.39 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.278e-05/0.3988, allocations: 16.31 kB / 1.366 GB, free: 11.38 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.643e-05/0.3989, allocations: 38.25 kB / 1.366 GB, free: 11.33 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.3989, allocations: 3.938 kB / 1.366 GB, free: 11.33 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.3989, allocations: 0 / 1.366 GB, free: 11.33 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.3989, allocations: 0 / 1.366 GB, free: 11.33 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.287e-05/0.399, allocations: 11.98 kB / 1.366 GB, free: 11.32 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000407/0.3994, allocations: 244 kB / 1.366 GB, free: 11.04 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 5.612e-05/0.3994, allocations: 22.52 kB / 1.366 GB, free: 11 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.757e-05/0.3995, allocations: 8.906 kB / 1.366 GB, free: 10.99 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 7.524e-06/0.3995, allocations: 4 kB / 1.366 GB, free: 10.99 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001619/0.3996, allocations: 63.36 kB / 1.366 GB, free: 10.91 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 1.403e-06/0.3996, allocations: 0 / 1.366 GB, free: 10.91 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0001927/0.3998, allocations: 69.61 kB / 1.366 GB, free: 10.84 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.119e-05/0.3999, allocations: 51.41 kB / 1.366 GB, free: 10.78 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.794e-05/0.4, allocations: 105.8 kB / 1.367 GB, free: 10.66 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.472e-05/0.4, allocations: 25.7 kB / 1.367 GB, free: 10.63 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.449e-05/0.4, allocations: 92.08 kB / 1.367 GB, free: 10.54 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.427e-05/0.4001, allocations: 7.953 kB / 1.367 GB, free: 10.53 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.081e-05/0.4001, allocations: 29.7 kB / 1.367 GB, free: 10.5 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.4003, allocations: 318.8 kB / 1.367 GB, free: 10.18 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.788e-05/0.4004, allocations: 61.67 kB / 1.367 GB, free: 10.11 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001073/0.4005, allocations: 80.27 kB / 1.367 GB, free: 10.02 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000117/0.4006, allocations: 84.42 kB / 1.367 GB, free: 9.918 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.4006, allocations: 0 / 1.367 GB, free: 9.918 MB / 1.061 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003043/0.4009, allocations: 180.9 kB / 1.367 GB, free: 9.723 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.986e-05/0.4009, allocations: 33.7 kB / 1.367 GB, free: 9.684 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.4009, allocations: 0 / 1.367 GB, free: 9.684 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.4009, allocations: 4 kB / 1.367 GB, free: 9.68 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.767e-05/0.401, allocations: 4.031 kB / 1.367 GB, free: 9.676 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.401, allocations: 7.984 kB / 1.367 GB, free: 9.668 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00019/0.4012, allocations: 27.91 kB / 1.367 GB, free: 9.641 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.845e-05/0.4012, allocations: 8 kB / 1.367 GB, free: 9.633 MB / 1.061 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 9.692e-05/0.4013, allocations: 117.8 kB / 1.368 GB, free: 9.508 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.356e-06/0.4013, allocations: 0 / 1.368 GB, free: 9.508 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.481e-05/0.4013, allocations: 7.625 kB / 1.368 GB, free: 9.492 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.4013, allocations: 3.984 kB / 1.368 GB, free: 9.488 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.4013, allocations: 4 kB / 1.368 GB, free: 9.484 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.4013, allocations: 4 kB / 1.368 GB, free: 9.48 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001263/0.4014, allocations: 132.7 kB / 1.368 GB, free: 9.309 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.4014, allocations: 0 / 1.368 GB, free: 9.309 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.173e-06/0.4015, allocations: 4 kB / 1.368 GB, free: 9.305 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.4015, allocations: 0 / 1.368 GB, free: 9.305 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.192e-06/0.4015, allocations: 0 / 1.368 GB, free: 9.305 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.4015, allocations: 0 / 1.368 GB, free: 9.305 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.4015, allocations: 0 / 1.368 GB, free: 9.305 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001592/0.4016, allocations: 86.39 kB / 1.368 GB, free: 9.203 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.386e-06/0.4016, allocations: 3.984 kB / 1.368 GB, free: 9.199 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.208e-05/0.4016, allocations: 0 / 1.368 GB, free: 9.199 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.744e-05/0.4017, allocations: 12 kB / 1.368 GB, free: 9.188 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.498e-05/0.4017, allocations: 0 / 1.368 GB, free: 9.188 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.588e-06/0.4017, allocations: 0 / 1.368 GB, free: 9.188 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.418e-05/0.4017, allocations: 95.14 kB / 1.368 GB, free: 9.094 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.4017, allocations: 0 / 1.368 GB, free: 9.094 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002082/0.402, allocations: 16 kB / 1.368 GB, free: 9.078 MB / 1.061 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.0004984/0.4024, allocations: 0.6163 MB / 1.369 GB, free: 8.43 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002256/0.4027, allocations: 137 kB / 1.369 GB, free: 8.277 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.4027, allocations: 192 / 1.369 GB, free: 8.277 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.371e-05/0.4027, allocations: 12 kB / 1.369 GB, free: 8.266 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001957/0.4029, allocations: 11.98 kB / 1.369 GB, free: 8.254 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001685/0.4046, allocations: 1.492 MB / 1.37 GB, free: 6.641 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.029e-05/0.4046, allocations: 63.28 kB / 1.37 GB, free: 6.559 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 1.96e-05/0.4047, allocations: 4 kB / 1.37 GB, free: 6.555 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.019e-05/0.4047, allocations: 7.438 kB / 1.37 GB, free: 6.547 MB / 1.061 GB Notification: Performance of SimCode: time 4.01e-07/0.4047, allocations: 0 / 1.37 GB, free: 6.547 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03002/0.4347, allocations: 2.551 MB / 1.373 GB, free: 4.152 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.82, allocations: 8.797 kB / 1.373 GB, free: 4.145 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Not_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Not.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Not.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.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.72293007094413]