Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.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.001494/0.001494, allocations: 107 kB / 16.46 MB, free: 6.508 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.001486/0.001486, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.448/1.448, allocations: 230.6 MB / 252.8 MB, free: 9.105 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.244/3.244, allocations: 0.49 GB / 0.7916 GB, free: 33.32 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.Or,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_Or",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_Or",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.002056/0.002056, allocations: 71.53 kB / 1.149 GB, free: 26.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3737/0.3757, allocations: 176.1 MB / 1.321 GB, free: 3.344 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.002633/0.3784, allocations: 0.6518 MB / 1.321 GB, free: 2.695 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002147/0.3805, allocations: 1.21 MB / 1.323 GB, free: 1.473 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.354e-05/0.3806, allocations: 4 kB / 1.323 GB, free: 1.469 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.232e-05/0.3806, allocations: 7.938 kB / 1.323 GB, free: 1.461 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.19e-05/0.3807, allocations: 19.84 kB / 1.323 GB, free: 1.441 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007752/0.3815, allocations: 215.8 kB / 1.323 GB, free: 1.238 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002526/0.3817, allocations: 167.7 kB / 1.323 GB, free: 1.074 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.3818, allocations: 11.98 kB / 1.323 GB, free: 1.062 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001235/0.382, allocations: 67.88 kB / 1.323 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001477/0.3821, allocations: 67.84 kB / 1.323 GB, free: 0.9297 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.343e-05/0.3821, allocations: 16 kB / 1.323 GB, free: 0.9141 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 8.304e-05/0.3822, allocations: 27.98 kB / 1.323 GB, free: 0.8867 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.472e-05/0.3823, allocations: 11.94 kB / 1.323 GB, free: 0.875 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 8.448e-05/0.3823, allocations: 55.88 kB / 1.323 GB, free: 0.8203 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002373/0.3826, allocations: 147.8 kB / 1.323 GB, free: 0.6758 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.3826, allocations: 0 / 1.323 GB, free: 0.6758 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.974e-06/0.3826, allocations: 0 / 1.323 GB, free: 0.6758 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.104e-06/0.3826, allocations: 3.938 kB / 1.323 GB, free: 0.6719 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.0006427/0.3832, allocations: 446.5 kB / 1.324 GB, free: 176 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.3833, allocations: 15.98 kB / 1.324 GB, free: 160 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.492e-05/0.3833, allocations: 38.75 kB / 1.324 GB, free: 112 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.2e-05/0.3834, allocations: 8.938 kB / 1.324 GB, free: 104 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000171/0.3835, allocations: 176.3 kB / 1.324 GB, free: 15.89 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.624e-05/0.3836, allocations: 4.375 kB / 1.324 GB, free: 15.89 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.804e-05/0.3836, allocations: 8.375 kB / 1.324 GB, free: 15.88 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001228/0.3837, allocations: 54.23 kB / 1.324 GB, free: 15.82 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.3837, allocations: 3.938 kB / 1.324 GB, free: 15.82 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-06/0.3837, allocations: 0 / 1.324 GB, free: 15.82 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.3837, allocations: 0 / 1.324 GB, free: 15.82 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.411e-05/0.3838, allocations: 19.94 kB / 1.324 GB, free: 15.8 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005303/0.3843, allocations: 356.7 kB / 1.325 GB, free: 15.4 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 8.546e-05/0.3844, allocations: 30.56 kB / 1.325 GB, free: 15.36 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.356e-05/0.3844, allocations: 12.86 kB / 1.325 GB, free: 15.34 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 7.574e-06/0.3844, allocations: 0 / 1.325 GB, free: 15.34 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001557/0.3846, allocations: 87.39 kB / 1.325 GB, free: 15.25 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.3846, allocations: 0 / 1.325 GB, free: 15.25 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0002749/0.3849, allocations: 101.6 kB / 1.325 GB, free: 15.14 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.557e-05/0.3849, allocations: 55.39 kB / 1.325 GB, free: 15.07 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001177/0.385, allocations: 125.7 kB / 1.325 GB, free: 14.94 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.046e-05/0.3851, allocations: 33.64 kB / 1.325 GB, free: 14.9 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.709e-05/0.3852, allocations: 92.12 kB / 1.325 GB, free: 14.81 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.752e-05/0.3852, allocations: 11.91 kB / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001051/0.3853, allocations: 57.69 kB / 1.325 GB, free: 14.73 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001828/0.3855, allocations: 322.8 kB / 1.325 GB, free: 14.41 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001454/0.3856, allocations: 55.95 kB / 1.325 GB, free: 14.36 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001639/0.3858, allocations: 92.64 kB / 1.326 GB, free: 14.25 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002227/0.386, allocations: 163.6 kB / 1.326 GB, free: 14.06 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.175e-06/0.386, allocations: 0 / 1.326 GB, free: 14.06 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004524/0.3864, allocations: 264.8 kB / 1.326 GB, free: 13.79 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.751e-05/0.3865, allocations: 71.39 kB / 1.326 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.3865, allocations: 0 / 1.326 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.3865, allocations: 0 / 1.326 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.408e-05/0.3866, allocations: 8.062 kB / 1.326 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.3866, allocations: 4.312 kB / 1.326 GB, free: 13.69 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000345/0.3869, allocations: 51.89 kB / 1.326 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.927e-05/0.3869, allocations: 19.98 kB / 1.326 GB, free: 13.62 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,or1.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.0001333/0.3871, allocations: 121.8 kB / 1.326 GB, free: 13.49 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.15e-05/0.3871, allocations: 0 / 1.326 GB, free: 13.49 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.07e-05/0.3871, allocations: 20.36 kB / 1.326 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.3871, allocations: 0 / 1.326 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.3871, allocations: 0 / 1.326 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.3871, allocations: 0 / 1.326 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001784/0.3873, allocations: 185.5 kB / 1.326 GB, free: 13.24 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.3873, allocations: 64 / 1.326 GB, free: 13.24 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.219e-05/0.3873, allocations: 8 kB / 1.326 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.3873, allocations: 3.984 kB / 1.326 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.348e-06/0.3873, allocations: 7.922 kB / 1.326 GB, free: 13.22 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.3873, allocations: 3.984 kB / 1.326 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.3873, allocations: 0 / 1.326 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001517/0.3875, allocations: 113 kB / 1.327 GB, free: 13.09 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001042/0.3876, allocations: 81.06 kB / 1.327 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.508e-05/0.3876, allocations: 4 kB / 1.327 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.12e-05/0.3876, allocations: 4 kB / 1.327 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.579e-05/0.3877, allocations: 7.984 kB / 1.327 GB, free: 12.97 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-06/0.3877, allocations: 3.938 kB / 1.327 GB, free: 12.97 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.749e-05/0.3877, allocations: 95.2 kB / 1.327 GB, free: 12.88 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3877, allocations: 4 kB / 1.327 GB, free: 12.87 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002397/0.388, allocations: 32 kB / 1.327 GB, free: 12.84 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,or1.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.0005194/0.3885, allocations: 0.6514 MB / 1.327 GB, free: 12.16 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003417/0.3888, allocations: 214.9 kB / 1.328 GB, free: 11.93 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3888, allocations: 4.062 kB / 1.328 GB, free: 11.92 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.545e-05/0.3889, allocations: 23.98 kB / 1.328 GB, free: 11.9 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002344/0.3891, allocations: 23.86 kB / 1.328 GB, free: 11.88 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002388/0.3915, allocations: 1.715 MB / 1.329 GB, free: 10.04 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000403/0.3919, allocations: 0.6885 MB / 1.33 GB, free: 9.32 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.967e-05/0.3919, allocations: 4 kB / 1.33 GB, free: 9.316 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.51e-05/0.392, allocations: 19.42 kB / 1.33 GB, free: 9.297 MB / 1.029 GB Notification: Performance of SimCode: time 2.705e-06/0.392, allocations: 4 kB / 1.33 GB, free: 9.293 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02618/0.4182, allocations: 2.9 MB / 1.333 GB, free: 6.5 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.072/8.49, allocations: 7.984 kB / 1.333 GB, free: 6.492 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or_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_Or.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_Or.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable or1.u1 in file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.csv. Warning: Get data of variable or1.u1 from file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.csv failed! Error: Could not read variable or1.u2 in file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.csv. Warning: Get data of variable or1.u2 from file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.csv failed! Error: Could not read variable or1.y in file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.csv. Warning: Get data of variable or1.y from file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.422268787166104]