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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001413/0.001413, allocations: 106.8 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001386/0.001386, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.307/1.307, allocations: 225.6 MB / 249.3 MB, free: 3.215 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.527/2.527, allocations: 476.7 MB / 0.7628 GB, free: 15.16 MB / 0.6075 GB " [Timeout remaining time 177] 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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nand,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Nand",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nand,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Nand",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001837/0.001837, allocations: 67.89 kB / 1.107 GB, free: 5.152 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.736/0.7378, allocations: 168.7 MB / 1.271 GB, free: 7.715 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001533/0.7394, allocations: 0.666 MB / 1.272 GB, free: 7.312 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001078/0.7404, allocations: 1.196 MB / 1.273 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.859e-05/0.7405, allocations: 0.7812 kB / 1.273 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.487e-05/0.7405, allocations: 3.938 kB / 1.273 GB, free: 6.441 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.02e-05/0.7406, allocations: 12.88 kB / 1.273 GB, free: 6.434 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005238/0.7411, allocations: 223.7 kB / 1.273 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.000197/0.7413, allocations: 174.5 kB / 1.274 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.112e-05/0.7414, allocations: 5.219 kB / 1.274 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.785e-05/0.7414, allocations: 68.27 kB / 1.274 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001092/0.7416, allocations: 61.02 kB / 1.274 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.978e-05/0.7416, allocations: 15.25 kB / 1.274 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.949e-05/0.7417, allocations: 34.09 kB / 1.274 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.623e-05/0.7417, allocations: 16.56 kB / 1.274 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 6.286e-05/0.7417, allocations: 52.25 kB / 1.274 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001607/0.7419, allocations: 153.7 kB / 1.274 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.7419, allocations: 6.672 kB / 1.274 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.884e-06/0.7419, allocations: 1.031 kB / 1.274 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.7419, allocations: 3.938 kB / 1.274 GB, free: 6.098 MB / 0.9981 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.0003743/0.7423, allocations: 432.2 kB / 1.274 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.7423, allocations: 9.156 kB / 1.274 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.801e-05/0.7423, allocations: 32.41 kB / 1.274 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.69e-05/0.7424, allocations: 11.42 kB / 1.274 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.036e-05/0.7424, allocations: 167.3 kB / 1.275 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.7424, allocations: 9.891 kB / 1.275 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.121e-05/0.7425, allocations: 17.83 kB / 1.275 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.345e-05/0.7426, allocations: 52.03 kB / 1.275 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.7426, allocations: 5.031 kB / 1.275 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.023e-06/0.7426, allocations: 0 / 1.275 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-06/0.7426, allocations: 1.062 kB / 1.275 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.509e-05/0.7426, allocations: 11.69 kB / 1.275 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003268/0.743, allocations: 354.2 kB / 1.275 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.162e-05/0.743, allocations: 38.55 kB / 1.275 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.358e-05/0.743, allocations: 14.77 kB / 1.275 GB, free: 5.004 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.456e-06/0.743, allocations: 0 / 1.275 GB, free: 5.004 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001152/0.7432, allocations: 81.8 kB / 1.275 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.7432, allocations: 0.9688 kB / 1.275 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0002042/0.7434, allocations: 103.9 kB / 1.275 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.098e-05/0.7434, allocations: 53.41 kB / 1.275 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.837e-05/0.7434, allocations: 120.3 kB / 1.275 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.305e-05/0.7435, allocations: 33.7 kB / 1.275 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.864e-05/0.7435, allocations: 95.53 kB / 1.276 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.24e-05/0.7435, allocations: 14.39 kB / 1.276 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.258e-05/0.7436, allocations: 48.45 kB / 1.276 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.461e-05/0.7436, allocations: 323.5 kB / 1.276 GB, free: 4.238 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001249/0.7438, allocations: 64.03 kB / 1.276 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001241/0.7439, allocations: 99.23 kB / 1.276 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001408/0.744, allocations: 155.4 kB / 1.276 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.744, allocations: 0.6562 kB / 1.276 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003635/0.7444, allocations: 269 kB / 1.277 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.615e-05/0.7444, allocations: 70.61 kB / 1.277 GB, free: 3.789 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.7444, allocations: 1.344 kB / 1.277 GB, free: 3.789 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.7444, allocations: 7.266 kB / 1.277 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.683e-05/0.7445, allocations: 1.906 kB / 1.277 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.7445, allocations: 3.266 kB / 1.277 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003101/0.7448, allocations: 59.52 kB / 1.277 GB, free: 3.773 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.868e-05/0.7448, allocations: 11.69 kB / 1.277 GB, free: 3.773 MB / 0.9981 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 6.205e-05/0.7449, allocations: 128.3 kB / 1.277 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.231e-05/0.7449, allocations: 10.77 kB / 1.277 GB, free: 3.645 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.912e-05/0.7449, allocations: 9.406 kB / 1.277 GB, free: 3.633 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.7449, allocations: 1.062 kB / 1.277 GB, free: 3.633 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.7449, allocations: 3.984 kB / 1.277 GB, free: 3.629 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.7449, allocations: 1.203 kB / 1.277 GB, free: 3.629 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.129e-05/0.745, allocations: 179.1 kB / 1.277 GB, free: 3.426 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.745, allocations: 1.094 kB / 1.277 GB, free: 3.426 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.426e-06/0.745, allocations: 5.578 kB / 1.277 GB, free: 3.422 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.745, allocations: 4.078 kB / 1.277 GB, free: 3.422 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.745, allocations: 5.062 kB / 1.277 GB, free: 3.418 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.745, allocations: 0 / 1.277 GB, free: 3.418 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.745, allocations: 0.75 kB / 1.277 GB, free: 3.418 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001071/0.7451, allocations: 114.5 kB / 1.277 GB, free: 3.328 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.46e-05/0.7451, allocations: 83.08 kB / 1.277 GB, free: 3.23 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.282e-05/0.7451, allocations: 5.922 kB / 1.277 GB, free: 3.227 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.854e-05/0.7452, allocations: 0.9375 kB / 1.277 GB, free: 3.227 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.2e-05/0.7452, allocations: 9.547 kB / 1.277 GB, free: 3.223 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.712e-06/0.7452, allocations: 4.484 kB / 1.277 GB, free: 3.223 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.6e-05/0.7452, allocations: 89.5 kB / 1.277 GB, free: 3.145 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.7452, allocations: 0 / 1.277 GB, free: 3.145 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002227/0.7454, allocations: 38.86 kB / 1.277 GB, free: 3.133 MB / 0.9981 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.0002631/0.7457, allocations: 0.6468 MB / 1.278 GB, free: 2.523 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002612/0.746, allocations: 219.7 kB / 1.278 GB, free: 2.359 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.746, allocations: 0 / 1.278 GB, free: 2.359 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 4.093e-05/0.746, allocations: 33.25 kB / 1.278 GB, free: 2.344 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001976/0.7462, allocations: 19.39 kB / 1.278 GB, free: 2.336 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001485/0.7477, allocations: 1.716 MB / 1.28 GB, free: 16.91 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002636/0.748, allocations: 0.6876 MB / 1.281 GB, free: 16.21 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.741e-05/0.748, allocations: 6.438 kB / 1.281 GB, free: 16.21 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.847e-05/0.748, allocations: 23.06 kB / 1.281 GB, free: 16.2 MB / 1.014 GB Notification: Performance of SimCode: time 3.9e-07/0.748, allocations: 0 / 1.281 GB, free: 16.2 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02459/0.7726, allocations: 2.876 MB / 1.283 GB, free: 15.73 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.898/7.671, allocations: 10.23 kB / 1.283 GB, free: 15.72 MB / 1.014 GB " [Timeout remaining time 292] (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_res.csv --start-time 0 --stop-time 5 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Nand.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_res.csv","/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] "Error: Could not read variable nand1.u1 in file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_res.csv. Warning: Get data of variable nand1.u1 from file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_res.csv failed! Error: Could not read variable nand1.u2 in file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_res.csv. Warning: Get data of variable nand1.u2 from file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_res.csv failed! Error: Could not read variable nand1.y in file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_res.csv. Warning: Get data of variable nand1.y from file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.070029191003414]