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.0009466/0.0009466, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.0009917/0.0009917, allocations: 181 kB / 24.09 MB, free: 420 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.9111/0.9111, allocations: 177.1 MB / 204.5 MB, free: 5.492 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.757/1.757, allocations: 359 MB / 0.6055 GB, free: 10.89 MB / 0.573 GB " [Timeout remaining time 178] 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 1.844e-06/1.844e-06, allocations: 0 / 0.7876 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.519e-05/1.703e-05, allocations: 3.562 kB / 0.7876 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001511/0.001528, allocations: 0.6723 MB / 0.7882 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00146/0.002989, allocations: 1.234 MB / 0.7894 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.598e-05/0.003035, allocations: 1.062 kB / 0.7894 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.789e-05/0.003063, allocations: 3.938 kB / 0.7894 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.636e-05/0.003139, allocations: 17.11 kB / 0.7894 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005299/0.003669, allocations: 208.9 kB / 0.7896 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001966/0.003865, allocations: 167.7 kB / 0.7898 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.649e-05/0.003942, allocations: 9.203 kB / 0.7898 GB, free: 9.875 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001362/0.004078, allocations: 103.8 kB / 0.7899 GB, free: 9.773 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001131/0.004191, allocations: 47.91 kB / 0.79 GB, free: 9.727 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.158e-05/0.004223, allocations: 16 kB / 0.79 GB, free: 9.711 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.963e-05/0.004292, allocations: 28.61 kB / 0.79 GB, free: 9.684 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.111e-05/0.004313, allocations: 9.344 kB / 0.79 GB, free: 9.676 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.407e-05/0.004378, allocations: 51.94 kB / 0.7901 GB, free: 9.625 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001761/0.004554, allocations: 139.6 kB / 0.7902 GB, free: 9.488 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.814e-06/0.004555, allocations: 0 / 0.7902 GB, free: 9.488 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.82e-07/0.004556, allocations: 0.9688 kB / 0.7902 GB, free: 9.488 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.297e-06/0.00456, allocations: 0 / 0.7902 GB, free: 9.488 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.0004417/0.005001, allocations: 467.8 kB / 0.7906 GB, free: 8.98 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.005036, allocations: 12.91 kB / 0.7907 GB, free: 8.969 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.915e-05/0.005075, allocations: 12.89 kB / 0.7907 GB, free: 8.957 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.804e-05/0.005143, allocations: 113.6 kB / 0.7908 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.005154, allocations: 4.375 kB / 0.7908 GB, free: 8.816 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.758e-05/0.005172, allocations: 8.375 kB / 0.7908 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.998e-05/0.005232, allocations: 46.77 kB / 0.7908 GB, free: 8.758 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.42e-06/0.005237, allocations: 0.9062 kB / 0.7908 GB, free: 8.758 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.07e-06/0.005242, allocations: 384 / 0.7908 GB, free: 8.758 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.005246, allocations: 2.031 kB / 0.7908 GB, free: 8.758 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.433e-05/0.00527, allocations: 23.84 kB / 0.7909 GB, free: 8.734 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002629/0.005533, allocations: 304.3 kB / 0.7911 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.97e-05/0.005583, allocations: 35.05 kB / 0.7912 GB, free: 8.363 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.273e-05/0.005596, allocations: 8.875 kB / 0.7912 GB, free: 8.352 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.901e-06/0.005602, allocations: 4 kB / 0.7912 GB, free: 8.348 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.657e-05/0.005688, allocations: 98.56 kB / 0.7913 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.233e-06/0.005689, allocations: 0 / 0.7913 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0001501/0.005839, allocations: 85.56 kB / 0.7914 GB, free: 8.148 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.751e-05/0.005867, allocations: 55.41 kB / 0.7914 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.835e-05/0.005945, allocations: 189.8 kB / 0.7916 GB, free: 7.879 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.84e-05/0.005964, allocations: 30.92 kB / 0.7916 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.157e-05/0.006015, allocations: 138.9 kB / 0.7918 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.027e-05/0.006026, allocations: 11.91 kB / 0.7918 GB, free: 7.691 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.756e-05/0.006083, allocations: 54.36 kB / 0.7918 GB, free: 7.633 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0004055/0.006489, allocations: 0.4923 MB / 0.7923 GB, free: 7.129 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.279e-05/0.006571, allocations: 103.4 kB / 0.7924 GB, free: 7.016 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.571e-05/0.006667, allocations: 151 kB / 0.7925 GB, free: 6.836 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001079/0.006775, allocations: 146.2 kB / 0.7927 GB, free: 6.66 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.006777, allocations: 0.5312 kB / 0.7927 GB, free: 6.66 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005192/0.007296, allocations: 309.3 kB / 0.793 GB, free: 6.328 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.047e-05/0.007337, allocations: 72.61 kB / 0.7931 GB, free: 6.246 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.007342, allocations: 4 kB / 0.7931 GB, free: 6.242 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.578e-06/0.007352, allocations: 0 / 0.7931 GB, free: 6.242 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.297e-05/0.007365, allocations: 8.469 kB / 0.7931 GB, free: 6.234 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.825e-06/0.007368, allocations: 0 / 0.7931 GB, free: 6.234 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001393/0.007507, allocations: 41.33 kB / 0.7931 GB, free: 6.195 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.618e-05/0.007523, allocations: 13.16 kB / 0.7931 GB, free: 6.184 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 7.862e-05/0.007602, allocations: 176.5 kB / 0.7933 GB, free: 6 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.175e-05/0.007613, allocations: 9.016 kB / 0.7933 GB, free: 5.992 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.193e-05/0.007635, allocations: 12.38 kB / 0.7933 GB, free: 5.984 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.007637, allocations: 0 / 0.7933 GB, free: 5.984 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.00764, allocations: 5.75 kB / 0.7933 GB, free: 5.98 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.007642, allocations: 0 / 0.7933 GB, free: 5.98 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.964e-05/0.007712, allocations: 113.2 kB / 0.7934 GB, free: 5.844 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.007713, allocations: 0 / 0.7934 GB, free: 5.844 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.775e-06/0.007716, allocations: 0 / 0.7934 GB, free: 5.844 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.007718, allocations: 6.109 kB / 0.7934 GB, free: 5.84 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.669e-06/0.007723, allocations: 4 kB / 0.7934 GB, free: 5.836 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-07/0.007724, allocations: 0 / 0.7934 GB, free: 5.836 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.007725, allocations: 3.938 kB / 0.7934 GB, free: 5.832 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.873e-05/0.007814, allocations: 108.4 kB / 0.7935 GB, free: 5.703 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.133e-06/0.007821, allocations: 11.89 kB / 0.7935 GB, free: 5.691 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.847e-06/0.00783, allocations: 4.594 kB / 0.7936 GB, free: 5.688 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.249e-05/0.007843, allocations: 0 / 0.7936 GB, free: 5.688 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.42e-05/0.007867, allocations: 11.36 kB / 0.7936 GB, free: 5.68 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-06/0.007871, allocations: 4 kB / 0.7936 GB, free: 5.676 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.788e-05/0.007909, allocations: 143.1 kB / 0.7937 GB, free: 5.535 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5.1e-08/0.007909, allocations: 0 / 0.7937 GB, free: 5.535 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001556/0.008064, allocations: 24 kB / 0.7937 GB, free: 5.512 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.0001184/0.008183, allocations: 107.2 kB / 0.7938 GB, free: 5.395 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001973/0.00838, allocations: 266.3 kB / 0.7941 GB, free: 5.094 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.008382, allocations: 0.5625 kB / 0.7941 GB, free: 5.094 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.69e-05/0.008409, allocations: 25.56 kB / 0.7941 GB, free: 5.066 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001502/0.008559, allocations: 20.12 kB / 0.7941 GB, free: 5.047 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000238/0.008797, allocations: 159.2 kB / 0.7943 GB, free: 4.859 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.221e-05/0.008829, allocations: 64.08 kB / 0.7943 GB, free: 4.781 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.969e-05/0.008849, allocations: 4 kB / 0.7943 GB, free: 4.777 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001038/0.008953, allocations: 106.2 kB / 0.7944 GB, free: 4.672 MB / 0.7448 GB Notification: Performance of SimCode: time 3.5e-07/0.008953, allocations: 0 / 0.7944 GB, free: 4.672 MB / 0.7448 GB Notification: Performance of Templates: time 0.003333/0.01229, allocations: 2.233 MB / 0.7966 GB, free: 2.516 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: 4.855423315893859]