Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.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.001172/0.001172, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001432/0.001432, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8989/0.8989, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.654/1.654, allocations: 359 MB / 0.6037 GB, free: 11.08 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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.And,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_And",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.And,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_And",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.955e-06/2.955e-06, allocations: 0 / 0.9505 GB, free: 3.469 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.56e-05/2.855e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.465 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.002065/0.002093, allocations: 0.657 MB / 0.9511 GB, free: 2.801 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001253/0.003347, allocations: 1.206 MB / 0.9523 GB, free: 1.582 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.301e-05/0.00339, allocations: 0 / 0.9523 GB, free: 1.582 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.737e-05/0.003417, allocations: 3.938 kB / 0.9523 GB, free: 1.578 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 6.436e-05/0.003481, allocations: 7.938 kB / 0.9523 GB, free: 1.57 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004933/0.003975, allocations: 220.1 kB / 0.9525 GB, free: 1.359 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001767/0.004151, allocations: 171.7 kB / 0.9527 GB, free: 1.191 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 8.952e-05/0.004241, allocations: 11.98 kB / 0.9527 GB, free: 1.18 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001011/0.004342, allocations: 91.86 kB / 0.9528 GB, free: 1.09 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 9.699e-05/0.004439, allocations: 51.91 kB / 0.9529 GB, free: 1.039 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.444e-05/0.004463, allocations: 16 kB / 0.9529 GB, free: 1.023 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 6.267e-05/0.004526, allocations: 31.92 kB / 0.9529 GB, free: 0.9922 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.975e-05/0.004546, allocations: 11.94 kB / 0.9529 GB, free: 0.9805 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 5.712e-05/0.004603, allocations: 47.95 kB / 0.953 GB, free: 0.9336 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001834/0.004786, allocations: 183.5 kB / 0.9531 GB, free: 0.7539 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.004789, allocations: 0 / 0.9531 GB, free: 0.7539 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.373e-06/0.00479, allocations: 0 / 0.9531 GB, free: 0.7539 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.004794, allocations: 0 / 0.9531 GB, free: 0.7539 MB / 0.9011 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.0004007/0.005195, allocations: 371.4 kB / 0.9535 GB, free: 356 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.005234, allocations: 8.031 kB / 0.9535 GB, free: 348 kB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.36e-05/0.005258, allocations: 34.69 kB / 0.9535 GB, free: 304 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.961e-05/0.005297, allocations: 12.89 kB / 0.9535 GB, free: 292 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.279e-05/0.00537, allocations: 113.8 kB / 0.9537 GB, free: 152 kB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.005382, allocations: 4.375 kB / 0.9537 GB, free: 148 kB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.133e-05/0.005404, allocations: 16.36 kB / 0.9537 GB, free: 132 kB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.208e-05/0.005496, allocations: 50.19 kB / 0.9537 GB, free: 76 kB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-06/0.005502, allocations: 192 / 0.9537 GB, free: 76 kB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.815e-06/0.00551, allocations: 384 / 0.9537 GB, free: 76 kB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.005515, allocations: 4.125 kB / 0.9537 GB, free: 72 kB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.518e-05/0.00555, allocations: 15.98 kB / 0.9537 GB, free: 56 kB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003673/0.005917, allocations: 295.9 kB / 0.954 GB, free: 15.72 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 6.376e-05/0.005981, allocations: 30.61 kB / 0.9541 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.096e-05/0.006002, allocations: 24.78 kB / 0.9541 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 8.926e-06/0.006011, allocations: 3.938 kB / 0.9541 GB, free: 15.65 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001395/0.006151, allocations: 83.38 kB / 0.9542 GB, free: 15.56 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=7): time 1.754e-06/0.006152, allocations: 0 / 0.9542 GB, free: 15.56 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7): time 0.0001929/0.006345, allocations: 105.6 kB / 0.9543 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.332e-05/0.006379, allocations: 59.39 kB / 0.9543 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.519e-05/0.006454, allocations: 117.8 kB / 0.9544 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.45e-05/0.006478, allocations: 29.7 kB / 0.9545 GB, free: 15.22 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 5.435e-05/0.006533, allocations: 96.09 kB / 0.9545 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.401e-05/0.006547, allocations: 11.89 kB / 0.9546 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.31e-05/0.00661, allocations: 53.69 kB / 0.9546 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.669e-05/0.006696, allocations: 318.8 kB / 0.9549 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000122/0.006818, allocations: 119.4 kB / 0.955 GB, free: 14.6 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000127/0.006945, allocations: 156.8 kB / 0.9552 GB, free: 14.42 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001339/0.007079, allocations: 160 kB / 0.9553 GB, free: 14.24 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.007084, allocations: 3.938 kB / 0.9553 GB, free: 14.23 MB / 0.9167 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003127/0.007397, allocations: 324.4 kB / 0.9556 GB, free: 13.89 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 4.835e-05/0.007445, allocations: 67.39 kB / 0.9557 GB, free: 13.81 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.007451, allocations: 0 / 0.9557 GB, free: 13.81 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.007465, allocations: 11.92 kB / 0.9557 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.826e-05/0.007484, allocations: 0 / 0.9557 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.007492, allocations: 7.984 kB / 0.9557 GB, free: 13.79 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002061/0.007698, allocations: 55.89 kB / 0.9558 GB, free: 13.73 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.988e-05/0.007718, allocations: 8.062 kB / 0.9558 GB, free: 13.73 MB / 0.9167 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,and1.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 8.283e-05/0.007801, allocations: 136.5 kB / 0.9559 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.538e-06/0.007811, allocations: 7.953 kB / 0.9559 GB, free: 13.58 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.454e-05/0.007835, allocations: 8.438 kB / 0.9559 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.007839, allocations: 4 kB / 0.9559 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.239e-06/0.007844, allocations: 0 / 0.9559 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.007848, allocations: 0 / 0.9559 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.394e-05/0.007942, allocations: 152.6 kB / 0.9561 GB, free: 13.37 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.007943, allocations: 0 / 0.9561 GB, free: 13.37 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.069e-06/0.007948, allocations: 0 / 0.9561 GB, free: 13.37 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.00795, allocations: 4 kB / 0.9561 GB, free: 13.37 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.007958, allocations: 4 kB / 0.9561 GB, free: 13.36 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.007959, allocations: 4.25 kB / 0.9561 GB, free: 13.36 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.00796, allocations: 0 / 0.9561 GB, free: 13.36 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001498/0.00811, allocations: 117 kB / 0.9562 GB, free: 13.23 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 9.588e-06/0.00812, allocations: 4 kB / 0.9562 GB, free: 13.22 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.687e-05/0.008137, allocations: 3.984 kB / 0.9562 GB, free: 13.22 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.132e-05/0.008158, allocations: 0 / 0.9562 GB, free: 13.22 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.206e-05/0.0082, allocations: 8 kB / 0.9562 GB, free: 13.21 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.416e-06/0.008208, allocations: 3.984 kB / 0.9562 GB, free: 13.21 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.379e-05/0.008252, allocations: 95.16 kB / 0.9563 GB, free: 13.11 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.008252, allocations: 8 kB / 0.9563 GB, free: 13.11 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001831/0.008435, allocations: 27.98 kB / 0.9563 GB, free: 13.08 MB / 0.9167 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,and1.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.0003273/0.008763, allocations: 0.6553 MB / 0.957 GB, free: 12.39 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002564/0.009019, allocations: 282.1 kB / 0.9573 GB, free: 12.08 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.00902, allocations: 0 / 0.9573 GB, free: 12.08 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 2.821e-05/0.009049, allocations: 19.94 kB / 0.9573 GB, free: 12.06 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001804/0.009229, allocations: 20.23 kB / 0.9573 GB, free: 12.04 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001482/0.01071, allocations: 1.969 MB / 0.9592 GB, free: 9.898 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.994e-05/0.01076, allocations: 71.25 kB / 0.9593 GB, free: 9.809 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.809e-05/0.01079, allocations: 4 kB / 0.9593 GB, free: 9.805 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.123e-05/0.01083, allocations: 20.48 kB / 0.9593 GB, free: 9.785 MB / 0.9167 GB Notification: Performance of SimCode: time 9.92e-07/0.01083, allocations: 0 / 0.9593 GB, free: 9.785 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01848/0.02931, allocations: 3.758 MB / 0.963 GB, free: 6.207 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.732/6.761, allocations: 14 kB / 0.963 GB, free: 6.199 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_And.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_And.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable and1.u1 in file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.csv. Warning: Get data of variable and1.u1 from file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.csv failed! Error: Could not read variable and1.u2 in file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.csv. Warning: Get data of variable and1.u2 from file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.csv failed! Error: Could not read variable and1.y in file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.csv. Warning: Get data of variable and1.y from file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.789660526439548]