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.001544/0.001544, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001025/0.001025, allocations: 173.3 kB / 23.02 MB, free: 1.551 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.02/1.02, allocations: 177.2 MB / 203.4 MB, free: 5.641 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.251/2.251, allocations: 429.5 MB / 0.6733 GB, free: 4.023 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.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: 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 5.29e-06/5.29e-06, allocations: 0.9844 kB / 0.8782 GB, free: 6.324 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.479e-05/4.008e-05, allocations: 7.656 kB / 0.8782 GB, free: 6.316 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Not): time 0.001742/0.001782, allocations: 0.6286 MB / 0.8788 GB, free: 5.707 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001451/0.003233, allocations: 1.162 MB / 0.8799 GB, free: 4.535 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.838e-05/0.003281, allocations: 4.656 kB / 0.8799 GB, free: 4.531 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.397e-05/0.003315, allocations: 0.875 kB / 0.8799 GB, free: 4.531 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.005e-05/0.003405, allocations: 9.109 kB / 0.8799 GB, free: 4.523 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000558/0.003963, allocations: 120.8 kB / 0.8801 GB, free: 4.406 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001775/0.004141, allocations: 99.75 kB / 0.8802 GB, free: 4.309 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.004245, allocations: 0 / 0.8802 GB, free: 4.309 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001117/0.004356, allocations: 49.03 kB / 0.8802 GB, free: 4.262 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001018/0.004458, allocations: 27.94 kB / 0.8802 GB, free: 4.234 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.41e-05/0.004482, allocations: 8 kB / 0.8802 GB, free: 4.227 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 7.292e-05/0.004555, allocations: 16.83 kB / 0.8803 GB, free: 4.211 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.538e-05/0.00458, allocations: 11.94 kB / 0.8803 GB, free: 4.199 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.928e-05/0.00463, allocations: 24.47 kB / 0.8803 GB, free: 4.176 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001699/0.0048, allocations: 77.55 kB / 0.8804 GB, free: 4.102 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.004805, allocations: 0 / 0.8804 GB, free: 4.102 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.825e-06/0.004807, allocations: 0 / 0.8804 GB, free: 4.102 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.673e-06/0.004814, allocations: 0 / 0.8804 GB, free: 4.102 MB / 0.8386 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.0005407/0.005355, allocations: 398.3 kB / 0.8807 GB, free: 3.668 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.434e-05/0.005409, allocations: 9.219 kB / 0.8808 GB, free: 3.66 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.536e-05/0.005474, allocations: 4.938 kB / 0.8808 GB, free: 3.656 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.005592, allocations: 120.5 kB / 0.8809 GB, free: 3.512 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/0.005608, allocations: 5.469 kB / 0.8809 GB, free: 3.508 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.659e-05/0.005625, allocations: 4.375 kB / 0.8809 GB, free: 3.504 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001177/0.005742, allocations: 42.19 kB / 0.8809 GB, free: 3.457 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.689e-06/0.005752, allocations: 0.8438 kB / 0.8809 GB, free: 3.457 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.005766, allocations: 4.359 kB / 0.8809 GB, free: 3.453 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.005775, allocations: 1.094 kB / 0.8809 GB, free: 3.453 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.794e-05/0.005803, allocations: 7.938 kB / 0.8809 GB, free: 3.445 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003866/0.006189, allocations: 283.7 kB / 0.8812 GB, free: 3.137 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.638e-05/0.006246, allocations: 23.12 kB / 0.8812 GB, free: 3.102 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.489e-05/0.006261, allocations: 15.67 kB / 0.8812 GB, free: 3.082 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.59e-06/0.006266, allocations: 0 / 0.8812 GB, free: 3.082 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001212/0.006387, allocations: 65 kB / 0.8813 GB, free: 3.004 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.543e-06/0.006389, allocations: 0 / 0.8813 GB, free: 3.004 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0002127/0.006602, allocations: 65.56 kB / 0.8814 GB, free: 2.934 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.951e-05/0.006651, allocations: 51.41 kB / 0.8814 GB, free: 2.871 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/0.006772, allocations: 165.9 kB / 0.8816 GB, free: 2.691 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.476e-05/0.006797, allocations: 27.17 kB / 0.8816 GB, free: 2.66 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.277e-05/0.006869, allocations: 130.9 kB / 0.8817 GB, free: 2.527 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.658e-05/0.006886, allocations: 11.95 kB / 0.8817 GB, free: 2.516 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.511e-05/0.006951, allocations: 35.36 kB / 0.8818 GB, free: 2.473 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001787/0.00713, allocations: 497 kB / 0.8822 GB, free: 1.977 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.889e-05/0.007219, allocations: 53.69 kB / 0.8823 GB, free: 1.918 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.817e-05/0.007317, allocations: 80.73 kB / 0.8824 GB, free: 1.82 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001053/0.007422, allocations: 90.3 kB / 0.8825 GB, free: 1.715 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.007425, allocations: 0 / 0.8825 GB, free: 1.715 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000247/0.007672, allocations: 171.8 kB / 0.8826 GB, free: 1.531 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 5.787e-05/0.00773, allocations: 41.64 kB / 0.8827 GB, free: 1.484 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.007738, allocations: 0 / 0.8827 GB, free: 1.484 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.385e-05/0.007762, allocations: 3.984 kB / 0.8827 GB, free: 1.48 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.318e-05/0.007796, allocations: 0.5469 kB / 0.8827 GB, free: 1.48 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.235e-05/0.007808, allocations: 7.938 kB / 0.8827 GB, free: 1.473 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001886/0.007996, allocations: 21.62 kB / 0.8827 GB, free: 1.453 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.087e-05/0.008017, allocations: 8 kB / 0.8827 GB, free: 1.445 MB / 0.8386 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.0001505/0.008168, allocations: 160.6 kB / 0.8829 GB, free: 1.277 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.351e-05/0.008191, allocations: 16.55 kB / 0.8829 GB, free: 1.262 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.511e-05/0.008236, allocations: 3.688 kB / 0.8829 GB, free: 1.254 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.008241, allocations: 1.656 kB / 0.8829 GB, free: 1.254 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.008246, allocations: 3.938 kB / 0.8829 GB, free: 1.25 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.71e-06/0.008252, allocations: 4 kB / 0.8829 GB, free: 1.246 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001155/0.008368, allocations: 116.6 kB / 0.883 GB, free: 1.098 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.00837, allocations: 0 / 0.883 GB, free: 1.098 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.576e-06/0.008379, allocations: 0.7812 kB / 0.883 GB, free: 1.098 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.008382, allocations: 0 / 0.883 GB, free: 1.098 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.008393, allocations: 8.688 kB / 0.883 GB, free: 1.09 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.008394, allocations: 0 / 0.883 GB, free: 1.09 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.008396, allocations: 4.094 kB / 0.883 GB, free: 1.086 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000166/0.008562, allocations: 88.36 kB / 0.8831 GB, free: 0.9766 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.565e-05/0.008578, allocations: 7.953 kB / 0.8831 GB, free: 0.9688 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.544e-05/0.008593, allocations: 3.938 kB / 0.8831 GB, free: 0.9648 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.812e-05/0.008611, allocations: 0 / 0.8831 GB, free: 0.9648 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.352e-05/0.008655, allocations: 8 kB / 0.8831 GB, free: 0.957 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.167e-05/0.008667, allocations: 3.984 kB / 0.8831 GB, free: 0.9531 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.35e-05/0.00873, allocations: 123.2 kB / 0.8832 GB, free: 0.832 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.00873, allocations: 0 / 0.8832 GB, free: 0.832 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001796/0.00891, allocations: 19.94 kB / 0.8833 GB, free: 0.8125 MB / 0.8386 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.0002469/0.009157, allocations: 103.2 kB / 0.8834 GB, free: 0.7031 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002563/0.009413, allocations: 144.7 kB / 0.8835 GB, free: 0.5391 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.009416, allocations: 0 / 0.8835 GB, free: 0.5391 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.245e-05/0.009448, allocations: 19.67 kB / 0.8835 GB, free: 0.5156 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002532/0.009701, allocations: 4 kB / 0.8835 GB, free: 0.5117 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004432/0.01014, allocations: 126.1 kB / 0.8836 GB, free: 368 kB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.279e-05/0.01021, allocations: 59.34 kB / 0.8837 GB, free: 288 kB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.269e-05/0.01024, allocations: 8.188 kB / 0.8837 GB, free: 280 kB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.034e-05/0.01027, allocations: 12.5 kB / 0.8837 GB, free: 268 kB / 0.8386 GB Notification: Performance of SimCode: time 1.893e-06/0.01027, allocations: 0 / 0.8837 GB, free: 268 kB / 0.8386 GB Notification: Performance of Templates: time 0.004371/0.01464, allocations: 1.272 MB / 0.885 GB, free: 15.03 MB / 0.8542 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.705366994254291]