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.001375/0.001375, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00183/0.00183, allocations: 212.9 kB / 22.24 MB, free: 5.262 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.471/1.471, allocations: 230.6 MB / 256 MB, free: 7.738 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.253/3.253, allocations: 0.5107 GB / 0.8158 GB, free: 17.78 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.002415/0.002415, allocations: 66.2 kB / 1.186 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3632/0.3656, allocations: 181.9 MB / 1.363 GB, free: 14.05 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.002283/0.3679, allocations: 0.6489 MB / 1.364 GB, free: 13.4 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001882/0.3697, allocations: 1.202 MB / 1.365 GB, free: 12.19 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.074e-05/0.3698, allocations: 0 / 1.365 GB, free: 12.19 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.413e-05/0.3698, allocations: 3.938 kB / 1.365 GB, free: 12.18 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.562e-05/0.3699, allocations: 19.81 kB / 1.365 GB, free: 12.16 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007415/0.3706, allocations: 219 kB / 1.365 GB, free: 11.96 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003107/0.371, allocations: 171.8 kB / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.3711, allocations: 15.98 kB / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001685/0.3712, allocations: 63.91 kB / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001498/0.3714, allocations: 59.78 kB / 1.366 GB, free: 11.65 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.454e-05/0.3714, allocations: 12 kB / 1.366 GB, free: 11.64 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 9.799e-05/0.3715, allocations: 31.98 kB / 1.366 GB, free: 11.61 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.473e-05/0.3715, allocations: 4 kB / 1.366 GB, free: 11.61 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001084/0.3717, allocations: 59.88 kB / 1.366 GB, free: 11.55 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002726/0.3719, allocations: 159.8 kB / 1.366 GB, free: 11.39 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.3719, allocations: 0 / 1.366 GB, free: 11.39 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.255e-06/0.3719, allocations: 0 / 1.366 GB, free: 11.39 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.652e-06/0.3719, allocations: 0 / 1.366 GB, free: 11.39 MB / 1.061 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.0006557/0.3726, allocations: 361.5 kB / 1.366 GB, free: 10.99 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.3726, allocations: 8.031 kB / 1.366 GB, free: 10.98 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.867e-05/0.3727, allocations: 30.75 kB / 1.366 GB, free: 10.95 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.03e-05/0.3728, allocations: 12.89 kB / 1.366 GB, free: 10.93 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000131/0.3729, allocations: 106.5 kB / 1.366 GB, free: 10.8 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/0.3729, allocations: 8.375 kB / 1.366 GB, free: 10.8 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.012e-05/0.3729, allocations: 16.38 kB / 1.367 GB, free: 10.78 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001314/0.3731, allocations: 54.17 kB / 1.367 GB, free: 10.72 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.3731, allocations: 3.938 kB / 1.367 GB, free: 10.72 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.3731, allocations: 4 kB / 1.367 GB, free: 10.71 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.3731, allocations: 0 / 1.367 GB, free: 10.71 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.87e-05/0.3732, allocations: 15.98 kB / 1.367 GB, free: 10.7 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005801/0.3737, allocations: 299.8 kB / 1.367 GB, free: 10.36 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 9.056e-05/0.3738, allocations: 26.58 kB / 1.367 GB, free: 10.33 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.534e-05/0.3739, allocations: 24.86 kB / 1.367 GB, free: 10.3 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.127e-05/0.3739, allocations: 0 / 1.367 GB, free: 10.3 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002234/0.3741, allocations: 83.38 kB / 1.367 GB, free: 10.21 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 1.323e-06/0.3741, allocations: 0 / 1.367 GB, free: 10.21 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0002951/0.3744, allocations: 105.6 kB / 1.367 GB, free: 10.1 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5e-05/0.3744, allocations: 55.34 kB / 1.367 GB, free: 10.03 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/0.3746, allocations: 125.7 kB / 1.367 GB, free: 9.898 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.75e-05/0.3746, allocations: 29.7 kB / 1.367 GB, free: 9.863 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.667e-05/0.3747, allocations: 97.16 kB / 1.367 GB, free: 9.766 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.961e-05/0.3747, allocations: 11.91 kB / 1.367 GB, free: 9.754 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001164/0.3748, allocations: 53.67 kB / 1.367 GB, free: 9.695 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001865/0.375, allocations: 318.8 kB / 1.368 GB, free: 9.375 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002135/0.3752, allocations: 127.4 kB / 1.368 GB, free: 9.238 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002062/0.3754, allocations: 151.7 kB / 1.368 GB, free: 9.062 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002224/0.3757, allocations: 159.6 kB / 1.368 GB, free: 8.879 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.3757, allocations: 0 / 1.368 GB, free: 8.879 MB / 1.061 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004979/0.3762, allocations: 328.2 kB / 1.368 GB, free: 8.527 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 6.176e-05/0.3762, allocations: 71.52 kB / 1.369 GB, free: 8.445 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.3762, allocations: 0 / 1.369 GB, free: 8.445 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/0.3763, allocations: 4 kB / 1.369 GB, free: 8.441 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.964e-05/0.3763, allocations: 3.938 kB / 1.369 GB, free: 8.438 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.3763, allocations: 4.469 kB / 1.369 GB, free: 8.434 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003343/0.3766, allocations: 51.92 kB / 1.369 GB, free: 8.383 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.236e-05/0.3766, allocations: 12 kB / 1.369 GB, free: 8.371 MB / 1.061 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.0001284/0.3768, allocations: 135.8 kB / 1.369 GB, free: 8.23 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.708e-05/0.3768, allocations: 7.953 kB / 1.369 GB, free: 8.223 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.093e-05/0.3768, allocations: 8.312 kB / 1.369 GB, free: 8.207 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.3768, allocations: 0 / 1.369 GB, free: 8.207 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.3768, allocations: 4 kB / 1.369 GB, free: 8.203 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.3768, allocations: 0 / 1.369 GB, free: 8.203 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001558/0.377, allocations: 148.7 kB / 1.369 GB, free: 8.016 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.377, allocations: 3.938 kB / 1.369 GB, free: 8.012 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.976e-06/0.377, allocations: 0 / 1.369 GB, free: 8.012 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.377, allocations: 0 / 1.369 GB, free: 8.012 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.377, allocations: 12.06 kB / 1.369 GB, free: 8 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.377, allocations: 0 / 1.369 GB, free: 8 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.377, allocations: 0 / 1.369 GB, free: 8 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001667/0.3772, allocations: 117 kB / 1.369 GB, free: 7.867 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.062e-05/0.3772, allocations: 4 kB / 1.369 GB, free: 7.863 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.403e-05/0.3772, allocations: 0 / 1.369 GB, free: 7.863 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.171e-05/0.3772, allocations: 3.984 kB / 1.369 GB, free: 7.859 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.813e-05/0.3773, allocations: 11.94 kB / 1.369 GB, free: 7.848 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-06/0.3773, allocations: 0 / 1.369 GB, free: 7.848 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.093e-05/0.3773, allocations: 95.2 kB / 1.369 GB, free: 7.754 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.3773, allocations: 0 / 1.369 GB, free: 7.754 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002361/0.3776, allocations: 31.95 kB / 1.369 GB, free: 7.723 MB / 1.061 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.0005492/0.3781, allocations: 0.6515 MB / 1.37 GB, free: 7.043 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004216/0.3786, allocations: 278.1 kB / 1.37 GB, free: 6.734 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3786, allocations: 0 / 1.37 GB, free: 6.734 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 4.824e-05/0.3786, allocations: 19.94 kB / 1.37 GB, free: 6.715 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002633/0.3789, allocations: 18.78 kB / 1.37 GB, free: 6.699 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002445/0.3813, allocations: 1.974 MB / 1.372 GB, free: 4.555 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.903e-05/0.3814, allocations: 75.27 kB / 1.372 GB, free: 4.461 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.598e-05/0.3814, allocations: 7.859 kB / 1.372 GB, free: 4.453 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.35e-05/0.3815, allocations: 19.44 kB / 1.372 GB, free: 4.434 MB / 1.061 GB Notification: Performance of SimCode: time 5.11e-07/0.3815, allocations: 0 / 1.372 GB, free: 4.434 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03239/0.4139, allocations: 3.633 MB / 1.376 GB, free: 0.9688 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.7, allocations: 8.484 kB / 1.376 GB, free: 0.9648 MB / 1.061 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_And_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.571113732177764]