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.0009982/0.0009982, allocations: 87.58 kB / 20.45 MB, free: 4.109 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.000994/0.000994, allocations: 165 kB / 23.82 MB, free: 0.7422 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.9734/0.9734, allocations: 177.1 MB / 204.2 MB, free: 5.594 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.917/1.917, allocations: 359 MB / 0.6052 GB, free: 10.96 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 1.472e-06/1.472e-06, allocations: 0 / 0.7871 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.097e-05/2.244e-05, allocations: 4.422 kB / 0.7871 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.00157/0.001592, allocations: 0.6634 MB / 0.7878 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001625/0.003217, allocations: 1.238 MB / 0.789 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.008e-05/0.003267, allocations: 5.094 kB / 0.789 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.202e-05/0.003309, allocations: 7.922 kB / 0.789 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.237e-05/0.003391, allocations: 7.875 kB / 0.789 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005772/0.003969, allocations: 214.2 kB / 0.7892 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002298/0.004198, allocations: 171.7 kB / 0.7894 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.004302, allocations: 8 kB / 0.7894 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001484/0.004451, allocations: 96.91 kB / 0.7895 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001292/0.00458, allocations: 51.91 kB / 0.7895 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.795e-05/0.004618, allocations: 16 kB / 0.7895 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 8.19e-05/0.0047, allocations: 20.62 kB / 0.7895 GB, free: 9.945 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.827e-05/0.004728, allocations: 17.33 kB / 0.7896 GB, free: 9.93 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 7.804e-05/0.004806, allocations: 47.95 kB / 0.7896 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002138/0.00502, allocations: 135.6 kB / 0.7897 GB, free: 9.75 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.335e-06/0.005022, allocations: 0 / 0.7897 GB, free: 9.75 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.92e-07/0.005023, allocations: 1.031 kB / 0.7897 GB, free: 9.75 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.928e-06/0.005027, allocations: 0 / 0.7897 GB, free: 9.75 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.0004923/0.005519, allocations: 463.9 kB / 0.7902 GB, free: 9.246 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.005558, allocations: 9.219 kB / 0.7902 GB, free: 9.238 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.627e-05/0.005625, allocations: 12.89 kB / 0.7902 GB, free: 9.227 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000102/0.005727, allocations: 124.5 kB / 0.7903 GB, free: 9.078 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.918e-05/0.005746, allocations: 5.75 kB / 0.7903 GB, free: 9.074 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.277e-05/0.005778, allocations: 12.38 kB / 0.7903 GB, free: 9.062 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001027/0.005881, allocations: 38.25 kB / 0.7904 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.005892, allocations: 192 / 0.7904 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.005905, allocations: 11.23 kB / 0.7904 GB, free: 9.012 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.856e-06/0.005913, allocations: 384 / 0.7904 GB, free: 9.012 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.173e-05/0.005945, allocations: 11.94 kB / 0.7904 GB, free: 9 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004571/0.006402, allocations: 327.7 kB / 0.7907 GB, free: 8.645 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.349e-05/0.006486, allocations: 39.05 kB / 0.7907 GB, free: 8.594 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.508e-05/0.006511, allocations: 11.69 kB / 0.7908 GB, free: 8.578 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.704e-06/0.006519, allocations: 0 / 0.7908 GB, free: 8.578 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001248/0.006643, allocations: 89.7 kB / 0.7908 GB, free: 8.477 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.006645, allocations: 1.656 kB / 0.7908 GB, free: 8.477 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0002502/0.006895, allocations: 105.8 kB / 0.7909 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.742e-05/0.006932, allocations: 51.41 kB / 0.791 GB, free: 8.305 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.007047, allocations: 181.8 kB / 0.7912 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.646e-05/0.007073, allocations: 29.7 kB / 0.7912 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.793e-05/0.007151, allocations: 140.6 kB / 0.7913 GB, free: 7.934 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.658e-05/0.007168, allocations: 15.84 kB / 0.7913 GB, free: 7.918 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.421e-05/0.007262, allocations: 59.34 kB / 0.7914 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.007397, allocations: 496.1 kB / 0.7919 GB, free: 7.355 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001526/0.007549, allocations: 112.5 kB / 0.792 GB, free: 7.234 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001766/0.007726, allocations: 175.1 kB / 0.7922 GB, free: 7.031 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001851/0.007911, allocations: 155.4 kB / 0.7923 GB, free: 6.848 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.007915, allocations: 0 / 0.7923 GB, free: 6.848 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004652/0.00838, allocations: 322 kB / 0.7926 GB, free: 6.504 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 6.132e-05/0.008441, allocations: 71.39 kB / 0.7927 GB, free: 6.422 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.008451, allocations: 0 / 0.7927 GB, free: 6.422 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.09e-05/0.008472, allocations: 0.8125 kB / 0.7927 GB, free: 6.422 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.568e-05/0.008497, allocations: 11.94 kB / 0.7927 GB, free: 6.41 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.008505, allocations: 0.5312 kB / 0.7927 GB, free: 6.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002189/0.008724, allocations: 41.2 kB / 0.7927 GB, free: 6.371 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.976e-05/0.008754, allocations: 8 kB / 0.7927 GB, free: 6.363 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.0001101/0.008864, allocations: 173 kB / 0.7929 GB, free: 6.188 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.015e-05/0.008884, allocations: 11.89 kB / 0.7929 GB, free: 6.176 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.297e-05/0.008917, allocations: 12.97 kB / 0.7929 GB, free: 6.168 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.008919, allocations: 0 / 0.7929 GB, free: 6.168 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.008923, allocations: 1.375 kB / 0.7929 GB, free: 6.168 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.008926, allocations: 0 / 0.7929 GB, free: 6.168 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001023/0.009029, allocations: 132.6 kB / 0.7931 GB, free: 6.004 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.00903, allocations: 5.156 kB / 0.7931 GB, free: 6 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.009e-05/0.00904, allocations: 0 / 0.7931 GB, free: 6 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.009042, allocations: 0 / 0.7931 GB, free: 6 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.009051, allocations: 3.938 kB / 0.7931 GB, free: 5.996 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.009055, allocations: 9.125 kB / 0.7931 GB, free: 5.988 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.009056, allocations: 0 / 0.7931 GB, free: 5.988 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001414/0.009197, allocations: 112.4 kB / 0.7932 GB, free: 5.855 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.048e-05/0.009208, allocations: 8.766 kB / 0.7932 GB, free: 5.848 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.545e-05/0.009223, allocations: 7.938 kB / 0.7932 GB, free: 5.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.764e-05/0.009241, allocations: 4.922 kB / 0.7932 GB, free: 5.836 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.806e-05/0.009279, allocations: 4 kB / 0.7932 GB, free: 5.832 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.134e-06/0.009286, allocations: 0 / 0.7932 GB, free: 5.832 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.508e-05/0.009341, allocations: 136.5 kB / 0.7933 GB, free: 5.699 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9e-08/0.009341, allocations: 0 / 0.7933 GB, free: 5.699 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000244/0.009585, allocations: 35.94 kB / 0.7934 GB, free: 5.664 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.0001188/0.009704, allocations: 108 kB / 0.7935 GB, free: 5.547 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0006312/0.01034, allocations: 283.7 kB / 0.7937 GB, free: 5.23 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.01034, allocations: 3.938 kB / 0.7937 GB, free: 5.227 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.507e-05/0.01038, allocations: 27.67 kB / 0.7938 GB, free: 5.195 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001881/0.01057, allocations: 21.11 kB / 0.7938 GB, free: 5.18 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003015/0.01087, allocations: 158.7 kB / 0.7939 GB, free: 4.992 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.143e-05/0.01091, allocations: 59.36 kB / 0.794 GB, free: 4.914 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.832e-05/0.01094, allocations: 7.984 kB / 0.794 GB, free: 4.906 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.895e-05/0.01097, allocations: 12.5 kB / 0.794 GB, free: 4.895 MB / 0.7448 GB Notification: Performance of SimCode: time 5.91e-07/0.01097, allocations: 0 / 0.794 GB, free: 4.895 MB / 0.7448 GB Notification: Performance of Templates: time 0.004775/0.01575, allocations: 2.051 MB / 0.796 GB, free: 2.918 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.428989241831005]