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.001747/0.001747, allocations: 114.3 kB / 18.94 MB, free: 2.793 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.00227/0.00227, allocations: 219.2 kB / 22.26 MB, free: 5.211 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.482/1.482, allocations: 230.6 MB / 256 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] 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 3.413/3.413, allocations: 0.505 GB / 0.8101 GB, free: 22.06 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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: 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.002065/0.002065, allocations: 71.55 kB / 1.177 GB, free: 17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3505/0.3526, allocations: 180.2 MB / 1.353 GB, free: 8.449 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.001849/0.3544, allocations: 0.6645 MB / 1.354 GB, free: 7.785 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001546/0.356, allocations: 1.222 MB / 1.355 GB, free: 6.551 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.978e-05/0.356, allocations: 0 / 1.355 GB, free: 6.551 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.404e-05/0.3561, allocations: 7.922 kB / 1.355 GB, free: 6.543 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.041e-05/0.3561, allocations: 15.88 kB / 1.355 GB, free: 6.527 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.00064/0.3568, allocations: 212.7 kB / 1.355 GB, free: 6.324 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002372/0.357, allocations: 183.7 kB / 1.355 GB, free: 6.145 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 8.509e-05/0.3571, allocations: 12 kB / 1.355 GB, free: 6.133 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001063/0.3572, allocations: 71.88 kB / 1.355 GB, free: 6.062 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001355/0.3573, allocations: 55.86 kB / 1.355 GB, free: 6.008 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.142e-05/0.3574, allocations: 12 kB / 1.355 GB, free: 5.996 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 8.181e-05/0.3574, allocations: 35.92 kB / 1.355 GB, free: 5.961 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.477e-05/0.3575, allocations: 15.92 kB / 1.355 GB, free: 5.945 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 8.365e-05/0.3575, allocations: 51.89 kB / 1.355 GB, free: 5.895 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002169/0.3578, allocations: 155.8 kB / 1.356 GB, free: 5.742 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.3578, allocations: 0 / 1.356 GB, free: 5.742 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.173e-06/0.3578, allocations: 4 kB / 1.356 GB, free: 5.738 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.02e-06/0.3578, allocations: 0 / 1.356 GB, free: 5.738 MB / 1.045 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.0005122/0.3583, allocations: 361.5 kB / 1.356 GB, free: 5.34 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.3583, allocations: 8.031 kB / 1.356 GB, free: 5.332 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.461e-05/0.3584, allocations: 34.73 kB / 1.356 GB, free: 5.289 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.774e-05/0.3584, allocations: 12.89 kB / 1.356 GB, free: 5.277 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001043/0.3585, allocations: 110.5 kB / 1.356 GB, free: 5.145 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.3585, allocations: 4.375 kB / 1.356 GB, free: 5.141 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.228e-05/0.3586, allocations: 12.38 kB / 1.356 GB, free: 5.129 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001094/0.3587, allocations: 54.17 kB / 1.356 GB, free: 5.07 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.3587, allocations: 7.875 kB / 1.356 GB, free: 5.062 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.3587, allocations: 4 kB / 1.356 GB, free: 5.059 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.3587, allocations: 0 / 1.356 GB, free: 5.059 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.264e-05/0.3587, allocations: 15.98 kB / 1.356 GB, free: 5.043 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004955/0.3592, allocations: 323.7 kB / 1.356 GB, free: 4.684 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 8.455e-05/0.3593, allocations: 38.5 kB / 1.356 GB, free: 4.637 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.76e-05/0.3593, allocations: 12.86 kB / 1.356 GB, free: 4.621 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.019e-05/0.3594, allocations: 0 / 1.356 GB, free: 4.621 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001728/0.3595, allocations: 87.44 kB / 1.357 GB, free: 4.523 MB / 1.045 GB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.3595, allocations: 0 / 1.357 GB, free: 4.523 MB / 1.045 GB Notification: Performance of matching and sorting (n=7): time 0.0002509/0.3598, allocations: 105.6 kB / 1.357 GB, free: 4.414 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.478e-05/0.3598, allocations: 55.41 kB / 1.357 GB, free: 4.348 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.3599, allocations: 113.8 kB / 1.357 GB, free: 4.227 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.505e-05/0.36, allocations: 33.7 kB / 1.357 GB, free: 4.188 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.052e-05/0.36, allocations: 100 kB / 1.357 GB, free: 4.086 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.966e-05/0.3601, allocations: 15.94 kB / 1.357 GB, free: 4.07 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.007e-05/0.3601, allocations: 45.69 kB / 1.357 GB, free: 4.02 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.3603, allocations: 322.8 kB / 1.357 GB, free: 3.695 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001306/0.3604, allocations: 59.97 kB / 1.357 GB, free: 3.637 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001561/0.3606, allocations: 96.25 kB / 1.357 GB, free: 3.527 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001996/0.3608, allocations: 156 kB / 1.358 GB, free: 3.348 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3608, allocations: 0 / 1.358 GB, free: 3.348 MB / 1.045 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004344/0.3612, allocations: 272.9 kB / 1.358 GB, free: 3.062 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 5.944e-05/0.3613, allocations: 71.39 kB / 1.358 GB, free: 2.98 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.3613, allocations: 0 / 1.358 GB, free: 2.98 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.3613, allocations: 4.062 kB / 1.358 GB, free: 2.977 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.963e-05/0.3613, allocations: 4 kB / 1.358 GB, free: 2.973 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.3613, allocations: 4 kB / 1.358 GB, free: 2.969 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003302/0.3616, allocations: 51.89 kB / 1.358 GB, free: 2.918 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.091e-05/0.3617, allocations: 16.02 kB / 1.358 GB, free: 2.902 MB / 1.045 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.0001065/0.3618, allocations: 129.7 kB / 1.358 GB, free: 2.766 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.621e-05/0.3618, allocations: 11.89 kB / 1.358 GB, free: 2.754 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.432e-05/0.3618, allocations: 8.359 kB / 1.358 GB, free: 2.746 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.3618, allocations: 0 / 1.358 GB, free: 2.746 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.3618, allocations: 0 / 1.358 GB, free: 2.746 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.3618, allocations: 4 kB / 1.358 GB, free: 2.742 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001297/0.362, allocations: 144.7 kB / 1.358 GB, free: 2.559 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.362, allocations: 4 kB / 1.358 GB, free: 2.555 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.011e-05/0.362, allocations: 7.984 kB / 1.358 GB, free: 2.547 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.362, allocations: 0 / 1.358 GB, free: 2.547 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.362, allocations: 0 / 1.358 GB, free: 2.547 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.362, allocations: 4 kB / 1.358 GB, free: 2.543 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.362, allocations: 0 / 1.358 GB, free: 2.543 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001474/0.3621, allocations: 109 kB / 1.358 GB, free: 2.418 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.223e-05/0.3621, allocations: 7.953 kB / 1.358 GB, free: 2.41 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.411e-05/0.3622, allocations: 0 / 1.358 GB, free: 2.41 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.08e-05/0.3622, allocations: 4 kB / 1.358 GB, free: 2.406 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.484e-05/0.3622, allocations: 19.91 kB / 1.358 GB, free: 2.387 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.594e-06/0.3622, allocations: 4 kB / 1.358 GB, free: 2.383 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.801e-05/0.3623, allocations: 91.27 kB / 1.359 GB, free: 2.293 MB / 1.045 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3623, allocations: 3.938 kB / 1.359 GB, free: 2.289 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002374/0.3625, allocations: 24 kB / 1.359 GB, free: 2.266 MB / 1.045 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.0004907/0.363, allocations: 0.6517 MB / 1.359 GB, free: 1.586 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003422/0.3634, allocations: 223.1 kB / 1.359 GB, free: 1.344 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3634, allocations: 3.938 kB / 1.359 GB, free: 1.34 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 4.386e-05/0.3634, allocations: 19.94 kB / 1.359 GB, free: 1.32 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002407/0.3636, allocations: 21.67 kB / 1.359 GB, free: 1.301 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001995/0.3656, allocations: 1.727 MB / 1.361 GB, free: 15.45 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002943/0.3659, allocations: 0.6846 MB / 1.362 GB, free: 14.74 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.625e-05/0.366, allocations: 4 kB / 1.362 GB, free: 14.73 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.517e-05/0.366, allocations: 23.42 kB / 1.362 GB, free: 14.71 MB / 1.061 GB Notification: Performance of SimCode: time 2.91e-07/0.366, allocations: 0 / 1.362 GB, free: 14.71 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02926/0.3953, allocations: 3.022 MB / 1.365 GB, free: 11.84 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.6/11, allocations: 1.719 kB / 1.365 GB, free: 11.84 MB / 1.061 GB " [Timeout remaining time 289] (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/jenkins1/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: 18.180393874999936]