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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 101.5 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 189.9 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 225.6 MB / 250 MB, free: 13.42 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.761/2.761, allocations: 476.7 MB / 0.7634 GB, free: 10.93 MB / 0.6231 GB [Timeout remaining time 87] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Nand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=509,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=509,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 0.001961/0.001961, allocations: 71.89 kB / 1.108 GB, free: 7.449 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8241/0.8261, allocations: 168.7 MB / 1.272 GB, free: 4.672 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001969/0.828, allocations: 0.6508 MB / 1.273 GB, free: 4.023 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001629/0.8297, allocations: 1.194 MB / 1.274 GB, free: 2.816 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.193e-05/0.8297, allocations: 0 / 1.274 GB, free: 2.816 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.414e-05/0.8297, allocations: 7.938 kB / 1.274 GB, free: 2.809 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.512e-05/0.8298, allocations: 11.86 kB / 1.274 GB, free: 2.797 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007068/0.8305, allocations: 219.4 kB / 1.274 GB, free: 2.586 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002455/0.8308, allocations: 175.7 kB / 1.275 GB, free: 2.414 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.797e-05/0.8309, allocations: 11.94 kB / 1.275 GB, free: 2.402 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00011/0.831, allocations: 67.88 kB / 1.275 GB, free: 2.336 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001374/0.8311, allocations: 63.83 kB / 1.275 GB, free: 2.273 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.772e-05/0.8312, allocations: 16 kB / 1.275 GB, free: 2.258 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.38e-05/0.8312, allocations: 27.98 kB / 1.275 GB, free: 2.23 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.412e-05/0.8313, allocations: 8 kB / 1.275 GB, free: 2.223 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.733e-05/0.8314, allocations: 59.81 kB / 1.275 GB, free: 2.164 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002238/0.8316, allocations: 147.3 kB / 1.275 GB, free: 2.023 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.8316, allocations: 4 kB / 1.275 GB, free: 2.02 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.683e-06/0.8316, allocations: 0 / 1.275 GB, free: 2.02 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.8316, allocations: 3.938 kB / 1.275 GB, free: 2.016 MB / 0.9669 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.0006057/0.8322, allocations: 441.3 kB / 1.275 GB, free: 1.523 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.8322, allocations: 8.031 kB / 1.275 GB, free: 1.516 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.193e-05/0.8323, allocations: 12.89 kB / 1.275 GB, free: 1.504 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001552/0.8324, allocations: 168.3 kB / 1.276 GB, free: 1.301 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.8325, allocations: 4.375 kB / 1.276 GB, free: 1.297 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.011e-05/0.8325, allocations: 16.36 kB / 1.276 GB, free: 1.281 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00012/0.8326, allocations: 46.25 kB / 1.276 GB, free: 1.23 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.8326, allocations: 192 / 1.276 GB, free: 1.23 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.545e-05/0.8326, allocations: 7.938 kB / 1.276 GB, free: 1.223 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.8327, allocations: 0 / 1.276 GB, free: 1.223 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.737e-05/0.8327, allocations: 19.92 kB / 1.276 GB, free: 1.203 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005106/0.8332, allocations: 352.8 kB / 1.276 GB, free: 0.8086 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 8.2e-05/0.8333, allocations: 30.52 kB / 1.276 GB, free: 0.7695 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.375e-05/0.8333, allocations: 24.94 kB / 1.276 GB, free: 0.7422 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 6.692e-06/0.8333, allocations: 0 / 1.276 GB, free: 0.7422 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001479/0.8335, allocations: 80.86 kB / 1.276 GB, free: 0.6523 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.8335, allocations: 0 / 1.276 GB, free: 0.6523 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0002591/0.8337, allocations: 101.6 kB / 1.276 GB, free: 0.5469 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.854e-05/0.8338, allocations: 51.41 kB / 1.276 GB, free: 496 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.8339, allocations: 121.8 kB / 1.276 GB, free: 364 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.753e-05/0.8339, allocations: 37.7 kB / 1.276 GB, free: 320 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.713e-05/0.834, allocations: 100 kB / 1.277 GB, free: 216 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.65e-05/0.834, allocations: 11.91 kB / 1.277 GB, free: 204 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.768e-05/0.8341, allocations: 49.69 kB / 1.277 GB, free: 148 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001689/0.8343, allocations: 322.8 kB / 1.277 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001403/0.8344, allocations: 59.97 kB / 1.277 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001568/0.8346, allocations: 95.5 kB / 1.277 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002088/0.8348, allocations: 155.6 kB / 1.277 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.8348, allocations: 0 / 1.277 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004422/0.8352, allocations: 261 kB / 1.277 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.591e-05/0.8353, allocations: 71.39 kB / 1.278 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.8353, allocations: 4 kB / 1.278 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.8353, allocations: 0 / 1.278 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.783e-05/0.8354, allocations: 15.86 kB / 1.278 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.8354, allocations: 320 / 1.278 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003387/0.8357, allocations: 59.83 kB / 1.278 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.994e-05/0.8357, allocations: 8 kB / 1.278 GB, free: 15.04 MB / 0.9825 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.0001119/0.8358, allocations: 133.5 kB / 1.278 GB, free: 14.9 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.542e-05/0.8359, allocations: 8.422 kB / 1.278 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.15e-05/0.8359, allocations: 12.36 kB / 1.278 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.8359, allocations: 4 kB / 1.278 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.8359, allocations: 0 / 1.278 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.8359, allocations: 0 / 1.278 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001644/0.8361, allocations: 185.6 kB / 1.278 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.8361, allocations: 4 kB / 1.278 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.015e-06/0.8361, allocations: 4 kB / 1.278 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.8361, allocations: 0 / 1.278 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.782e-05/0.8361, allocations: 8 kB / 1.278 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.045e-06/0.8361, allocations: 7.922 kB / 1.278 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.8361, allocations: 0 / 1.278 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001579/0.8363, allocations: 109 kB / 1.278 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.68e-05/0.8363, allocations: 81.11 kB / 1.278 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.291e-05/0.8363, allocations: 3.984 kB / 1.278 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.421e-05/0.8364, allocations: 8 kB / 1.278 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.107e-05/0.8364, allocations: 0 / 1.278 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.13e-05/0.8364, allocations: 7.984 kB / 1.278 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.661e-05/0.8365, allocations: 87.28 kB / 1.278 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.8365, allocations: 0 / 1.278 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002446/0.8367, allocations: 32 kB / 1.278 GB, free: 14.26 MB / 0.9825 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.0001798/0.8369, allocations: 111.1 kB / 1.278 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000359/0.8372, allocations: 226.8 kB / 1.279 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.8372, allocations: 0 / 1.279 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.75e-05/0.8373, allocations: 27.97 kB / 1.279 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002362/0.8375, allocations: 18.33 kB / 1.279 GB, free: 13.85 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003688/0.8379, allocations: 180.3 kB / 1.279 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003024/0.8382, allocations: 0.6846 MB / 1.279 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.643e-05/0.8382, allocations: 19.5 kB / 1.28 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of SimCode: time 3.2e-07/0.8382, allocations: 3.938 kB / 1.28 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of Templates: time 0.003418/0.8417, allocations: 1.388 MB / 1.281 GB, free: 11.52 MB / 0.9825 GB [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches