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.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.001639/0.001639, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.002076/0.002076, allocations: 217 kB / 22.25 MB, free: 4.855 MB / 14.72 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.51/1.51, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.875/2.875, allocations: 476 MB / 0.7699 GB, free: 4.766 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002187/0.002187, allocations: 65.09 kB / 1.117 GB, free: 41.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3389/0.3411, allocations: 169.9 MB / 1.283 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001955/0.343, allocations: 0.6485 MB / 1.283 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001658/0.3447, allocations: 1.204 MB / 1.284 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.365e-05/0.3447, allocations: 3.938 kB / 1.284 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.669e-05/0.3448, allocations: 0 / 1.284 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.203e-05/0.3448, allocations: 11.88 kB / 1.284 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007437/0.3456, allocations: 223.7 kB / 1.285 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002382/0.3458, allocations: 171.7 kB / 1.285 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.3459, allocations: 11.5 kB / 1.285 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000101/0.346, allocations: 63.91 kB / 1.285 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001359/0.3461, allocations: 63.77 kB / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.566e-05/0.3462, allocations: 20 kB / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.488e-05/0.3462, allocations: 20 kB / 1.285 GB, free: 10 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.512e-05/0.3463, allocations: 15.97 kB / 1.285 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.711e-05/0.3463, allocations: 51.84 kB / 1.285 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002101/0.3466, allocations: 145.3 kB / 1.285 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3466, allocations: 4 kB / 1.285 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.193e-06/0.3466, allocations: 0 / 1.285 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.478e-06/0.3466, allocations: 0 / 1.285 GB, free: 9.789 MB / 0.9825 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.0005315/0.3471, allocations: 361.5 kB / 1.285 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.3471, allocations: 12.03 kB / 1.286 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.178e-05/0.3472, allocations: 34.75 kB / 1.286 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.665e-05/0.3472, allocations: 12.94 kB / 1.286 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001073/0.3473, allocations: 110.5 kB / 1.286 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.728e-05/0.3473, allocations: 12.3 kB / 1.286 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.185e-05/0.3474, allocations: 8.375 kB / 1.286 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000107/0.3475, allocations: 46.25 kB / 1.286 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.3475, allocations: 3.938 kB / 1.286 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.3475, allocations: 4 kB / 1.286 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.3475, allocations: 0 / 1.286 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.576e-05/0.3476, allocations: 15.98 kB / 1.286 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004816/0.348, allocations: 291.9 kB / 1.286 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 8.268e-05/0.3481, allocations: 46.5 kB / 1.286 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.989e-05/0.3482, allocations: 12.86 kB / 1.286 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.528e-06/0.3482, allocations: 3.938 kB / 1.286 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001763/0.3483, allocations: 91.39 kB / 1.286 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.683e-06/0.3483, allocations: 0 / 1.286 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0002491/0.3486, allocations: 101.6 kB / 1.286 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.769e-05/0.3486, allocations: 55.41 kB / 1.286 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/0.3487, allocations: 121.7 kB / 1.286 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.267e-05/0.3488, allocations: 33.7 kB / 1.286 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.025e-05/0.3489, allocations: 92.12 kB / 1.287 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.126e-05/0.3489, allocations: 19.89 kB / 1.287 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.177e-05/0.349, allocations: 49.69 kB / 1.287 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.3491, allocations: 318.8 kB / 1.287 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001761/0.3493, allocations: 123.4 kB / 1.287 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001966/0.3495, allocations: 151.7 kB / 1.287 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002133/0.3497, allocations: 163.5 kB / 1.287 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.3497, allocations: 0 / 1.287 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000464/0.3502, allocations: 324.7 kB / 1.288 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.000119/0.3503, allocations: 69.58 kB / 1.288 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.3503, allocations: 7.938 kB / 1.288 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.3503, allocations: 3.984 kB / 1.288 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.224e-05/0.3503, allocations: 7.984 kB / 1.288 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.3503, allocations: 0 / 1.288 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003188/0.3506, allocations: 56.06 kB / 1.288 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.398e-05/0.3507, allocations: 15.98 kB / 1.288 GB, free: 6.754 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.0001512/0.3508, allocations: 127.9 kB / 1.288 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.267e-05/0.3508, allocations: 3.953 kB / 1.288 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.728e-05/0.3509, allocations: 12.38 kB / 1.288 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.3509, allocations: 0 / 1.288 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.3509, allocations: 0 / 1.288 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.3509, allocations: 0 / 1.288 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001421/0.351, allocations: 148.6 kB / 1.288 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.351, allocations: 0 / 1.288 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.058e-05/0.351, allocations: 8 kB / 1.288 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.351, allocations: 0 / 1.288 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.351, allocations: 0 / 1.288 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.351, allocations: 0 / 1.288 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.351, allocations: 7.922 kB / 1.288 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002035/0.3513, allocations: 121.2 kB / 1.288 GB, free: 6.266 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.303e-05/0.3513, allocations: 7.938 kB / 1.288 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.746e-05/0.3513, allocations: 4 kB / 1.288 GB, free: 6.254 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.907e-05/0.3513, allocations: 4 kB / 1.288 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.797e-05/0.3513, allocations: 3.984 kB / 1.288 GB, free: 6.246 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.223e-06/0.3513, allocations: 4 kB / 1.288 GB, free: 6.242 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.87e-05/0.3514, allocations: 95.27 kB / 1.288 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3514, allocations: 0 / 1.288 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002336/0.3516, allocations: 32 kB / 1.288 GB, free: 6.117 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.000663/0.3523, allocations: 0.6514 MB / 1.289 GB, free: 5.438 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005159/0.3528, allocations: 282.1 kB / 1.289 GB, free: 5.125 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.3528, allocations: 4 kB / 1.289 GB, free: 5.121 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.431e-05/0.3529, allocations: 20.27 kB / 1.289 GB, free: 5.102 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002561/0.3531, allocations: 26.22 kB / 1.289 GB, free: 5.078 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002295/0.3554, allocations: 1.964 MB / 1.291 GB, free: 2.941 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.36e-05/0.3555, allocations: 72.36 kB / 1.291 GB, free: 2.852 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.408e-05/0.3555, allocations: 4 kB / 1.291 GB, free: 2.848 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.889e-05/0.3555, allocations: 19.42 kB / 1.291 GB, free: 2.828 MB / 0.9825 GB Notification: Performance of SimCode: time 4.21e-07/0.3555, allocations: 4 kB / 1.291 GB, free: 2.824 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03175/0.3873, allocations: 3.632 MB / 1.295 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.81, allocations: 3.984 kB / 1.295 GB, free: 15.37 MB / 0.9981 GB " [Timeout remaining time 288] (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: 18.638514303136617]