Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Not.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.001752/0.001752, allocations: 110.3 kB / 18.13 MB, free: 3.828 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.002057/0.002057, allocations: 197.2 kB / 21.42 MB, free: 0.5508 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.526/1.526, allocations: 225.6 MB / 250.2 MB, free: 13.27 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.8/2.8, allocations: 476.7 MB / 0.7637 GB, free: 10.1 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.Logical.Validation.Not,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Not",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Not,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Not",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002172/0.002172, allocations: 75.88 kB / 1.108 GB, free: 7.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8629/0.8651, allocations: 168.7 MB / 1.273 GB, free: 4.316 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Not): time 0.00234/0.8675, allocations: 0.6152 MB / 1.273 GB, free: 3.707 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001885/0.8693, allocations: 1.127 MB / 1.275 GB, free: 2.566 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.236e-05/0.8694, allocations: 4 kB / 1.275 GB, free: 2.562 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.146e-05/0.8695, allocations: 3.984 kB / 1.275 GB, free: 2.559 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001162/0.8696, allocations: 3.938 kB / 1.275 GB, free: 2.555 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008099/0.8704, allocations: 126.6 kB / 1.275 GB, free: 2.434 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002921/0.8707, allocations: 83.89 kB / 1.275 GB, free: 2.352 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.8708, allocations: 7.984 kB / 1.275 GB, free: 2.344 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001262/0.8709, allocations: 35.91 kB / 1.275 GB, free: 2.309 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001465/0.8711, allocations: 27.91 kB / 1.275 GB, free: 2.281 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.126e-05/0.8711, allocations: 8 kB / 1.275 GB, free: 2.273 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.708e-05/0.8712, allocations: 27.92 kB / 1.275 GB, free: 2.246 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.574e-05/0.8712, allocations: 7.969 kB / 1.275 GB, free: 2.238 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.197e-05/0.8713, allocations: 27.92 kB / 1.275 GB, free: 2.211 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002347/0.8715, allocations: 81.47 kB / 1.275 GB, free: 2.133 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.8715, allocations: 4 kB / 1.275 GB, free: 2.129 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.033e-06/0.8715, allocations: 4 kB / 1.275 GB, free: 2.125 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.433e-05/0.8716, allocations: 0 / 1.275 GB, free: 2.125 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0007097/0.8723, allocations: 373.1 kB / 1.275 GB, free: 1.703 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 6.155e-05/0.8723, allocations: 12.03 kB / 1.275 GB, free: 1.691 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.346e-05/0.8724, allocations: 30.75 kB / 1.275 GB, free: 1.652 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.144e-05/0.8724, allocations: 8.891 kB / 1.275 GB, free: 1.645 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001792/0.8726, allocations: 164.3 kB / 1.276 GB, free: 1.445 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.448e-05/0.8726, allocations: 8.375 kB / 1.276 GB, free: 1.438 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.253e-05/0.8727, allocations: 12.36 kB / 1.276 GB, free: 1.426 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001235/0.8728, allocations: 30.27 kB / 1.276 GB, free: 1.391 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.8728, allocations: 11.81 kB / 1.276 GB, free: 1.379 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.794e-05/0.8728, allocations: 11.98 kB / 1.276 GB, free: 1.367 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.8728, allocations: 0 / 1.276 GB, free: 1.367 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.59e-05/0.8729, allocations: 4 kB / 1.276 GB, free: 1.363 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005024/0.8734, allocations: 284.8 kB / 1.276 GB, free: 1.035 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 7.699e-05/0.8735, allocations: 26.56 kB / 1.276 GB, free: 1 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.306e-05/0.8735, allocations: 20.84 kB / 1.276 GB, free: 0.9766 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.163e-05/0.8735, allocations: 0 / 1.276 GB, free: 0.9766 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002453/0.8737, allocations: 59.34 kB / 1.276 GB, free: 0.9062 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.8737, allocations: 0 / 1.276 GB, free: 0.9062 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0002225/0.874, allocations: 57.69 kB / 1.276 GB, free: 0.8438 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.833e-05/0.874, allocations: 55.41 kB / 1.276 GB, free: 0.7773 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001496/0.8742, allocations: 113.8 kB / 1.276 GB, free: 0.6562 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.937e-05/0.8742, allocations: 25.7 kB / 1.276 GB, free: 0.625 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.221e-05/0.8743, allocations: 85.69 kB / 1.276 GB, free: 0.5391 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.573e-05/0.8743, allocations: 11.94 kB / 1.276 GB, free: 0.5273 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.118e-05/0.8744, allocations: 29.7 kB / 1.276 GB, free: 0.4922 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001611/0.8745, allocations: 318.8 kB / 1.277 GB, free: 176 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.061e-05/0.8746, allocations: 27.98 kB / 1.277 GB, free: 148 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.84e-05/0.8747, allocations: 50.88 kB / 1.277 GB, free: 88 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001668/0.8749, allocations: 84.14 kB / 1.277 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.124e-06/0.8749, allocations: 4 kB / 1.277 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003062/0.8752, allocations: 147.2 kB / 1.277 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.54e-05/0.8752, allocations: 41.69 kB / 1.277 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.8753, allocations: 4 kB / 1.277 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.8753, allocations: 0 / 1.277 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.822e-05/0.8753, allocations: 4.094 kB / 1.277 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.8753, allocations: 0 / 1.277 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002227/0.8755, allocations: 23.97 kB / 1.277 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.958e-05/0.8755, allocations: 8 kB / 1.277 GB, free: 15.74 MB / 0.9825 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 0.0001165/0.8757, allocations: 121.8 kB / 1.277 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.159e-05/0.8757, allocations: 0 / 1.277 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.549e-05/0.8757, allocations: 3.5 kB / 1.277 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.8757, allocations: 8 kB / 1.277 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.8757, allocations: 0 / 1.277 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.8757, allocations: 0 / 1.277 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001562/0.8759, allocations: 157.6 kB / 1.277 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.8759, allocations: 0 / 1.277 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.441e-05/0.8759, allocations: 7.984 kB / 1.277 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.8759, allocations: 0 / 1.277 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.8759, allocations: 0 / 1.277 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.8759, allocations: 3.938 kB / 1.277 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.8759, allocations: 3.938 kB / 1.277 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001341/0.876, allocations: 85.02 kB / 1.277 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.15e-05/0.8761, allocations: 81.11 kB / 1.277 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.416e-05/0.8761, allocations: 0 / 1.277 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.058e-05/0.8761, allocations: 7.984 kB / 1.277 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.181e-05/0.8761, allocations: 4.281 kB / 1.277 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.8762, allocations: 0 / 1.277 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.233e-05/0.8762, allocations: 79.28 kB / 1.278 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.8762, allocations: 0 / 1.278 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002254/0.8764, allocations: 27.94 kB / 1.278 GB, free: 15.07 MB / 0.9825 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.0005338/0.877, allocations: 0.6209 MB / 1.278 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002233/0.8772, allocations: 103.4 kB / 1.278 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.8772, allocations: 0 / 1.278 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.29e-05/0.8772, allocations: 20.05 kB / 1.278 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002174/0.8774, allocations: 18.03 kB / 1.278 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001636/0.8791, allocations: 1.365 MB / 1.28 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003667/0.8794, allocations: 0.6807 MB / 1.28 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2e-05/0.8795, allocations: 0 / 1.28 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.469e-05/0.8795, allocations: 19.44 kB / 1.28 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of SimCode: time 3.71e-07/0.8795, allocations: 0 / 1.28 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02737/0.9069, allocations: 1.914 MB / 1.282 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.878/8.785, allocations: 1.562 kB / 1.282 GB, free: 10.26 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Not.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Not_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Not_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Not.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Not_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_Not.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 14.98385042604059]