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.0008696/0.0008696, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001061/0.001061, allocations: 169 kB / 23.02 MB, free: 1.543 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 1.004/1.004, allocations: 177.1 MB / 203.4 MB, free: 5.59 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.223/2.223, allocations: 429.5 MB / 0.6732 GB, free: 4.062 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.146e-06/3.146e-06, allocations: 0 / 0.8782 GB, free: 6.344 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.855e-05/4.17e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.34 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.002298/0.00234, allocations: 0.6795 MB / 0.8788 GB, free: 5.684 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002034/0.004374, allocations: 1.235 MB / 0.88 GB, free: 4.438 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.816e-05/0.004442, allocations: 4 kB / 0.8801 GB, free: 4.434 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.312e-05/0.004485, allocations: 5.031 kB / 0.8801 GB, free: 4.43 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001062/0.004592, allocations: 9.016 kB / 0.8801 GB, free: 4.422 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007912/0.005383, allocations: 213.1 kB / 0.8803 GB, free: 4.215 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002654/0.005648, allocations: 167.7 kB / 0.8804 GB, free: 4.051 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.005766, allocations: 16.94 kB / 0.8804 GB, free: 4.035 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001599/0.005926, allocations: 87.88 kB / 0.8805 GB, free: 3.949 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001452/0.006071, allocations: 56.94 kB / 0.8806 GB, free: 3.895 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.074e-05/0.006111, allocations: 16 kB / 0.8806 GB, free: 3.879 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.425e-05/0.006196, allocations: 23.98 kB / 0.8806 GB, free: 3.855 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.787e-05/0.006224, allocations: 13.11 kB / 0.8806 GB, free: 3.844 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 8.406e-05/0.006308, allocations: 47.91 kB / 0.8807 GB, free: 3.797 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002557/0.006563, allocations: 139.7 kB / 0.8808 GB, free: 3.66 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.006569, allocations: 1.094 kB / 0.8808 GB, free: 3.66 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.423e-06/0.00657, allocations: 0 / 0.8808 GB, free: 3.66 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.812e-06/0.006577, allocations: 0 / 0.8808 GB, free: 3.66 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.0006015/0.007178, allocations: 468.7 kB / 0.8813 GB, free: 3.152 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.16e-05/0.00723, allocations: 8.031 kB / 0.8813 GB, free: 3.145 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.869e-05/0.007309, allocations: 18.53 kB / 0.8813 GB, free: 3.129 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/0.007431, allocations: 116.5 kB / 0.8814 GB, free: 2.988 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.307e-05/0.007454, allocations: 4.375 kB / 0.8814 GB, free: 2.984 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.464e-05/0.007489, allocations: 12.38 kB / 0.8814 GB, free: 2.973 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001195/0.007608, allocations: 42.23 kB / 0.8815 GB, free: 2.926 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.00762, allocations: 0.6875 kB / 0.8815 GB, free: 2.926 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.007632, allocations: 10.16 kB / 0.8815 GB, free: 2.918 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.007643, allocations: 384 / 0.8815 GB, free: 2.918 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.304e-05/0.007676, allocations: 11.94 kB / 0.8815 GB, free: 2.906 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005267/0.008202, allocations: 331.6 kB / 0.8818 GB, free: 2.547 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001109/0.008313, allocations: 40.39 kB / 0.8818 GB, free: 2.496 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.878e-05/0.008342, allocations: 11.69 kB / 0.8818 GB, free: 2.48 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.271e-05/0.008355, allocations: 3.984 kB / 0.8818 GB, free: 2.477 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001701/0.008525, allocations: 90.12 kB / 0.8819 GB, free: 2.375 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 2.204e-06/0.008527, allocations: 0 / 0.8819 GB, free: 2.375 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0003314/0.008859, allocations: 101.6 kB / 0.882 GB, free: 2.27 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.26e-05/0.008911, allocations: 53 kB / 0.8821 GB, free: 2.207 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001504/0.009062, allocations: 177.9 kB / 0.8822 GB, free: 2.016 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.511e-05/0.009097, allocations: 29.7 kB / 0.8823 GB, free: 1.98 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001101/0.009207, allocations: 138.8 kB / 0.8824 GB, free: 1.84 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.261e-05/0.009229, allocations: 14.47 kB / 0.8824 GB, free: 1.828 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000115/0.009345, allocations: 55.34 kB / 0.8825 GB, free: 1.766 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001947/0.009539, allocations: 0.4884 MB / 0.883 GB, free: 1.266 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001904/0.00973, allocations: 111.4 kB / 0.8831 GB, free: 1.145 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001927/0.009922, allocations: 169.7 kB / 0.8832 GB, free: 0.9453 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002025/0.01012, allocations: 155.8 kB / 0.8834 GB, free: 0.7617 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.01013, allocations: 0 / 0.8834 GB, free: 0.7617 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005214/0.01065, allocations: 320.9 kB / 0.8837 GB, free: 428 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.052e-05/0.01072, allocations: 71.39 kB / 0.8837 GB, free: 344 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.01073, allocations: 1.062 kB / 0.8837 GB, free: 344 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.272e-05/0.01075, allocations: 0 / 0.8837 GB, free: 344 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.258e-05/0.01077, allocations: 4 kB / 0.8837 GB, free: 340 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.01078, allocations: 8.125 kB / 0.8838 GB, free: 332 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002525/0.01103, allocations: 51.91 kB / 0.8838 GB, free: 280 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.026e-05/0.01106, allocations: 11.98 kB / 0.8838 GB, free: 268 kB / 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 0.0001153/0.01118, allocations: 168.5 kB / 0.884 GB, free: 88 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.025e-05/0.0112, allocations: 7.938 kB / 0.884 GB, free: 80 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.019e-05/0.01124, allocations: 12.44 kB / 0.884 GB, free: 68 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.207e-06/0.01124, allocations: 0 / 0.884 GB, free: 68 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.01125, allocations: 0 / 0.884 GB, free: 68 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.01125, allocations: 4 kB / 0.884 GB, free: 64 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001325/0.01138, allocations: 132.6 kB / 0.8841 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.01139, allocations: 7.938 kB / 0.8841 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.043e-05/0.0114, allocations: 0 / 0.8841 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.0114, allocations: 0 / 0.8841 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.948e-06/0.01141, allocations: 3.938 kB / 0.8841 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.01141, allocations: 4 kB / 0.8841 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.01142, allocations: 0 / 0.8841 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001666/0.01158, allocations: 116.3 kB / 0.8843 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.33e-05/0.0116, allocations: 7.953 kB / 0.8843 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.859e-05/0.01161, allocations: 11.92 kB / 0.8843 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.202e-05/0.01164, allocations: 4 kB / 0.8843 GB, free: 15.72 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.697e-05/0.01168, allocations: 4 kB / 0.8843 GB, free: 15.72 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.827e-06/0.01169, allocations: 3.984 kB / 0.8843 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.138e-05/0.01175, allocations: 131.2 kB / 0.8844 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.01175, allocations: 0 / 0.8844 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002924/0.01205, allocations: 35.98 kB / 0.8844 GB, free: 15.55 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.0001663/0.01221, allocations: 95.25 kB / 0.8845 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003519/0.01256, allocations: 274 kB / 0.8848 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.01257, allocations: 4.062 kB / 0.8848 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.905e-05/0.01262, allocations: 35.61 kB / 0.8848 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002704/0.01289, allocations: 13.28 kB / 0.8848 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003736/0.01326, allocations: 158.7 kB / 0.885 GB, free: 14.9 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.215e-05/0.0133, allocations: 59.34 kB / 0.8851 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.119e-05/0.01333, allocations: 7.859 kB / 0.8851 GB, free: 14.81 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.546e-05/0.01336, allocations: 12.5 kB / 0.8851 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of SimCode: time 8.32e-07/0.01336, allocations: 4 kB / 0.8851 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of Templates: time 0.004858/0.01822, allocations: 2.068 MB / 0.8871 GB, free: 12.79 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.807485724333674]