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.001198/0.001198, allocations: 72.45 kB / 19.17 MB, free: 0.7344 MB / 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.0008584/0.0008584, allocations: 173.9 kB / 22.46 MB, free: 2.09 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.9162/0.9162, allocations: 177.1 MB / 202.8 MB, free: 5.73 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 1.762/1.762, allocations: 389 MB / 0.633 GB, free: 12.67 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nand,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Nand",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nand,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Nand",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.786e-06/2.786e-06, allocations: 0 / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.169e-05/2.448e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001316/0.00134, allocations: 0.6521 MB / 1 GB, free: 12.84 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001191/0.002532, allocations: 1.202 MB / 1.001 GB, free: 11.62 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.178e-05/0.002573, allocations: 0 / 1.001 GB, free: 11.62 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.605e-05/0.0026, allocations: 3.938 kB / 1.001 GB, free: 11.62 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.407e-05/0.002664, allocations: 15.88 kB / 1.002 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005127/0.003176, allocations: 221.4 kB / 1.002 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001838/0.00336, allocations: 171.7 kB / 1.002 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.825e-05/0.003458, allocations: 19.86 kB / 1.002 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000108/0.003566, allocations: 91.92 kB / 1.002 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001011/0.003667, allocations: 55.84 kB / 1.002 GB, free: 11.06 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.501e-05/0.003692, allocations: 16 kB / 1.002 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 6.276e-05/0.003755, allocations: 27.98 kB / 1.002 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.806e-05/0.003773, allocations: 4 kB / 1.002 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 5.728e-05/0.003831, allocations: 55.88 kB / 1.002 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001852/0.004016, allocations: 179.6 kB / 1.002 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.004019, allocations: 4 kB / 1.002 GB, free: 10.78 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.493e-06/0.00402, allocations: 0 / 1.002 GB, free: 10.78 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.004024, allocations: 0 / 1.002 GB, free: 10.78 MB / 0.9636 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.000407/0.004431, allocations: 361.5 kB / 1.003 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.00447, allocations: 8.75 kB / 1.003 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.651e-05/0.004497, allocations: 34.75 kB / 1.003 GB, free: 10.33 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.13e-05/0.004538, allocations: 8.938 kB / 1.003 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.413e-05/0.004612, allocations: 117.6 kB / 1.003 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.004626, allocations: 8.359 kB / 1.003 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.004645, allocations: 8.375 kB / 1.003 GB, free: 10.17 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.127e-05/0.004736, allocations: 54.25 kB / 1.003 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.141e-06/0.004742, allocations: 192 / 1.003 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.955e-06/0.00475, allocations: 384 / 1.003 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.004756, allocations: 4.125 kB / 1.003 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.366e-05/0.004789, allocations: 15.98 kB / 1.003 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003716/0.005161, allocations: 295.9 kB / 1.003 GB, free: 9.758 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 6.952e-05/0.005231, allocations: 30.56 kB / 1.003 GB, free: 9.719 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.208e-05/0.005253, allocations: 12.86 kB / 1.003 GB, free: 9.703 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.266e-05/0.005265, allocations: 7.938 kB / 1.003 GB, free: 9.695 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001586/0.005424, allocations: 87.36 kB / 1.003 GB, free: 9.598 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.005425, allocations: 4 kB / 1.003 GB, free: 9.594 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7): time 0.0002098/0.005635, allocations: 101.7 kB / 1.003 GB, free: 9.488 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.631e-05/0.005671, allocations: 55.39 kB / 1.003 GB, free: 9.422 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.081e-05/0.005742, allocations: 121.7 kB / 1.004 GB, free: 9.293 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/0.005763, allocations: 33.7 kB / 1.004 GB, free: 9.254 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002968/0.006059, allocations: 96.12 kB / 1.004 GB, free: 9.156 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.316e-05/0.006073, allocations: 11.89 kB / 1.004 GB, free: 9.145 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.187e-05/0.006134, allocations: 49.69 kB / 1.004 GB, free: 9.09 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.607e-05/0.006211, allocations: 318.8 kB / 1.004 GB, free: 8.77 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001146/0.006325, allocations: 119.4 kB / 1.004 GB, free: 8.641 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001152/0.00644, allocations: 155.6 kB / 1.004 GB, free: 8.461 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001301/0.00657, allocations: 167.5 kB / 1.005 GB, free: 8.27 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.006574, allocations: 3.938 kB / 1.005 GB, free: 8.266 MB / 0.9636 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003034/0.006877, allocations: 324.2 kB / 1.005 GB, free: 7.918 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 4.427e-05/0.006921, allocations: 67.39 kB / 1.005 GB, free: 7.84 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.006927, allocations: 0 / 1.005 GB, free: 7.84 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.00694, allocations: 8.125 kB / 1.005 GB, free: 7.832 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.787e-05/0.006958, allocations: 3.984 kB / 1.005 GB, free: 7.828 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.006964, allocations: 4 kB / 1.005 GB, free: 7.824 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002041/0.007168, allocations: 51.88 kB / 1.005 GB, free: 7.773 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.07e-05/0.007188, allocations: 12 kB / 1.005 GB, free: 7.762 MB / 0.9636 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.955e-05/0.007268, allocations: 130.2 kB / 1.005 GB, free: 7.625 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.839e-06/0.007278, allocations: 11.95 kB / 1.005 GB, free: 7.613 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.101e-05/0.007299, allocations: 8.438 kB / 1.005 GB, free: 7.605 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.007302, allocations: 4 kB / 1.005 GB, free: 7.602 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.007307, allocations: 0 / 1.005 GB, free: 7.602 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.00731, allocations: 3.938 kB / 1.005 GB, free: 7.598 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.119e-05/0.007401, allocations: 148.7 kB / 1.005 GB, free: 7.41 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.007403, allocations: 0 / 1.005 GB, free: 7.41 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.482e-06/0.007409, allocations: 0 / 1.005 GB, free: 7.41 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.007411, allocations: 0 / 1.005 GB, free: 7.41 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-06/0.007419, allocations: 4 kB / 1.005 GB, free: 7.406 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.00742, allocations: 0 / 1.005 GB, free: 7.406 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.007421, allocations: 4 kB / 1.005 GB, free: 7.402 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001158/0.007536, allocations: 121 kB / 1.005 GB, free: 7.266 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 9.317e-06/0.007546, allocations: 7.953 kB / 1.005 GB, free: 7.258 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.303e-05/0.007559, allocations: 3.984 kB / 1.005 GB, free: 7.254 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.399e-05/0.007573, allocations: 0 / 1.005 GB, free: 7.254 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.474e-05/0.007608, allocations: 11.98 kB / 1.005 GB, free: 7.242 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-06/0.007613, allocations: 4 kB / 1.005 GB, free: 7.238 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.217e-05/0.007645, allocations: 87.28 kB / 1.005 GB, free: 7.152 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.007645, allocations: 0 / 1.005 GB, free: 7.152 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001728/0.007818, allocations: 27.98 kB / 1.006 GB, free: 7.125 MB / 0.9636 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.0003766/0.008195, allocations: 0.663 MB / 1.006 GB, free: 6.43 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002714/0.008466, allocations: 286.1 kB / 1.006 GB, free: 6.113 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.008468, allocations: 0 / 1.006 GB, free: 6.113 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 3.01e-05/0.008498, allocations: 19.94 kB / 1.006 GB, free: 6.094 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000197/0.008695, allocations: 15.98 kB / 1.006 GB, free: 6.078 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001479/0.01017, allocations: 1.957 MB / 1.008 GB, free: 3.949 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.45e-05/0.01022, allocations: 71.34 kB / 1.008 GB, free: 3.859 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.992e-05/0.01025, allocations: 8.078 kB / 1.008 GB, free: 3.852 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.105e-05/0.01029, allocations: 16.44 kB / 1.008 GB, free: 3.836 MB / 0.9636 GB Notification: Performance of SimCode: time 1.533e-06/0.01029, allocations: 4 kB / 1.008 GB, free: 3.832 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01857/0.02886, allocations: 3.753 MB / 1.012 GB, free: 260 kB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.794/6.823, allocations: 15.22 kB / 1.012 GB, free: 252 kB / 0.9636 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_res.csv --start-time 0 --stop-time 5 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Nand.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Nand.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_res.csv. Warning: Get data of variable nand1.u1 from file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_res.csv failed! Error: Could not read variable nand1.u2 in file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_res.csv. Warning: Get data of variable nand1.u2 from file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_res.csv failed! Error: Could not read variable nand1.y in file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_res.csv. Warning: Get data of variable nand1.y from file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.99677790608257]