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.001455/0.001455, allocations: 80.39 kB / 21.47 MB, free: 3.027 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.001881/0.001881, allocations: 175.5 kB / 24.87 MB, free: 8.863 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.9598/0.9598, allocations: 177.1 MB / 205.3 MB, free: 5.453 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.862/1.862, allocations: 359 MB / 0.6063 GB, free: 10.88 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 2.104e-06/2.104e-06, allocations: 0 / 0.7883 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.468e-05/2.678e-05, allocations: 6.641 kB / 0.7883 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001681/0.001707, allocations: 0.6715 MB / 0.789 GB, free: 11.51 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001395/0.003102, allocations: 1.231 MB / 0.7902 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.05e-05/0.003153, allocations: 4 kB / 0.7902 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.805e-05/0.003181, allocations: 8.625 kB / 0.7902 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.704e-05/0.003258, allocations: 12.42 kB / 0.7902 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000542/0.0038, allocations: 209.5 kB / 0.7904 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001924/0.003992, allocations: 171.7 kB / 0.7906 GB, free: 9.875 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.501e-05/0.004077, allocations: 16.81 kB / 0.7906 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001121/0.004189, allocations: 87.88 kB / 0.7907 GB, free: 9.773 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001108/0.0043, allocations: 52.47 kB / 0.7907 GB, free: 9.723 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.756e-05/0.004328, allocations: 16 kB / 0.7907 GB, free: 9.707 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.94e-05/0.004397, allocations: 24.89 kB / 0.7908 GB, free: 9.684 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.427e-05/0.004421, allocations: 15.92 kB / 0.7908 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.198e-05/0.004473, allocations: 48.61 kB / 0.7908 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001651/0.004638, allocations: 139.6 kB / 0.7909 GB, free: 9.484 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.004641, allocations: 1.25 kB / 0.791 GB, free: 9.484 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.283e-06/0.004642, allocations: 0 / 0.791 GB, free: 9.484 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.004647, allocations: 0 / 0.791 GB, free: 9.484 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.0004379/0.005085, allocations: 469.4 kB / 0.7914 GB, free: 8.977 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.005124, allocations: 8.031 kB / 0.7914 GB, free: 8.969 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.05e-05/0.005174, allocations: 12.89 kB / 0.7914 GB, free: 8.957 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.406e-05/0.005269, allocations: 112.6 kB / 0.7915 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/0.005285, allocations: 8.375 kB / 0.7915 GB, free: 8.812 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.05e-05/0.005306, allocations: 9.594 kB / 0.7915 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.942e-05/0.005385, allocations: 46.17 kB / 0.7916 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.665e-06/0.005393, allocations: 192 / 0.7916 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.356e-06/0.005401, allocations: 5.062 kB / 0.7916 GB, free: 8.75 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.005408, allocations: 8.359 kB / 0.7916 GB, free: 8.742 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.742e-05/0.005426, allocations: 13.52 kB / 0.7916 GB, free: 8.73 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003358/0.005761, allocations: 300.3 kB / 0.7919 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.78e-05/0.005829, allocations: 42.98 kB / 0.7919 GB, free: 8.355 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.507e-05/0.005844, allocations: 12.41 kB / 0.792 GB, free: 8.34 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.683e-06/0.005851, allocations: 0 / 0.792 GB, free: 8.34 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001016/0.005953, allocations: 84.5 kB / 0.792 GB, free: 8.246 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 8.51e-07/0.005953, allocations: 0 / 0.792 GB, free: 8.246 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0001657/0.006119, allocations: 97.5 kB / 0.7921 GB, free: 8.145 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.19e-05/0.006151, allocations: 51.41 kB / 0.7922 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.195e-05/0.006233, allocations: 177.8 kB / 0.7923 GB, free: 7.891 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.229e-05/0.006255, allocations: 33.7 kB / 0.7924 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.693e-05/0.006312, allocations: 138.8 kB / 0.7925 GB, free: 7.711 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.271e-05/0.006325, allocations: 15.91 kB / 0.7925 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.492e-05/0.00639, allocations: 55.33 kB / 0.7926 GB, free: 7.633 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.006506, allocations: 0.4929 MB / 0.7931 GB, free: 7.129 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.789e-05/0.006594, allocations: 99.38 kB / 0.7932 GB, free: 7.02 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.83e-05/0.006692, allocations: 155.4 kB / 0.7933 GB, free: 6.836 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001094/0.006801, allocations: 155.5 kB / 0.7934 GB, free: 6.652 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.006804, allocations: 4 kB / 0.7935 GB, free: 6.648 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002707/0.007075, allocations: 304.8 kB / 0.7937 GB, free: 6.32 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.605e-05/0.007121, allocations: 72.67 kB / 0.7938 GB, free: 6.238 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.007128, allocations: 4 kB / 0.7938 GB, free: 6.234 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.005e-06/0.007136, allocations: 0 / 0.7938 GB, free: 6.234 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.027e-05/0.007156, allocations: 5.281 kB / 0.7938 GB, free: 6.23 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/0.00716, allocations: 64 / 0.7938 GB, free: 6.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001561/0.007316, allocations: 44.61 kB / 0.7939 GB, free: 6.188 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.936e-05/0.007335, allocations: 9.406 kB / 0.7939 GB, free: 6.18 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 0.0003627/0.007698, allocations: 176.4 kB / 0.794 GB, free: 5.996 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.298e-05/0.007711, allocations: 7.953 kB / 0.794 GB, free: 5.988 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.204e-05/0.007733, allocations: 13.56 kB / 0.7941 GB, free: 5.98 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.007736, allocations: 4 kB / 0.7941 GB, free: 5.977 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.007739, allocations: 0 / 0.7941 GB, free: 5.977 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.007741, allocations: 0.5312 kB / 0.7941 GB, free: 5.977 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.695e-05/0.007818, allocations: 109.2 kB / 0.7942 GB, free: 5.844 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.00782, allocations: 0.5312 kB / 0.7942 GB, free: 5.844 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.839e-06/0.007825, allocations: 0.875 kB / 0.7942 GB, free: 5.844 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.007828, allocations: 4 kB / 0.7942 GB, free: 5.84 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/0.007834, allocations: 4.797 kB / 0.7942 GB, free: 5.836 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.007835, allocations: 0 / 0.7942 GB, free: 5.836 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.007837, allocations: 3.938 kB / 0.7942 GB, free: 5.832 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001023/0.007939, allocations: 121.1 kB / 0.7943 GB, free: 5.691 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.714e-06/0.007947, allocations: 5.328 kB / 0.7943 GB, free: 5.688 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.767e-06/0.007956, allocations: 4 kB / 0.7943 GB, free: 5.684 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.122e-05/0.007967, allocations: 0 / 0.7943 GB, free: 5.684 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.997e-05/0.007997, allocations: 15.92 kB / 0.7943 GB, free: 5.668 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.359e-06/0.008001, allocations: 1.156 kB / 0.7943 GB, free: 5.668 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.512e-05/0.008037, allocations: 131.2 kB / 0.7944 GB, free: 5.539 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3.6e-07/0.008037, allocations: 0 / 0.7944 GB, free: 5.539 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001714/0.008208, allocations: 32.78 kB / 0.7945 GB, free: 5.508 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.0001168/0.008325, allocations: 99.78 kB / 0.7946 GB, free: 5.398 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002203/0.008546, allocations: 266.6 kB / 0.7948 GB, free: 5.098 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.008547, allocations: 0.9375 kB / 0.7948 GB, free: 5.098 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.033e-05/0.008578, allocations: 35.59 kB / 0.7949 GB, free: 5.059 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001616/0.008739, allocations: 16.02 kB / 0.7949 GB, free: 5.047 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002279/0.008967, allocations: 155.7 kB / 0.795 GB, free: 4.863 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.987e-05/0.008997, allocations: 63.34 kB / 0.7951 GB, free: 4.781 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.319e-05/0.00902, allocations: 6.312 kB / 0.7951 GB, free: 4.777 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000103/0.009123, allocations: 106.2 kB / 0.7952 GB, free: 4.672 MB / 0.7448 GB Notification: Performance of SimCode: time 3.81e-07/0.009124, allocations: 0 / 0.7952 GB, free: 4.672 MB / 0.7448 GB Notification: Performance of Templates: time 0.003632/0.01276, allocations: 2.284 MB / 0.7974 GB, free: 2.469 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.090288426261395]