Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008533/0.0008533, 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.000855/0.000855, 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.928/0.928, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.724/1.724, allocations: 377.8 MB / 0.6221 GB, free: 8.613 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_Buildings_Controls_OBC_CDL_Logical_Validation_And",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.And,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_And",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.394e-06/2.394e-06, allocations: 0 / 0.981 GB, free: 2.543 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.753e-05/1.993e-05, allocations: 2.281 kB / 0.981 GB, free: 2.539 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.001195/0.001215, allocations: 0.6519 MB / 0.9816 GB, free: 1.891 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001048/0.002263, allocations: 1.205 MB / 0.9828 GB, free: 0.6719 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.966e-05/0.002302, allocations: 3.938 kB / 0.9828 GB, free: 0.668 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.634e-05/0.002329, allocations: 3.938 kB / 0.9828 GB, free: 0.6641 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 6.122e-05/0.00239, allocations: 15.86 kB / 0.9828 GB, free: 0.6484 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.000465/0.002855, allocations: 224.2 kB / 0.983 GB, free: 444 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001646/0.00302, allocations: 167.7 kB / 0.9832 GB, free: 276 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 8.588e-05/0.003105, allocations: 15.91 kB / 0.9832 GB, free: 260 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 9.898e-05/0.003204, allocations: 91.88 kB / 0.9833 GB, free: 168 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 9.653e-05/0.003301, allocations: 51.91 kB / 0.9833 GB, free: 116 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.366e-05/0.003325, allocations: 16 kB / 0.9834 GB, free: 100 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 5.612e-05/0.003381, allocations: 23.98 kB / 0.9834 GB, free: 76 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 2.033e-05/0.003401, allocations: 19.92 kB / 0.9834 GB, free: 56 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 5.372e-05/0.003455, allocations: 47.95 kB / 0.9834 GB, free: 8 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001834/0.003638, allocations: 183.5 kB / 0.9836 GB, free: 15.83 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.903e-06/0.00364, allocations: 0 / 0.9836 GB, free: 15.83 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.182e-06/0.003641, allocations: 0 / 0.9836 GB, free: 15.83 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.447e-06/0.003645, allocations: 0 / 0.9836 GB, free: 15.83 MB / 0.948 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.0003726/0.004017, allocations: 353.6 kB / 0.984 GB, free: 15.44 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.004056, allocations: 12.03 kB / 0.984 GB, free: 15.43 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.421e-05/0.00408, allocations: 34.75 kB / 0.984 GB, free: 15.38 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.021e-05/0.00412, allocations: 12.89 kB / 0.984 GB, free: 15.37 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.187e-05/0.004192, allocations: 113.7 kB / 0.9841 GB, free: 15.23 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/0.004206, allocations: 12.38 kB / 0.9841 GB, free: 15.22 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.905e-05/0.004225, allocations: 12.36 kB / 0.9841 GB, free: 15.21 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.793e-05/0.004313, allocations: 50.25 kB / 0.9842 GB, free: 15.16 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.252e-06/0.004319, allocations: 192 / 0.9842 GB, free: 15.16 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.036e-06/0.004327, allocations: 384 / 0.9842 GB, free: 15.16 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.004332, allocations: 8.062 kB / 0.9842 GB, free: 15.15 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.227e-05/0.004365, allocations: 15.98 kB / 0.9842 GB, free: 15.13 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003498/0.004714, allocations: 291.9 kB / 0.9845 GB, free: 14.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.456e-05/0.004779, allocations: 34.5 kB / 0.9845 GB, free: 14.76 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.978e-05/0.004799, allocations: 12.86 kB / 0.9845 GB, free: 14.75 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.486e-06/0.004807, allocations: 7.938 kB / 0.9845 GB, free: 14.74 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001312/0.004938, allocations: 79.47 kB / 0.9846 GB, free: 14.65 MB / 0.948 GB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.004939, allocations: 0 / 0.9846 GB, free: 14.65 MB / 0.948 GB Notification: Performance of matching and sorting (n=7): time 0.0001986/0.005138, allocations: 105.5 kB / 0.9847 GB, free: 14.54 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.268e-05/0.005171, allocations: 59.39 kB / 0.9848 GB, free: 14.47 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.712e-05/0.005238, allocations: 113.8 kB / 0.9849 GB, free: 14.35 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.152e-05/0.005259, allocations: 33.7 kB / 0.9849 GB, free: 14.31 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.268e-05/0.005302, allocations: 96.03 kB / 0.985 GB, free: 14.21 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.358e-05/0.005316, allocations: 15.89 kB / 0.985 GB, free: 14.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.77e-05/0.005373, allocations: 49.69 kB / 0.9851 GB, free: 14.14 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.647e-05/0.00545, allocations: 318.8 kB / 0.9854 GB, free: 13.82 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001132/0.005563, allocations: 123.4 kB / 0.9855 GB, free: 13.69 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001156/0.005679, allocations: 157.8 kB / 0.9856 GB, free: 13.51 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000125/0.005804, allocations: 163.6 kB / 0.9858 GB, free: 13.32 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.005807, allocations: 3.938 kB / 0.9858 GB, free: 13.32 MB / 0.948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000298/0.006105, allocations: 332.8 kB / 0.9861 GB, free: 12.96 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 6.072e-05/0.006165, allocations: 74.36 kB / 0.9862 GB, free: 12.88 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.006171, allocations: 0 / 0.9862 GB, free: 12.88 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.006184, allocations: 4 kB / 0.9862 GB, free: 12.88 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.833e-05/0.006202, allocations: 3.984 kB / 0.9862 GB, free: 12.87 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.00621, allocations: 4.312 kB / 0.9862 GB, free: 12.87 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001926/0.006403, allocations: 47.88 kB / 0.9862 GB, free: 12.82 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.941e-05/0.006422, allocations: 16 kB / 0.9863 GB, free: 12.8 MB / 0.948 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 7.15e-05/0.006494, allocations: 133.7 kB / 0.9864 GB, free: 12.66 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.855e-06/0.006501, allocations: 7.953 kB / 0.9864 GB, free: 12.66 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.027e-05/0.006522, allocations: 8.438 kB / 0.9864 GB, free: 12.65 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.006523, allocations: 0 / 0.9864 GB, free: 12.65 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.006528, allocations: 0 / 0.9864 GB, free: 12.65 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.006531, allocations: 0 / 0.9864 GB, free: 12.65 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.291e-05/0.006614, allocations: 144.7 kB / 0.9865 GB, free: 12.46 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.006616, allocations: 4 kB / 0.9865 GB, free: 12.46 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.369e-06/0.00662, allocations: 0 / 0.9865 GB, free: 12.46 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.006621, allocations: 64 / 0.9865 GB, free: 12.46 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.006629, allocations: 8 kB / 0.9866 GB, free: 12.45 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.006631, allocations: 3.984 kB / 0.9866 GB, free: 12.45 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.006632, allocations: 4 kB / 0.9866 GB, free: 12.45 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.982e-05/0.006732, allocations: 117 kB / 0.9867 GB, free: 12.31 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.887e-06/0.00674, allocations: 3.984 kB / 0.9867 GB, free: 12.31 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.14e-05/0.006752, allocations: 7.984 kB / 0.9867 GB, free: 12.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.315e-05/0.006765, allocations: 0 / 0.9867 GB, free: 12.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.215e-05/0.006797, allocations: 11.98 kB / 0.9867 GB, free: 12.29 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.64e-06/0.006803, allocations: 3.984 kB / 0.9867 GB, free: 12.29 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.511e-05/0.006838, allocations: 87.28 kB / 0.9868 GB, free: 12.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 7e-08/0.006838, allocations: 3.938 kB / 0.9868 GB, free: 12.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001592/0.006997, allocations: 39.94 kB / 0.9868 GB, free: 12.16 MB / 0.948 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.0002875/0.007285, allocations: 0.6514 MB / 0.9875 GB, free: 11.48 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002326/0.007517, allocations: 282.1 kB / 0.9877 GB, free: 11.16 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.007519, allocations: 0 / 0.9877 GB, free: 11.16 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 2.678e-05/0.007546, allocations: 16.28 kB / 0.9877 GB, free: 11.15 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001697/0.007715, allocations: 20.17 kB / 0.9878 GB, free: 11.13 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001365/0.00908, allocations: 1.968 MB / 0.9897 GB, free: 8.988 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.898e-05/0.009119, allocations: 69.78 kB / 0.9898 GB, free: 8.902 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.172e-05/0.009141, allocations: 7.984 kB / 0.9898 GB, free: 8.895 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.179e-05/0.009173, allocations: 16.5 kB / 0.9898 GB, free: 8.879 MB / 0.948 GB Notification: Performance of SimCode: time 6.22e-07/0.009174, allocations: 0 / 0.9898 GB, free: 8.879 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0173/0.02647, allocations: 3.758 MB / 0.9934 GB, free: 5.312 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.787/6.813, allocations: 11.92 kB / 0.9935 GB, free: 5.301 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Controls_OBC_CDL_Logical_Validation_And.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_And.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.csv. Warning: Get data of variable and1.u1 from file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.csv failed! Error: Could not read variable and1.u2 in file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.csv. Warning: Get data of variable and1.u2 from file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.csv failed! Error: Could not read variable and1.y in file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.csv. Warning: Get data of variable and1.y from file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.980719903483987]