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.00177/0.00177, allocations: 105.3 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.001724/0.001724, 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.459/1.459, allocations: 225.6 MB / 247.8 MB, free: 3.742 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.894/2.894, 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.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.001955/0.001955, allocations: 67.91 kB / 1.104 GB, free: 6.598 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.036/1.038, allocations: 168.7 MB / 1.269 GB, free: 7.637 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Not): time 0.001801/1.04, allocations: 0.6207 MB / 1.269 GB, free: 7.375 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001279/1.041, allocations: 1.113 MB / 1.27 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.626e-05/1.041, allocations: 0.7188 kB / 1.27 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.312e-05/1.041, allocations: 0.5625 kB / 1.27 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.274e-05/1.041, allocations: 5.906 kB / 1.27 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004623/1.042, allocations: 129.4 kB / 1.271 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001655/1.042, allocations: 91.03 kB / 1.271 GB, free: 6.457 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.361e-05/1.042, allocations: 3.859 kB / 1.271 GB, free: 6.457 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.966e-05/1.042, allocations: 33.44 kB / 1.271 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.089e-05/1.042, allocations: 34.56 kB / 1.271 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.16e-05/1.042, allocations: 11.5 kB / 1.271 GB, free: 6.426 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.785e-05/1.042, allocations: 18.16 kB / 1.271 GB, free: 6.426 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.642e-05/1.042, allocations: 14.84 kB / 1.271 GB, free: 6.414 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.315e-05/1.042, allocations: 26.62 kB / 1.271 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001604/1.042, allocations: 83.91 kB / 1.271 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/1.042, allocations: 0.875 kB / 1.271 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.333e-06/1.042, allocations: 0 / 1.271 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.849e-06/1.042, allocations: 0 / 1.271 GB, free: 6.375 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003977/1.043, allocations: 372.1 kB / 1.271 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/1.043, allocations: 9.906 kB / 1.271 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.115e-05/1.043, allocations: 36.33 kB / 1.271 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.866e-05/1.043, allocations: 13.14 kB / 1.271 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.272e-05/1.043, allocations: 171.2 kB / 1.271 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/1.043, allocations: 2.797 kB / 1.271 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.513e-05/1.043, allocations: 6.094 kB / 1.271 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.38e-05/1.043, allocations: 39.27 kB / 1.271 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/1.043, allocations: 3.938 kB / 1.271 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/1.043, allocations: 8.797 kB / 1.272 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/1.043, allocations: 1.688 kB / 1.272 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.469e-05/1.043, allocations: 5.078 kB / 1.272 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003233/1.043, allocations: 293 kB / 1.272 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.752e-05/1.043, allocations: 22.03 kB / 1.272 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.425e-05/1.044, allocations: 7.578 kB / 1.272 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.06e-06/1.044, allocations: 4.453 kB / 1.272 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001326/1.044, allocations: 60.78 kB / 1.272 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.293e-06/1.044, allocations: 0 / 1.272 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.000171/1.044, allocations: 68.33 kB / 1.272 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.358e-05/1.044, allocations: 53.59 kB / 1.272 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.7e-05/1.044, allocations: 103.1 kB / 1.272 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/1.044, allocations: 32.23 kB / 1.272 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.061e-05/1.044, allocations: 83.66 kB / 1.272 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.968e-06/1.044, allocations: 9.703 kB / 1.272 GB, free: 4.961 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.756e-05/1.044, allocations: 29.98 kB / 1.272 GB, free: 4.941 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.485e-05/1.044, allocations: 318 kB / 1.273 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.108e-05/1.044, allocations: 35.02 kB / 1.273 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.994e-05/1.044, allocations: 44.52 kB / 1.273 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.52e-05/1.044, allocations: 83.89 kB / 1.273 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/1.044, allocations: 4.25 kB / 1.273 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002162/1.044, allocations: 144.4 kB / 1.273 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.426e-05/1.045, allocations: 45.19 kB / 1.273 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/1.045, allocations: 5.031 kB / 1.273 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/1.045, allocations: 1 kB / 1.273 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.527e-05/1.045, allocations: 1.625 kB / 1.273 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/1.045, allocations: 1.484 kB / 1.273 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001865/1.045, allocations: 25.5 kB / 1.273 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.807e-05/1.045, allocations: 4.688 kB / 1.273 GB, free: 4.367 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 5.313e-05/1.045, allocations: 123.7 kB / 1.273 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.919e-06/1.045, allocations: 2.438 kB / 1.273 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.317e-05/1.045, allocations: 5.047 kB / 1.273 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/1.045, allocations: 0 / 1.273 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/1.045, allocations: 0.875 kB / 1.273 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/1.045, allocations: 0.5156 kB / 1.273 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.515e-05/1.045, allocations: 166.3 kB / 1.273 GB, free: 4.035 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/1.045, allocations: 0 / 1.273 GB, free: 4.035 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.701e-06/1.045, allocations: 0.875 kB / 1.273 GB, free: 4.035 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/1.045, allocations: 1.531 kB / 1.273 GB, free: 4.035 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-06/1.045, allocations: 4.875 kB / 1.273 GB, free: 4.031 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/1.045, allocations: 0.5156 kB / 1.273 GB, free: 4.031 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/1.045, allocations: 4.719 kB / 1.273 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.641e-05/1.045, allocations: 87.69 kB / 1.273 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.741e-05/1.045, allocations: 79.41 kB / 1.273 GB, free: 3.852 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.269e-05/1.045, allocations: 1.578 kB / 1.273 GB, free: 3.852 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.32e-05/1.045, allocations: 0.7812 kB / 1.273 GB, free: 3.852 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.661e-05/1.045, allocations: 2.062 kB / 1.273 GB, free: 3.852 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.86e-06/1.045, allocations: 6.109 kB / 1.273 GB, free: 3.848 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.426e-05/1.045, allocations: 84.89 kB / 1.273 GB, free: 3.77 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/1.045, allocations: 0 / 1.273 GB, free: 3.77 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002238/1.045, allocations: 18.61 kB / 1.273 GB, free: 3.766 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.0002726/1.046, allocations: 0.623 MB / 1.274 GB, free: 3.156 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001919/1.046, allocations: 108.6 kB / 1.274 GB, free: 3.074 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/1.046, allocations: 0 / 1.274 GB, free: 3.074 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 2.875e-05/1.046, allocations: 19.97 kB / 1.274 GB, free: 3.062 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001863/1.046, allocations: 14.86 kB / 1.274 GB, free: 3.055 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001215/1.047, allocations: 1.359 MB / 1.276 GB, free: 17.8 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003045/1.048, allocations: 0.6787 MB / 1.276 GB, free: 17.11 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.147e-05/1.048, allocations: 2.766 kB / 1.276 GB, free: 17.11 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.599e-05/1.048, allocations: 13.45 kB / 1.276 GB, free: 17.09 MB / 1.014 GB Notification: Performance of SimCode: time 3.31e-07/1.048, allocations: 0 / 1.276 GB, free: 17.09 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02559/1.073, allocations: 1.939 MB / 1.278 GB, free: 16.66 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.215/9.288, allocations: 2.562 kB / 1.278 GB, free: 16.66 MB / 1.014 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: 15.594800767023116]