Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Not.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Not,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|not1.u|not1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Not") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Not,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|not1.u|not1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Not") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.515/1.515, allocations: 249.3 MB / 261.8 MB, free: 5.824 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009717/0.0009718, allocations: 170.6 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.473/1.473, allocations: 205.2 MB / 0.572 GB, free: 10.67 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000813/0.0008131, allocations: 90.45 kB / 0.6764 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.831e-05/3.833e-05, allocations: 8 kB / 0.788 GB, free: 97.08 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.202/0.2021, allocations: 106.3 MB / 0.8918 GB, free: 6.652 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7101/0.9122, allocations: 131.3 MB / 1.02 GB, free: 3.391 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002435/0.9125, allocations: 70.02 kB / 1.02 GB, free: 3.352 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.001617/0.9141, allocations: 0.634 MB / 1.021 GB, free: 2.77 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.502e-06/0.9142, allocations: 4.531 kB / 1.021 GB, free: 2.766 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.283e-06/0.9142, allocations: 4 kB / 1.021 GB, free: 2.762 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003317/0.9145, allocations: 334.5 kB / 1.021 GB, free: 2.391 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.9146, allocations: 12.03 kB / 1.021 GB, free: 2.379 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.573e-05/0.9146, allocations: 0 / 1.021 GB, free: 2.379 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001374/0.9148, allocations: 178.4 kB / 1.021 GB, free: 2.168 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.744e-05/0.9148, allocations: 0 / 1.021 GB, free: 2.168 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.168e-05/0.9148, allocations: 0 / 1.021 GB, free: 2.168 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.277e-05/0.9149, allocations: 37.39 kB / 1.021 GB, free: 2.129 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.9149, allocations: 4 kB / 1.021 GB, free: 2.125 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.9149, allocations: 3.984 kB / 1.021 GB, free: 2.121 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.915, allocations: 0 / 1.021 GB, free: 2.121 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.885e-05/0.915, allocations: 11.5 kB / 1.021 GB, free: 2.113 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003582/0.9154, allocations: 263 kB / 1.022 GB, free: 1.816 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.428e-05/0.9154, allocations: 22.56 kB / 1.022 GB, free: 1.785 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.187e-05/0.9155, allocations: 16.17 kB / 1.022 GB, free: 1.77 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.016e-06/0.9155, allocations: 0 / 1.022 GB, free: 1.77 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001056/0.9156, allocations: 50.97 kB / 1.022 GB, free: 1.711 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.845e-06/0.9156, allocations: 0 / 1.022 GB, free: 1.711 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.000144/0.9158, allocations: 55.81 kB / 1.022 GB, free: 1.656 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.245e-05/0.9158, allocations: 51.41 kB / 1.022 GB, free: 1.594 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.079e-05/0.9159, allocations: 96.58 kB / 1.022 GB, free: 1.496 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.436e-05/0.9159, allocations: 29.7 kB / 1.022 GB, free: 1.461 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.162e-05/0.916, allocations: 91.19 kB / 1.022 GB, free: 1.371 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.202e-05/0.916, allocations: 3.906 kB / 1.022 GB, free: 1.367 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.986e-06/0.916, allocations: 0 / 1.022 GB, free: 1.367 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.9161, allocations: 314.3 kB / 1.022 GB, free: 1.055 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.427e-05/0.9161, allocations: 4 kB / 1.022 GB, free: 1.051 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.287e-05/0.9162, allocations: 21.22 kB / 1.022 GB, free: 1.027 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.294e-05/0.9162, allocations: 15.23 kB / 1.022 GB, free: 1.016 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.9162, allocations: 0 / 1.022 GB, free: 1.016 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.127e-05/0.9163, allocations: 45.33 kB / 1.022 GB, free: 0.9688 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.9163, allocations: 8 kB / 1.022 GB, free: 0.9609 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.9163, allocations: 0 / 1.022 GB, free: 0.9609 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.9163, allocations: 3.984 kB / 1.022 GB, free: 0.957 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.534e-05/0.9164, allocations: 4 kB / 1.022 GB, free: 0.9531 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.9164, allocations: 0 / 1.022 GB, free: 0.9531 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.045e-05/0.9164, allocations: 4 kB / 1.022 GB, free: 0.9492 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.162e-05/0.9165, allocations: 11.98 kB / 1.022 GB, free: 0.9375 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.686e-05/0.9165, allocations: 112.2 kB / 1.022 GB, free: 0.8242 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.869e-06/0.9166, allocations: 3.906 kB / 1.022 GB, free: 0.8203 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.187e-05/0.9166, allocations: 11.48 kB / 1.022 GB, free: 0.8047 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.798e-06/0.9166, allocations: 0 / 1.022 GB, free: 0.8047 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.9166, allocations: 3.938 kB / 1.022 GB, free: 0.8008 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.9166, allocations: 0 / 1.022 GB, free: 0.8008 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001213/0.9167, allocations: 160.3 kB / 1.023 GB, free: 0.6016 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.9168, allocations: 4 kB / 1.023 GB, free: 0.5977 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.731e-06/0.9168, allocations: 0 / 1.023 GB, free: 0.5977 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.9168, allocations: 7.984 kB / 1.023 GB, free: 0.5898 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.144e-06/0.9168, allocations: 0 / 1.023 GB, free: 0.5898 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.9168, allocations: 0 / 1.023 GB, free: 0.5898 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.9168, allocations: 0.875 kB / 1.023 GB, free: 0.5898 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.706e-05/0.9169, allocations: 82.78 kB / 1.023 GB, free: 0.5 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.835e-05/0.917, allocations: 77.11 kB / 1.023 GB, free: 416 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.26e-05/0.917, allocations: 0 / 1.023 GB, free: 416 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.271e-05/0.917, allocations: 15.98 kB / 1.023 GB, free: 400 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.365e-05/0.9171, allocations: 3.938 kB / 1.023 GB, free: 396 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.9171, allocations: 0 / 1.023 GB, free: 396 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.726e-05/0.9171, allocations: 90.64 kB / 1.023 GB, free: 308 kB / 0.6355 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9171, allocations: 0 / 1.023 GB, free: 308 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001582/0.9173, allocations: 4 kB / 1.023 GB, free: 304 kB / 0.6355 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,booPul.y,booPul.pulseStart) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001332/0.9174, allocations: 98 kB / 1.023 GB, free: 200 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.928e-05/0.9175, allocations: 21.94 kB / 1.023 GB, free: 184 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.9175, allocations: 0 / 1.023 GB, free: 184 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.993e-05/0.9176, allocations: 11.94 kB / 1.023 GB, free: 172 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001581/0.9177, allocations: 15.88 kB / 1.023 GB, free: 160 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002299/0.918, allocations: 61.3 kB / 1.023 GB, free: 80 kB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000242/0.9182, allocations: 0.6809 MB / 1.024 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.073e-05/0.9183, allocations: 3.938 kB / 1.024 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.386e-05/0.9183, allocations: 11.5 kB / 1.024 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of SimCode: time 4.11e-07/0.9183, allocations: 4 kB / 1.024 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of Templates: time 0.00224/0.9205, allocations: 454 kB / 1.024 GB, free: 14.92 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Not.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Not.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Not -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Not_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Logical_Validation_Not.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Not.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches