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.001404/0.001404, allocations: 104 kB / 16.45 MB, free: 6.449 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.001502/0.001502, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.483/1.483, allocations: 230.6 MB / 252.8 MB, free: 9.129 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.235/3.235, allocations: 0.49 GB / 0.7916 GB, free: 33.5 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.002012/0.002012, allocations: 67.58 kB / 1.149 GB, free: 26.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3483/0.3503, allocations: 176.1 MB / 1.321 GB, free: 3.289 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.001985/0.3523, allocations: 0.6544 MB / 1.321 GB, free: 2.641 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001716/0.354, allocations: 1.222 MB / 1.323 GB, free: 1.406 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.484e-05/0.3541, allocations: 0 / 1.323 GB, free: 1.406 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.454e-05/0.3541, allocations: 7.922 kB / 1.323 GB, free: 1.398 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.626e-05/0.3542, allocations: 7.938 kB / 1.323 GB, free: 1.391 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007585/0.3549, allocations: 211.2 kB / 1.323 GB, free: 1.188 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002518/0.3552, allocations: 179.7 kB / 1.323 GB, free: 1.012 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 9.673e-05/0.3553, allocations: 7.984 kB / 1.323 GB, free: 1.004 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001078/0.3554, allocations: 71.88 kB / 1.323 GB, free: 0.9336 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001365/0.3555, allocations: 55.86 kB / 1.323 GB, free: 0.8789 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.199e-05/0.3556, allocations: 15.94 kB / 1.323 GB, free: 0.8633 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 8.359e-05/0.3557, allocations: 35.98 kB / 1.323 GB, free: 0.8281 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.611e-05/0.3557, allocations: 15.97 kB / 1.323 GB, free: 0.8125 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 8.657e-05/0.3558, allocations: 51.84 kB / 1.323 GB, free: 0.7617 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002387/0.356, allocations: 147.9 kB / 1.323 GB, free: 0.6172 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.356, allocations: 3.984 kB / 1.323 GB, free: 0.6133 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.563e-06/0.356, allocations: 4 kB / 1.323 GB, free: 0.6094 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.356, allocations: 0 / 1.323 GB, free: 0.6094 MB / 1.014 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.0005854/0.3566, allocations: 438.6 kB / 1.324 GB, free: 120 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.3566, allocations: 11.98 kB / 1.324 GB, free: 108 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.943e-05/0.3567, allocations: 34.73 kB / 1.324 GB, free: 64 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.335e-05/0.3567, allocations: 12.88 kB / 1.324 GB, free: 52 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001565/0.3569, allocations: 172.3 kB / 1.324 GB, free: 15.84 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/0.3569, allocations: 8.375 kB / 1.324 GB, free: 15.84 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.263e-05/0.3569, allocations: 8.375 kB / 1.324 GB, free: 15.83 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001195/0.3571, allocations: 54.23 kB / 1.324 GB, free: 15.77 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.3571, allocations: 3.938 kB / 1.324 GB, free: 15.77 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.3571, allocations: 7.938 kB / 1.324 GB, free: 15.76 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.3571, allocations: 0 / 1.324 GB, free: 15.76 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.738e-05/0.3571, allocations: 15.98 kB / 1.324 GB, free: 15.74 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005341/0.3577, allocations: 352.6 kB / 1.324 GB, free: 15.35 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 8.846e-05/0.3578, allocations: 38.56 kB / 1.325 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.815e-05/0.3578, allocations: 12.86 kB / 1.325 GB, free: 15.29 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 7.203e-06/0.3578, allocations: 0 / 1.325 GB, free: 15.29 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001517/0.358, allocations: 87.38 kB / 1.325 GB, free: 15.19 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.358, allocations: 0 / 1.325 GB, free: 15.19 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0002712/0.3582, allocations: 105.6 kB / 1.325 GB, free: 15.08 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.788e-05/0.3583, allocations: 55.41 kB / 1.325 GB, free: 15.01 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001109/0.3584, allocations: 117.8 kB / 1.325 GB, free: 14.89 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.379e-05/0.3584, allocations: 33.7 kB / 1.325 GB, free: 14.85 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.41e-05/0.3585, allocations: 96.12 kB / 1.325 GB, free: 14.75 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.102e-05/0.3585, allocations: 15.89 kB / 1.325 GB, free: 14.73 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00013/0.3586, allocations: 53.69 kB / 1.325 GB, free: 14.68 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.3588, allocations: 318.8 kB / 1.325 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001393/0.3589, allocations: 63.91 kB / 1.325 GB, free: 14.29 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001646/0.3591, allocations: 100.9 kB / 1.326 GB, free: 14.18 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002068/0.3593, allocations: 156 kB / 1.326 GB, free: 14 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.3593, allocations: 0 / 1.326 GB, free: 14 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004642/0.3598, allocations: 268.9 kB / 1.326 GB, free: 13.72 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.95e-05/0.3598, allocations: 67.39 kB / 1.326 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/0.3598, allocations: 4 kB / 1.326 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.3598, allocations: 0 / 1.326 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.207e-05/0.3599, allocations: 4 kB / 1.326 GB, free: 13.63 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.3599, allocations: 3.938 kB / 1.326 GB, free: 13.63 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003595/0.3602, allocations: 51.89 kB / 1.326 GB, free: 13.58 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.713e-05/0.3603, allocations: 16.08 kB / 1.326 GB, free: 13.56 MB / 1.029 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 0.0001185/0.3604, allocations: 125.8 kB / 1.326 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.354e-05/0.3604, allocations: 8.047 kB / 1.326 GB, free: 13.42 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.156e-05/0.3604, allocations: 12.38 kB / 1.326 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.3604, allocations: 0 / 1.326 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.3604, allocations: 0 / 1.326 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.3604, allocations: 0 / 1.326 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001678/0.3606, allocations: 189.4 kB / 1.326 GB, free: 13.17 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3606, allocations: 0 / 1.326 GB, free: 13.17 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.819e-06/0.3606, allocations: 7.984 kB / 1.326 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.3606, allocations: 0 / 1.326 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.3606, allocations: 4 kB / 1.326 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.3606, allocations: 0 / 1.326 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.3606, allocations: 0 / 1.326 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001636/0.3608, allocations: 117 kB / 1.327 GB, free: 13.03 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.12e-05/0.3609, allocations: 81.06 kB / 1.327 GB, free: 12.93 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.502e-05/0.3609, allocations: 0 / 1.327 GB, free: 12.93 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.859e-05/0.3609, allocations: 8 kB / 1.327 GB, free: 12.92 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.291e-05/0.3609, allocations: 7.984 kB / 1.327 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.133e-06/0.3609, allocations: 4 kB / 1.327 GB, free: 12.91 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.184e-05/0.361, allocations: 95.2 kB / 1.327 GB, free: 12.82 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.361, allocations: 0 / 1.327 GB, free: 12.82 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002412/0.3612, allocations: 28 kB / 1.327 GB, free: 12.79 MB / 1.029 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.0005174/0.3618, allocations: 0.6592 MB / 1.327 GB, free: 12.1 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003388/0.3621, allocations: 214.7 kB / 1.328 GB, free: 11.87 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3621, allocations: 0 / 1.328 GB, free: 11.87 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.459e-05/0.3621, allocations: 19.98 kB / 1.328 GB, free: 11.85 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002473/0.3624, allocations: 18.02 kB / 1.328 GB, free: 11.83 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002059/0.3645, allocations: 1.729 MB / 1.329 GB, free: 9.98 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003168/0.3648, allocations: 0.6862 MB / 1.33 GB, free: 9.27 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.969e-05/0.3648, allocations: 4 kB / 1.33 GB, free: 9.266 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.33e-05/0.3648, allocations: 19.42 kB / 1.33 GB, free: 9.246 MB / 1.029 GB Notification: Performance of SimCode: time 2.6e-07/0.3648, allocations: 0 / 1.33 GB, free: 9.246 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02584/0.3907, allocations: 2.898 MB / 1.333 GB, free: 6.453 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.959/8.35, allocations: 8.766 kB / 1.333 GB, free: 6.445 MB / 1.029 GB " [Timeout remaining time 292] (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/jenkins1/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: 15.22570489300415]