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.0009595/0.0009595, allocations: 80.88 kB / 19.94 MB, free: 4.547 MB / 18.57 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.0009808/0.0009808, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 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.012/1.012, allocations: 177.2 MB / 203.8 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] 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 2.502/2.502, allocations: 438.8 MB / 0.6827 GB, free: 13.59 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Not,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|not1.u|not1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Not,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|not1.u|not1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.274e-06/2.274e-06, allocations: 3.938 kB / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.366e-05/2.594e-05, allocations: 4.984 kB / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Not): time 0.004645/0.004671, allocations: 0.618 MB / 0.8392 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001353/0.006024, allocations: 1.166 MB / 0.8403 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.125e-05/0.006065, allocations: 0 / 0.8403 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.539e-05/0.006091, allocations: 0 / 0.8403 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 6.996e-05/0.006161, allocations: 3.938 kB / 0.8403 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004318/0.006592, allocations: 135.5 kB / 0.8405 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.000137/0.00673, allocations: 83.89 kB / 0.8406 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 6.4e-05/0.006794, allocations: 4 kB / 0.8406 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 8.368e-05/0.006877, allocations: 47.89 kB / 0.8406 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 8.031e-05/0.006958, allocations: 23.95 kB / 0.8406 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.902e-05/0.006977, allocations: 8 kB / 0.8406 GB, free: 12.08 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 6.059e-05/0.007037, allocations: 23.98 kB / 0.8407 GB, free: 12.06 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.751e-05/0.007055, allocations: 3.984 kB / 0.8407 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 3.784e-05/0.007092, allocations: 27.98 kB / 0.8407 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.00315/0.01024, allocations: 75.77 kB / 0.8408 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.01025, allocations: 4 kB / 0.8408 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.152e-06/0.01025, allocations: 0 / 0.8408 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.226e-06/0.01025, allocations: 0 / 0.8408 GB, free: 11.95 MB / 0.8073 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.0003477/0.0106, allocations: 270.7 kB / 0.841 GB, free: 11.65 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.01063, allocations: 12.56 kB / 0.841 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.473e-05/0.01067, allocations: 4.938 kB / 0.841 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.918e-05/0.01075, allocations: 113.7 kB / 0.8411 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.01076, allocations: 4.375 kB / 0.8412 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.697e-05/0.01078, allocations: 4.375 kB / 0.8412 GB, free: 11.49 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.924e-05/0.01084, allocations: 38.25 kB / 0.8412 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.01084, allocations: 4.188 kB / 0.8412 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.701e-06/0.01085, allocations: 384 / 0.8412 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.01085, allocations: 384 / 0.8412 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.699e-05/0.01087, allocations: 7.938 kB / 0.8412 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002171/0.01109, allocations: 164.2 kB / 0.8414 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.217e-05/0.01113, allocations: 18.58 kB / 0.8414 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.378e-06/0.01114, allocations: 8.859 kB / 0.8414 GB, free: 11.22 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.256e-06/0.01114, allocations: 0 / 0.8414 GB, free: 11.22 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.189e-05/0.01123, allocations: 59.44 kB / 0.8414 GB, free: 11.15 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 8.71e-07/0.01123, allocations: 3.938 kB / 0.8414 GB, free: 11.15 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 0.0001101/0.01134, allocations: 61.73 kB / 0.8415 GB, free: 11.08 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.162e-05/0.01137, allocations: 55.34 kB / 0.8416 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.042e-05/0.01143, allocations: 102.7 kB / 0.8417 GB, free: 10.9 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.817e-05/0.01145, allocations: 33.7 kB / 0.8417 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.793e-05/0.01148, allocations: 92.08 kB / 0.8418 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 7.103e-06/0.01149, allocations: 0 / 0.8418 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.133e-05/0.01154, allocations: 29.69 kB / 0.8418 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.856e-05/0.01162, allocations: 314.8 kB / 0.8421 GB, free: 10.42 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.908e-05/0.01167, allocations: 45.69 kB / 0.8422 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.763e-05/0.01173, allocations: 76.19 kB / 0.8422 GB, free: 10.28 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.05e-05/0.0118, allocations: 76.25 kB / 0.8423 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.0118, allocations: 0 / 0.8423 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001436/0.01194, allocations: 141 kB / 0.8424 GB, free: 10.03 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.192e-05/0.01198, allocations: 40.2 kB / 0.8425 GB, free: 9.988 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.01198, allocations: 0 / 0.8425 GB, free: 9.988 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.012, allocations: 7.938 kB / 0.8425 GB, free: 9.98 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.475e-05/0.01201, allocations: 3.938 kB / 0.8425 GB, free: 9.977 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.915e-06/0.01201, allocations: 0 / 0.8425 GB, free: 9.977 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001337/0.01215, allocations: 32.02 kB / 0.8425 GB, free: 9.945 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/0.01216, allocations: 0 / 0.8425 GB, free: 9.945 MB / 0.8073 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.0003171/0.01248, allocations: 117.8 kB / 0.8426 GB, free: 9.82 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.366e-06/0.01248, allocations: 0 / 0.8426 GB, free: 9.82 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.316e-05/0.01251, allocations: 11.67 kB / 0.8426 GB, free: 9.805 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.01251, allocations: 7.938 kB / 0.8426 GB, free: 9.797 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.01251, allocations: 0 / 0.8426 GB, free: 9.797 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.01252, allocations: 0 / 0.8426 GB, free: 9.797 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.495e-05/0.01257, allocations: 65.89 kB / 0.8427 GB, free: 9.715 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.01257, allocations: 0 / 0.8427 GB, free: 9.715 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.57e-06/0.01258, allocations: 7.984 kB / 0.8427 GB, free: 9.707 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.674e-06/0.01258, allocations: 0 / 0.8427 GB, free: 9.707 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.448e-06/0.01258, allocations: 4 kB / 0.8427 GB, free: 9.703 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.01259, allocations: 320 / 0.8427 GB, free: 9.703 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.01259, allocations: 0 / 0.8427 GB, free: 9.703 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.286e-05/0.01265, allocations: 69 kB / 0.8428 GB, free: 9.617 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.962e-06/0.01265, allocations: 4 kB / 0.8428 GB, free: 9.613 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.675e-06/0.01266, allocations: 4 kB / 0.8428 GB, free: 9.609 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.847e-06/0.01267, allocations: 3.938 kB / 0.8428 GB, free: 9.605 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.096e-05/0.01269, allocations: 11.92 kB / 0.8428 GB, free: 9.594 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-06/0.01269, allocations: 0 / 0.8428 GB, free: 9.594 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.409e-05/0.01271, allocations: 12.86 kB / 0.8428 GB, free: 9.578 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.01271, allocations: 0 / 0.8428 GB, free: 9.578 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001167/0.01283, allocations: 19.94 kB / 0.8428 GB, free: 9.559 MB / 0.8073 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.0001118/0.01294, allocations: 80.41 kB / 0.8429 GB, free: 9.473 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001449/0.01308, allocations: 129.9 kB / 0.843 GB, free: 9.324 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.01309, allocations: 0 / 0.843 GB, free: 9.324 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.942e-05/0.0131, allocations: 12.86 kB / 0.843 GB, free: 9.309 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001161/0.01322, allocations: 18.23 kB / 0.8431 GB, free: 9.293 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002254/0.01345, allocations: 112.7 kB / 0.8432 GB, free: 9.156 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.272e-05/0.01348, allocations: 59.34 kB / 0.8432 GB, free: 9.078 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.744e-05/0.0135, allocations: 4 kB / 0.8432 GB, free: 9.074 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.501e-05/0.01357, allocations: 59.36 kB / 0.8433 GB, free: 9.016 MB / 0.8073 GB Notification: Performance of SimCode: time 1.002e-06/0.01357, allocations: 0 / 0.8433 GB, free: 9.016 MB / 0.8073 GB Notification: Performance of Templates: time 0.003377/0.01695, allocations: 1.264 MB / 0.8445 GB, free: 7.773 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.484570609405637]