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.0015/0.0015, allocations: 92.22 kB / 19.65 MB, free: 276 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.001588/0.001588, allocations: 169 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 0.9844/0.9844, allocations: 177.1 MB / 203.4 MB, free: 5.625 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.143/2.143, allocations: 429.5 MB / 0.6732 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 1.793e-06/1.793e-06, allocations: 0 / 0.8782 GB, free: 6.285 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.849e-05/2.029e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.281 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Not): time 0.001197/0.001218, allocations: 0.6267 MB / 0.8788 GB, free: 5.676 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001164/0.002382, allocations: 1.167 MB / 0.8799 GB, free: 4.5 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.912e-05/0.002421, allocations: 0 / 0.8799 GB, free: 4.5 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.119e-05/0.002452, allocations: 3.938 kB / 0.8799 GB, free: 4.496 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.387e-05/0.002526, allocations: 2.188 kB / 0.8799 GB, free: 4.496 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003798/0.002906, allocations: 122 kB / 0.8801 GB, free: 4.379 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001214/0.003027, allocations: 98.11 kB / 0.8802 GB, free: 4.285 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 7.871e-05/0.003106, allocations: 0 / 0.8802 GB, free: 4.285 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 7.717e-05/0.003183, allocations: 47.97 kB / 0.8802 GB, free: 4.238 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 8.579e-05/0.003269, allocations: 29.28 kB / 0.8802 GB, free: 4.211 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.158e-05/0.00329, allocations: 8 kB / 0.8802 GB, free: 4.203 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 6.328e-05/0.003353, allocations: 19.98 kB / 0.8803 GB, free: 4.184 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.962e-05/0.003373, allocations: 7.938 kB / 0.8803 GB, free: 4.176 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.059e-05/0.003414, allocations: 24.69 kB / 0.8803 GB, free: 4.152 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001305/0.003544, allocations: 75.83 kB / 0.8804 GB, free: 4.078 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.733e-06/0.003546, allocations: 5.531 kB / 0.8804 GB, free: 4.074 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.92e-07/0.003547, allocations: 0 / 0.8804 GB, free: 4.074 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.517e-06/0.00355, allocations: 0 / 0.8804 GB, free: 4.074 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.0003192/0.003869, allocations: 394.3 kB / 0.8807 GB, free: 3.645 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.003901, allocations: 10.25 kB / 0.8807 GB, free: 3.637 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.166e-05/0.003943, allocations: 12.94 kB / 0.8808 GB, free: 3.625 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.233e-05/0.004015, allocations: 112.5 kB / 0.8809 GB, free: 3.488 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.004027, allocations: 4.375 kB / 0.8809 GB, free: 3.484 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.497e-05/0.004042, allocations: 4.375 kB / 0.8809 GB, free: 3.48 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.427e-05/0.004106, allocations: 38.25 kB / 0.8809 GB, free: 3.438 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.004113, allocations: 6.438 kB / 0.8809 GB, free: 3.434 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.133e-06/0.004121, allocations: 384 / 0.8809 GB, free: 3.434 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.004128, allocations: 8.359 kB / 0.8809 GB, free: 3.426 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.065e-05/0.004149, allocations: 7.875 kB / 0.8809 GB, free: 3.418 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002623/0.004411, allocations: 275.8 kB / 0.8812 GB, free: 3.113 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 3.723e-05/0.004448, allocations: 27.06 kB / 0.8812 GB, free: 3.074 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.286e-05/0.004461, allocations: 12.39 kB / 0.8812 GB, free: 3.059 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.087e-06/0.004465, allocations: 0 / 0.8812 GB, free: 3.059 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.999e-05/0.004535, allocations: 70.34 kB / 0.8813 GB, free: 2.977 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 7.11e-07/0.004536, allocations: 0 / 0.8813 GB, free: 2.977 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001326/0.004668, allocations: 61.62 kB / 0.8814 GB, free: 2.91 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.664e-05/0.004695, allocations: 59.41 kB / 0.8814 GB, free: 2.84 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.494e-05/0.00476, allocations: 161.9 kB / 0.8816 GB, free: 2.664 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.711e-05/0.004777, allocations: 29.7 kB / 0.8816 GB, free: 2.629 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.012e-05/0.004817, allocations: 126.9 kB / 0.8817 GB, free: 2.5 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 8.977e-06/0.004826, allocations: 11.95 kB / 0.8817 GB, free: 2.488 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.546e-05/0.004872, allocations: 35.36 kB / 0.8818 GB, free: 2.445 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.004979, allocations: 496.1 kB / 0.8822 GB, free: 1.949 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.901e-05/0.005038, allocations: 53.69 kB / 0.8823 GB, free: 1.891 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.647e-05/0.005105, allocations: 88.92 kB / 0.8824 GB, free: 1.785 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.68e-05/0.005171, allocations: 85.06 kB / 0.8825 GB, free: 1.684 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.005174, allocations: 4 kB / 0.8825 GB, free: 1.68 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001744/0.005348, allocations: 173 kB / 0.8826 GB, free: 1.492 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.809e-05/0.005376, allocations: 41.64 kB / 0.8827 GB, free: 1.445 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.00538, allocations: 0 / 0.8827 GB, free: 1.445 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.005393, allocations: 3.984 kB / 0.8827 GB, free: 1.441 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.144e-05/0.005404, allocations: 7.938 kB / 0.8827 GB, free: 1.434 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/0.005408, allocations: 0 / 0.8827 GB, free: 1.434 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001036/0.005512, allocations: 19.94 kB / 0.8827 GB, free: 1.414 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/0.005523, allocations: 8.094 kB / 0.8827 GB, free: 1.406 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 6.09e-05/0.005584, allocations: 164.6 kB / 0.8829 GB, free: 1.234 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.875e-06/0.005592, allocations: 7.938 kB / 0.8829 GB, free: 1.227 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.879e-05/0.005611, allocations: 3.688 kB / 0.8829 GB, free: 1.219 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.005612, allocations: 4 kB / 0.8829 GB, free: 1.215 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.375e-06/0.005614, allocations: 0 / 0.8829 GB, free: 1.215 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.005617, allocations: 3.938 kB / 0.8829 GB, free: 1.211 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.455e-05/0.005682, allocations: 120.6 kB / 0.883 GB, free: 1.059 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.005683, allocations: 0 / 0.883 GB, free: 1.059 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.775e-06/0.005686, allocations: 0 / 0.883 GB, free: 1.059 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.005688, allocations: 8 kB / 0.883 GB, free: 1.051 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.14e-06/0.005693, allocations: 3.938 kB / 0.883 GB, free: 1.047 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-07/0.005693, allocations: 0 / 0.883 GB, free: 1.047 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.005694, allocations: 0 / 0.883 GB, free: 1.047 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.096e-05/0.005765, allocations: 92.36 kB / 0.8831 GB, free: 0.9336 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.019e-06/0.00577, allocations: 3.953 kB / 0.8831 GB, free: 0.9297 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.626e-06/0.005778, allocations: 3.938 kB / 0.8831 GB, free: 0.9258 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.893e-06/0.005785, allocations: 0 / 0.8831 GB, free: 0.9258 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.922e-05/0.005805, allocations: 8 kB / 0.8831 GB, free: 0.918 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-06/0.005809, allocations: 3.984 kB / 0.8831 GB, free: 0.9141 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.000118/0.005927, allocations: 123.2 kB / 0.8832 GB, free: 0.793 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.005927, allocations: 4 kB / 0.8832 GB, free: 0.7891 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001695/0.006097, allocations: 19.94 kB / 0.8832 GB, free: 0.7695 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.0001141/0.006211, allocations: 99.42 kB / 0.8833 GB, free: 0.6641 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001832/0.006394, allocations: 148.7 kB / 0.8835 GB, free: 0.4961 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.006396, allocations: 0 / 0.8835 GB, free: 0.4961 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.953e-05/0.006415, allocations: 15.67 kB / 0.8835 GB, free: 488 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001286/0.006544, allocations: 4 kB / 0.8835 GB, free: 484 kB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001964/0.00674, allocations: 133 kB / 0.8836 GB, free: 324 kB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.183e-05/0.006772, allocations: 59.34 kB / 0.8837 GB, free: 244 kB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.201e-05/0.006784, allocations: 3.938 kB / 0.8837 GB, free: 240 kB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.591e-05/0.0068, allocations: 12.5 kB / 0.8837 GB, free: 228 kB / 0.8386 GB Notification: Performance of SimCode: time 4.31e-07/0.0068, allocations: 0 / 0.8837 GB, free: 228 kB / 0.8386 GB Notification: Performance of Templates: time 0.002339/0.009139, allocations: 1.167 MB / 0.8848 GB, free: 15.09 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.553859218023717]