Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001162/0.001162, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001549/0.001549, allocations: 177 kB / 23.49 MB, free: 1.055 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.9831/0.9831, allocations: 177.1 MB / 203.8 MB, free: 5.613 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.275/2.275, allocations: 429.5 MB / 0.6736 GB, free: 4.047 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.Nand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|nand1.u1|nand1.u2|nand1.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.126e-06/3.126e-06, allocations: 3.938 kB / 0.8782 GB, free: 6.586 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.662e-05/2.975e-05, allocations: 6.25 kB / 0.8782 GB, free: 6.578 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001639/0.001668, allocations: 0.6712 MB / 0.8789 GB, free: 5.926 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.00142/0.003088, allocations: 1.229 MB / 0.8801 GB, free: 4.688 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.149e-05/0.00315, allocations: 0 / 0.8801 GB, free: 4.688 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.144e-05/0.003191, allocations: 3.938 kB / 0.8801 GB, free: 4.684 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001093/0.003301, allocations: 21.17 kB / 0.8801 GB, free: 4.664 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005573/0.003858, allocations: 210.3 kB / 0.8803 GB, free: 4.461 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002132/0.004071, allocations: 175.6 kB / 0.8805 GB, free: 4.289 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.004178, allocations: 4 kB / 0.8805 GB, free: 4.285 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000127/0.004305, allocations: 91.92 kB / 0.8805 GB, free: 4.195 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001134/0.004418, allocations: 56.56 kB / 0.8806 GB, free: 4.141 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.854e-05/0.004447, allocations: 17.66 kB / 0.8806 GB, free: 4.125 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 6.834e-05/0.004515, allocations: 23.98 kB / 0.8806 GB, free: 4.102 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.614e-05/0.004541, allocations: 11.98 kB / 0.8806 GB, free: 4.09 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 7.466e-05/0.004616, allocations: 51.89 kB / 0.8807 GB, free: 4.039 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002063/0.004822, allocations: 131.7 kB / 0.8808 GB, free: 3.91 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.365e-06/0.004824, allocations: 0.5 kB / 0.8808 GB, free: 3.91 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.172e-06/0.004826, allocations: 1.625 kB / 0.8808 GB, free: 3.91 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.004831, allocations: 0 / 0.8808 GB, free: 3.91 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005201/0.005351, allocations: 475.8 kB / 0.8813 GB, free: 3.395 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.005398, allocations: 8.031 kB / 0.8813 GB, free: 3.387 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.756e-05/0.005466, allocations: 13.45 kB / 0.8813 GB, free: 3.375 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001116/0.005577, allocations: 108.6 kB / 0.8814 GB, free: 3.242 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.003e-05/0.005597, allocations: 13.64 kB / 0.8814 GB, free: 3.23 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.678e-05/0.005624, allocations: 12.38 kB / 0.8814 GB, free: 3.219 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001268/0.005751, allocations: 46.19 kB / 0.8815 GB, free: 3.168 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.645e-06/0.005758, allocations: 192 / 0.8815 GB, free: 3.168 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.005772, allocations: 1.969 kB / 0.8815 GB, free: 3.168 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.128e-06/0.005781, allocations: 384 / 0.8815 GB, free: 3.168 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.136e-05/0.005812, allocations: 19.92 kB / 0.8815 GB, free: 3.148 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003968/0.006209, allocations: 323.7 kB / 0.8818 GB, free: 2.797 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.421e-05/0.006283, allocations: 46.98 kB / 0.8818 GB, free: 2.738 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.282e-05/0.006306, allocations: 11.69 kB / 0.8819 GB, free: 2.723 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 7.144e-06/0.006313, allocations: 0 / 0.8819 GB, free: 2.723 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001037/0.006417, allocations: 85.05 kB / 0.8819 GB, free: 2.625 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.006418, allocations: 0 / 0.8819 GB, free: 2.625 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0002016/0.00662, allocations: 97.56 kB / 0.882 GB, free: 2.523 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.842e-05/0.006658, allocations: 59.39 kB / 0.8821 GB, free: 2.453 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.425e-05/0.006752, allocations: 169.9 kB / 0.8822 GB, free: 2.27 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.108e-05/0.006773, allocations: 33.7 kB / 0.8823 GB, free: 2.23 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.838e-05/0.006842, allocations: 150.8 kB / 0.8824 GB, free: 2.078 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.206e-05/0.006854, allocations: 7.938 kB / 0.8824 GB, free: 2.07 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.644e-05/0.00692, allocations: 55.34 kB / 0.8825 GB, free: 2.008 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.007043, allocations: 496.1 kB / 0.883 GB, free: 1.512 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001117/0.007155, allocations: 115.4 kB / 0.8831 GB, free: 1.387 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001194/0.007274, allocations: 166.2 kB / 0.8832 GB, free: 1.191 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001271/0.007401, allocations: 165.7 kB / 0.8834 GB, free: 0.9961 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.007403, allocations: 0 / 0.8834 GB, free: 0.9961 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003011/0.007704, allocations: 328.2 kB / 0.8837 GB, free: 0.6445 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.988e-05/0.007744, allocations: 63.41 kB / 0.8838 GB, free: 0.5703 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.00775, allocations: 3.984 kB / 0.8838 GB, free: 0.5664 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.007764, allocations: 4 kB / 0.8838 GB, free: 0.5625 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.881e-05/0.007783, allocations: 0 / 0.8838 GB, free: 0.5625 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.00779, allocations: 4 kB / 0.8838 GB, free: 0.5586 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001827/0.007973, allocations: 48.03 kB / 0.8838 GB, free: 0.5117 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.041e-05/0.007993, allocations: 11.98 kB / 0.8838 GB, free: 0.5 MB / 0.8386 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.986e-05/0.008073, allocations: 172.5 kB / 0.884 GB, free: 328 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.171e-05/0.008085, allocations: 11.92 kB / 0.884 GB, free: 316 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.323e-05/0.008108, allocations: 12.44 kB / 0.884 GB, free: 304 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.008109, allocations: 3.938 kB / 0.884 GB, free: 300 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/0.008113, allocations: 0 / 0.884 GB, free: 300 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.008117, allocations: 0 / 0.884 GB, free: 300 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.077e-05/0.008197, allocations: 132.6 kB / 0.8841 GB, free: 132 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.008198, allocations: 0 / 0.8841 GB, free: 132 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.388e-06/0.008203, allocations: 7.984 kB / 0.8842 GB, free: 124 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.008204, allocations: 0 / 0.8842 GB, free: 124 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-06/0.008213, allocations: 7.938 kB / 0.8842 GB, free: 116 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.008214, allocations: 0 / 0.8842 GB, free: 116 kB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.008215, allocations: 0 / 0.8842 GB, free: 116 kB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001114/0.008326, allocations: 116.3 kB / 0.8843 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 8.206e-06/0.008335, allocations: 7.953 kB / 0.8843 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.361e-05/0.008348, allocations: 7.938 kB / 0.8843 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.128e-05/0.008359, allocations: 0 / 0.8843 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.759e-05/0.008397, allocations: 7.984 kB / 0.8843 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.509e-06/0.008402, allocations: 0 / 0.8843 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.812e-05/0.00844, allocations: 139.2 kB / 0.8844 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.00844, allocations: 0 / 0.8844 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001531/0.008593, allocations: 28 kB / 0.8845 GB, free: 15.79 MB / 0.8542 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.000113/0.008706, allocations: 103.2 kB / 0.8846 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002603/0.008966, allocations: 277.8 kB / 0.8848 GB, free: 15.37 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.008968, allocations: 0 / 0.8848 GB, free: 15.37 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.316e-05/0.009001, allocations: 27.62 kB / 0.8848 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001662/0.009167, allocations: 20.97 kB / 0.8849 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002687/0.009436, allocations: 158.7 kB / 0.885 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.455e-05/0.00947, allocations: 59.36 kB / 0.8851 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.207e-05/0.009492, allocations: 7.859 kB / 0.8851 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.256e-05/0.009515, allocations: 16.48 kB / 0.8851 GB, free: 15.03 MB / 0.8542 GB Notification: Performance of SimCode: time 8.21e-07/0.009516, allocations: 0 / 0.8851 GB, free: 15.03 MB / 0.8542 GB Notification: Performance of Templates: time 0.003518/0.01303, allocations: 2.062 MB / 0.8871 GB, free: 13.02 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.841633606003597]