Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.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.0009621/0.0009621, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.0009735/0.0009735, allocations: 169 kB / 24.28 MB, free: 276 kB / 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.9631/0.9631, allocations: 177.1 MB / 204.6 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.903/1.903, allocations: 359 MB / 0.6055 GB, free: 11.04 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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.Nand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|nand1.u1|nand1.u2|nand1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nand") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Nand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|nand1.u1|nand1.u2|nand1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nand") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.815e-06/2.815e-06, allocations: 4 kB / 0.7871 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.894e-05/2.175e-05, allocations: 6.312 kB / 0.7871 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001163/0.001185, allocations: 0.6591 MB / 0.7878 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001138/0.002323, allocations: 1.235 MB / 0.789 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.358e-05/0.002367, allocations: 0 / 0.789 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.058e-05/0.002397, allocations: 3.938 kB / 0.789 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.758e-05/0.002475, allocations: 12.55 kB / 0.789 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004857/0.002961, allocations: 208.9 kB / 0.7892 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001757/0.003136, allocations: 176.8 kB / 0.7894 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.174e-05/0.003228, allocations: 4 kB / 0.7894 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000113/0.003341, allocations: 100.8 kB / 0.7895 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 9.828e-05/0.003439, allocations: 47.91 kB / 0.7895 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.686e-05/0.003466, allocations: 12.75 kB / 0.7895 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.122e-05/0.003527, allocations: 27.98 kB / 0.7895 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.892e-05/0.003556, allocations: 13.12 kB / 0.7895 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.832e-05/0.003615, allocations: 51.94 kB / 0.7896 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001618/0.003776, allocations: 135.6 kB / 0.7897 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.003e-06/0.003778, allocations: 4.531 kB / 0.7897 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.52e-07/0.003779, allocations: 0 / 0.7897 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.003783, allocations: 2.812 kB / 0.7897 GB, free: 10.16 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004053/0.004188, allocations: 463.8 kB / 0.7902 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.004224, allocations: 8.031 kB / 0.7902 GB, free: 9.648 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.447e-05/0.004279, allocations: 16.89 kB / 0.7902 GB, free: 9.633 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.285e-05/0.004362, allocations: 116.5 kB / 0.7903 GB, free: 9.492 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.004375, allocations: 4.375 kB / 0.7903 GB, free: 9.488 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.651e-05/0.004401, allocations: 20.34 kB / 0.7903 GB, free: 9.469 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.689e-05/0.004488, allocations: 43.66 kB / 0.7904 GB, free: 9.422 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.29e-06/0.004493, allocations: 192 / 0.7904 GB, free: 9.422 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.004505, allocations: 4.375 kB / 0.7904 GB, free: 9.418 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.004511, allocations: 384 / 0.7904 GB, free: 9.418 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.739e-05/0.004539, allocations: 16.52 kB / 0.7904 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003681/0.004907, allocations: 328.3 kB / 0.7907 GB, free: 9.047 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.884e-05/0.004976, allocations: 31.75 kB / 0.7907 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.215e-05/0.004998, allocations: 15.77 kB / 0.7908 GB, free: 8.984 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.935e-06/0.005006, allocations: 4.688 kB / 0.7908 GB, free: 8.98 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.892e-05/0.005105, allocations: 80.97 kB / 0.7908 GB, free: 8.887 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 9.52e-07/0.005105, allocations: 4.875 kB / 0.7908 GB, free: 8.883 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0001895/0.005295, allocations: 101.8 kB / 0.7909 GB, free: 8.777 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.433e-05/0.005329, allocations: 56.78 kB / 0.791 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.00543, allocations: 185.8 kB / 0.7912 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.068e-05/0.005451, allocations: 33.64 kB / 0.7912 GB, free: 8.473 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.59e-05/0.005506, allocations: 134.9 kB / 0.7913 GB, free: 8.336 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.463e-05/0.005521, allocations: 17.7 kB / 0.7913 GB, free: 8.32 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.087e-05/0.005582, allocations: 55.34 kB / 0.7914 GB, free: 8.258 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0003541/0.005936, allocations: 496.1 kB / 0.7919 GB, free: 7.762 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001044/0.00604, allocations: 111.4 kB / 0.792 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001194/0.00616, allocations: 163.3 kB / 0.7921 GB, free: 7.449 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001248/0.006285, allocations: 158.3 kB / 0.7923 GB, free: 7.262 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.165e-06/0.006287, allocations: 0 / 0.7923 GB, free: 7.262 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002916/0.006578, allocations: 330.1 kB / 0.7926 GB, free: 6.91 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.743e-05/0.006616, allocations: 69.11 kB / 0.7927 GB, free: 6.832 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.359e-06/0.00662, allocations: 0 / 0.7927 GB, free: 6.832 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.006632, allocations: 6.5 kB / 0.7927 GB, free: 6.828 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.881e-05/0.006651, allocations: 7.984 kB / 0.7927 GB, free: 6.82 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.006658, allocations: 3.938 kB / 0.7927 GB, free: 6.816 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001664/0.006824, allocations: 31.97 kB / 0.7927 GB, free: 6.785 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.107e-05/0.006845, allocations: 16.52 kB / 0.7927 GB, free: 6.77 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,nand1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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 8.22e-05/0.006927, allocations: 169.2 kB / 0.7929 GB, free: 6.594 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.161e-05/0.006939, allocations: 12.42 kB / 0.7929 GB, free: 6.582 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.359e-05/0.006963, allocations: 12.42 kB / 0.7929 GB, free: 6.574 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.006965, allocations: 1.625 kB / 0.7929 GB, free: 6.574 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.006971, allocations: 4 kB / 0.7929 GB, free: 6.57 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.006975, allocations: 0 / 0.7929 GB, free: 6.57 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.249e-05/0.007058, allocations: 124.6 kB / 0.793 GB, free: 6.414 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.81e-07/0.007058, allocations: 1.156 kB / 0.793 GB, free: 6.414 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.166e-06/0.007062, allocations: 0 / 0.793 GB, free: 6.414 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.007063, allocations: 4 kB / 0.793 GB, free: 6.41 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.007073, allocations: 12.52 kB / 0.7931 GB, free: 6.398 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.41e-07/0.007074, allocations: 0 / 0.7931 GB, free: 6.398 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.007076, allocations: 4.812 kB / 0.7931 GB, free: 6.395 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001018/0.007178, allocations: 116.4 kB / 0.7932 GB, free: 6.258 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.193e-06/0.007185, allocations: 8.797 kB / 0.7932 GB, free: 6.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.141e-05/0.007196, allocations: 3.938 kB / 0.7932 GB, free: 6.246 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.064e-05/0.007207, allocations: 1.688 kB / 0.7932 GB, free: 6.246 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.465e-05/0.007242, allocations: 7.984 kB / 0.7932 GB, free: 6.238 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.112e-06/0.007248, allocations: 8 kB / 0.7932 GB, free: 6.23 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.366e-05/0.007292, allocations: 135.1 kB / 0.7933 GB, free: 6.098 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.007292, allocations: 0 / 0.7933 GB, free: 6.098 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001504/0.007442, allocations: 28.84 kB / 0.7934 GB, free: 6.07 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,nand1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001046/0.007547, allocations: 113.4 kB / 0.7935 GB, free: 5.949 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002295/0.007776, allocations: 269.8 kB / 0.7937 GB, free: 5.645 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.007778, allocations: 0 / 0.7937 GB, free: 5.645 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.148e-05/0.007809, allocations: 31.67 kB / 0.7938 GB, free: 5.609 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001613/0.00797, allocations: 18.86 kB / 0.7938 GB, free: 5.594 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002706/0.008241, allocations: 154.7 kB / 0.7939 GB, free: 5.41 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.671e-05/0.008278, allocations: 59.34 kB / 0.794 GB, free: 5.332 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.32e-05/0.008301, allocations: 5.594 kB / 0.794 GB, free: 5.328 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.07e-05/0.008322, allocations: 12.5 kB / 0.794 GB, free: 5.316 MB / 0.7448 GB Notification: Performance of SimCode: time 9.82e-07/0.008323, allocations: 0 / 0.794 GB, free: 5.316 MB / 0.7448 GB Notification: Performance of Templates: time 0.003265/0.01159, allocations: 2.064 MB / 0.796 GB, free: 3.32 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nand -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_Nand.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.202901158947498]