Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009301/0.0009301, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0009352/0.0009352, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8942/0.8942, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.771/1.771, allocations: 389 MB / 0.633 GB, free: 12.68 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.And,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_And",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.And,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_And",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.297e-06/3.297e-06, allocations: 4 kB / 0.9997 GB, free: 13.47 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.981e-05/2.31e-05, allocations: 4.812 kB / 0.9997 GB, free: 13.47 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.001234/0.001257, allocations: 0.6375 MB / 1 GB, free: 12.83 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001226/0.002483, allocations: 1.21 MB / 1.001 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.16e-05/0.002525, allocations: 0 / 1.001 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.845e-05/0.002553, allocations: 3.938 kB / 1.001 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.215e-05/0.002625, allocations: 23.84 kB / 1.002 GB, free: 11.58 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005305/0.003156, allocations: 217.4 kB / 1.002 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001799/0.003336, allocations: 171.7 kB / 1.002 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.086e-05/0.003426, allocations: 8 kB / 1.002 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000104/0.00353, allocations: 91.86 kB / 1.002 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001026/0.003633, allocations: 51.91 kB / 1.002 GB, free: 11.06 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.568e-05/0.003659, allocations: 20 kB / 1.002 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 6.808e-05/0.003727, allocations: 27.98 kB / 1.002 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.108e-05/0.003748, allocations: 11.92 kB / 1.002 GB, free: 11 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 5.969e-05/0.003808, allocations: 47.95 kB / 1.002 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002068/0.004014, allocations: 183.5 kB / 1.002 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.004017, allocations: 0 / 1.002 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.573e-06/0.004019, allocations: 0 / 1.002 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.004023, allocations: 0 / 1.002 GB, free: 10.77 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.0004283/0.004451, allocations: 373.5 kB / 1.003 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.004494, allocations: 8.75 kB / 1.003 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.589e-05/0.00452, allocations: 30.75 kB / 1.003 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.177e-05/0.004562, allocations: 12.94 kB / 1.003 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.239e-05/0.004644, allocations: 113.7 kB / 1.003 GB, free: 10.17 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.004659, allocations: 8.312 kB / 1.003 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.155e-05/0.004681, allocations: 16.38 kB / 1.003 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.753e-05/0.004778, allocations: 46.25 kB / 1.003 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.824e-06/0.004786, allocations: 192 / 1.003 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.004798, allocations: 4.359 kB / 1.003 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.004804, allocations: 4.125 kB / 1.003 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.24e-05/0.004836, allocations: 12 kB / 1.003 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003847/0.005221, allocations: 291.9 kB / 1.003 GB, free: 9.746 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 7.143e-05/0.005292, allocations: 38.5 kB / 1.003 GB, free: 9.699 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.17e-05/0.005314, allocations: 12.86 kB / 1.003 GB, free: 9.684 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 9.858e-06/0.005324, allocations: 7.938 kB / 1.003 GB, free: 9.676 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001497/0.005474, allocations: 83.41 kB / 1.003 GB, free: 9.582 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=7): time 1.733e-06/0.005475, allocations: 3.938 kB / 1.003 GB, free: 9.578 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7): time 0.0002177/0.005693, allocations: 109.6 kB / 1.003 GB, free: 9.465 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.971e-05/0.005733, allocations: 55.41 kB / 1.003 GB, free: 9.398 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.912e-05/0.005812, allocations: 125.7 kB / 1.004 GB, free: 9.266 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.759e-05/0.005839, allocations: 29.7 kB / 1.004 GB, free: 9.23 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.939e-05/0.005889, allocations: 92.12 kB / 1.004 GB, free: 9.137 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.219e-05/0.005901, allocations: 11.91 kB / 1.004 GB, free: 9.125 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.244e-05/0.005963, allocations: 53.69 kB / 1.004 GB, free: 9.066 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.149e-05/0.006045, allocations: 318.8 kB / 1.004 GB, free: 8.746 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001215/0.006166, allocations: 115.4 kB / 1.004 GB, free: 8.621 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001186/0.006285, allocations: 155.7 kB / 1.004 GB, free: 8.441 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001288/0.006414, allocations: 159.5 kB / 1.004 GB, free: 8.258 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.006417, allocations: 3.938 kB / 1.005 GB, free: 8.254 MB / 0.9636 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002898/0.006706, allocations: 332.2 kB / 1.005 GB, free: 7.898 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 3.832e-05/0.006745, allocations: 63.41 kB / 1.005 GB, free: 7.824 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.006751, allocations: 3.984 kB / 1.005 GB, free: 7.82 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.006764, allocations: 4 kB / 1.005 GB, free: 7.816 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.179e-05/0.006786, allocations: 0 / 1.005 GB, free: 7.816 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.006792, allocations: 4 kB / 1.005 GB, free: 7.812 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001962/0.006989, allocations: 56.53 kB / 1.005 GB, free: 7.758 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.998e-05/0.007009, allocations: 11.98 kB / 1.005 GB, free: 7.746 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,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.109e-05/0.00709, allocations: 129.7 kB / 1.005 GB, free: 7.609 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.278e-06/0.007099, allocations: 7.953 kB / 1.005 GB, free: 7.602 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.174e-05/0.007121, allocations: 8.438 kB / 1.005 GB, free: 7.594 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.007124, allocations: 7.938 kB / 1.005 GB, free: 7.586 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.007128, allocations: 0 / 1.005 GB, free: 7.586 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.007133, allocations: 3.984 kB / 1.005 GB, free: 7.582 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.072e-05/0.007223, allocations: 144.7 kB / 1.005 GB, free: 7.398 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.007225, allocations: 4 kB / 1.005 GB, free: 7.395 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.218e-06/0.007229, allocations: 0 / 1.005 GB, free: 7.395 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.007231, allocations: 0 / 1.005 GB, free: 7.395 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.00724, allocations: 7.984 kB / 1.005 GB, free: 7.387 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.007241, allocations: 64 / 1.005 GB, free: 7.387 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.007243, allocations: 4 kB / 1.005 GB, free: 7.383 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001073/0.00735, allocations: 117 kB / 1.005 GB, free: 7.25 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.053e-05/0.007361, allocations: 15.88 kB / 1.005 GB, free: 7.234 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.018e-05/0.007371, allocations: 0 / 1.005 GB, free: 7.234 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.201e-05/0.007383, allocations: 0 / 1.005 GB, free: 7.234 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.047e-05/0.007413, allocations: 11.98 kB / 1.005 GB, free: 7.223 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.391e-06/0.007419, allocations: 8 kB / 1.005 GB, free: 7.215 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.454e-05/0.007453, allocations: 91.27 kB / 1.005 GB, free: 7.125 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.007453, allocations: 0 / 1.005 GB, free: 7.125 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001648/0.007618, allocations: 24 kB / 1.006 GB, free: 7.102 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,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.0003123/0.00793, allocations: 0.6553 MB / 1.006 GB, free: 6.414 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002539/0.008184, allocations: 278.1 kB / 1.006 GB, free: 6.105 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.008187, allocations: 3.938 kB / 1.006 GB, free: 6.102 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 2.963e-05/0.008216, allocations: 19.98 kB / 1.006 GB, free: 6.082 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000183/0.008399, allocations: 22.47 kB / 1.006 GB, free: 6.062 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001438/0.009837, allocations: 1.961 MB / 1.008 GB, free: 3.93 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.217e-05/0.00988, allocations: 71.34 kB / 1.008 GB, free: 3.84 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.928e-05/0.009909, allocations: 11.84 kB / 1.008 GB, free: 3.828 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.302e-05/0.009942, allocations: 12.5 kB / 1.008 GB, free: 3.816 MB / 0.9636 GB Notification: Performance of SimCode: time 6.22e-07/0.009942, allocations: 8 kB / 1.008 GB, free: 3.809 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01932/0.02926, allocations: 3.744 MB / 1.012 GB, free: 244 kB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.823/6.852, allocations: 12.5 kB / 1.012 GB, free: 236 kB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.csv --start-time 0 --stop-time 10 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_And.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_And.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.csv. Warning: Get data of variable and1.u1 from file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.csv failed! Error: Could not read variable and1.u2 in file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.csv. Warning: Get data of variable and1.u2 from file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.csv failed! Error: Could not read variable and1.y in file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.csv. Warning: Get data of variable and1.y from file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.029726228676736]