Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001737/0.001737, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002134/0.002134, allocations: 212.6 kB / 22.25 MB, free: 4.859 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.597/1.597, allocations: 230.6 MB / 256 MB, free: 7.793 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.384/3.384, allocations: 0.5107 GB / 0.8158 GB, free: 17.87 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.Or,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Or",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or,fileNamePrefix="Buildings_latest_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.00212/0.00212, allocations: 67.52 kB / 1.186 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4119/0.414, allocations: 181.9 MB / 1.363 GB, free: 14.13 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.002032/0.416, allocations: 0.645 MB / 1.364 GB, free: 13.48 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001762/0.4178, allocations: 1.21 MB / 1.365 GB, free: 12.26 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.722e-05/0.4179, allocations: 0 / 1.365 GB, free: 12.26 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.233e-05/0.4179, allocations: 7.938 kB / 1.365 GB, free: 12.25 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.93e-05/0.418, allocations: 19.84 kB / 1.365 GB, free: 12.23 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006709/0.4186, allocations: 202.9 kB / 1.365 GB, free: 12.04 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003054/0.4189, allocations: 187.6 kB / 1.366 GB, free: 11.86 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.4191, allocations: 8 kB / 1.366 GB, free: 11.85 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001552/0.4192, allocations: 71.88 kB / 1.366 GB, free: 11.78 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001554/0.4194, allocations: 55.84 kB / 1.366 GB, free: 11.72 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.076e-05/0.4194, allocations: 16 kB / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.268e-05/0.4195, allocations: 20 kB / 1.366 GB, free: 11.69 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.703e-05/0.4195, allocations: 11.98 kB / 1.366 GB, free: 11.68 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 8.667e-05/0.4196, allocations: 55.83 kB / 1.366 GB, free: 11.62 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002426/0.4198, allocations: 151.8 kB / 1.366 GB, free: 11.47 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.4199, allocations: 0 / 1.366 GB, free: 11.47 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.784e-06/0.4199, allocations: 4 kB / 1.366 GB, free: 11.47 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.161e-06/0.4199, allocations: 0 / 1.366 GB, free: 11.47 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.0006023/0.4205, allocations: 361.5 kB / 1.366 GB, free: 11.07 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.4205, allocations: 8.031 kB / 1.366 GB, free: 11.06 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.04e-05/0.4205, allocations: 34.75 kB / 1.366 GB, free: 11.02 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.725e-05/0.4206, allocations: 8.891 kB / 1.366 GB, free: 11.01 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001069/0.4207, allocations: 110.5 kB / 1.366 GB, free: 10.88 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.907e-05/0.4207, allocations: 4.375 kB / 1.366 GB, free: 10.88 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.685e-05/0.4208, allocations: 16.38 kB / 1.367 GB, free: 10.86 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000112/0.4209, allocations: 42.25 kB / 1.367 GB, free: 10.81 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.4209, allocations: 15.86 kB / 1.367 GB, free: 10.8 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.325e-06/0.4209, allocations: 0 / 1.367 GB, free: 10.8 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.4209, allocations: 0 / 1.367 GB, free: 10.8 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.505e-05/0.4209, allocations: 19.92 kB / 1.367 GB, free: 10.78 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005094/0.4215, allocations: 303.8 kB / 1.367 GB, free: 10.44 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 9.032e-05/0.4215, allocations: 34.56 kB / 1.367 GB, free: 10.39 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.026e-05/0.4216, allocations: 8.859 kB / 1.367 GB, free: 10.38 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.108e-05/0.4216, allocations: 7.938 kB / 1.367 GB, free: 10.38 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001979/0.4218, allocations: 79.45 kB / 1.367 GB, free: 10.29 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/0.4218, allocations: 3.938 kB / 1.367 GB, free: 10.28 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0002648/0.4221, allocations: 109.6 kB / 1.367 GB, free: 10.17 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.297e-05/0.4221, allocations: 55.34 kB / 1.367 GB, free: 10.1 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.4222, allocations: 117.8 kB / 1.367 GB, free: 9.977 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.325e-05/0.4222, allocations: 29.7 kB / 1.367 GB, free: 9.941 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.917e-05/0.4223, allocations: 100.1 kB / 1.367 GB, free: 9.84 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.246e-05/0.4224, allocations: 12.97 kB / 1.367 GB, free: 9.828 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.279e-05/0.4224, allocations: 49.69 kB / 1.367 GB, free: 9.773 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.4226, allocations: 318.8 kB / 1.368 GB, free: 9.453 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001762/0.4228, allocations: 119.4 kB / 1.368 GB, free: 9.324 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002121/0.423, allocations: 155.7 kB / 1.368 GB, free: 9.145 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002122/0.4232, allocations: 159.6 kB / 1.368 GB, free: 8.961 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.4232, allocations: 0 / 1.368 GB, free: 8.961 MB / 1.061 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005046/0.4237, allocations: 328.2 kB / 1.368 GB, free: 8.609 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 6.367e-05/0.4238, allocations: 63.39 kB / 1.369 GB, free: 8.535 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.4238, allocations: 4.469 kB / 1.369 GB, free: 8.531 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.4238, allocations: 3.984 kB / 1.369 GB, free: 8.527 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.347e-05/0.4238, allocations: 16.06 kB / 1.369 GB, free: 8.512 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.4238, allocations: 0 / 1.369 GB, free: 8.512 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003417/0.4241, allocations: 47.94 kB / 1.369 GB, free: 8.465 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.328e-05/0.4242, allocations: 15.92 kB / 1.369 GB, free: 8.449 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,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.0001142/0.4243, allocations: 128.4 kB / 1.369 GB, free: 8.316 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.72e-05/0.4243, allocations: 7.953 kB / 1.369 GB, free: 8.309 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.291e-05/0.4243, allocations: 12.38 kB / 1.369 GB, free: 8.289 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.4243, allocations: 4 kB / 1.369 GB, free: 8.285 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.4244, allocations: 0 / 1.369 GB, free: 8.285 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.4244, allocations: 64 / 1.369 GB, free: 8.285 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001513/0.4245, allocations: 152.7 kB / 1.369 GB, free: 8.094 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.4245, allocations: 0 / 1.369 GB, free: 8.094 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.115e-05/0.4245, allocations: 7.875 kB / 1.369 GB, free: 8.086 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.4245, allocations: 0 / 1.369 GB, free: 8.086 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.4245, allocations: 8 kB / 1.369 GB, free: 8.078 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.4245, allocations: 0 / 1.369 GB, free: 8.078 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.4245, allocations: 3.984 kB / 1.369 GB, free: 8.074 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001664/0.4247, allocations: 113 kB / 1.369 GB, free: 7.945 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.336e-05/0.4247, allocations: 7.984 kB / 1.369 GB, free: 7.938 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.522e-05/0.4247, allocations: 0 / 1.369 GB, free: 7.938 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.902e-05/0.4248, allocations: 0 / 1.369 GB, free: 7.938 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.818e-05/0.4248, allocations: 7.984 kB / 1.369 GB, free: 7.93 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.031e-05/0.4248, allocations: 8 kB / 1.369 GB, free: 7.922 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.92e-05/0.4249, allocations: 91.27 kB / 1.369 GB, free: 7.832 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.4249, allocations: 0 / 1.369 GB, free: 7.832 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002426/0.4251, allocations: 31.89 kB / 1.369 GB, free: 7.801 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,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.0005608/0.4257, allocations: 0.6515 MB / 1.37 GB, free: 7.121 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004704/0.4261, allocations: 278.1 kB / 1.37 GB, free: 6.812 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.4261, allocations: 0 / 1.37 GB, free: 6.812 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 6.189e-05/0.4262, allocations: 23.92 kB / 1.37 GB, free: 6.789 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002765/0.4265, allocations: 20.83 kB / 1.37 GB, free: 6.77 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002762/0.4292, allocations: 1.959 MB / 1.372 GB, free: 4.645 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.125e-05/0.4293, allocations: 75.58 kB / 1.372 GB, free: 4.551 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.186e-05/0.4294, allocations: 7.859 kB / 1.372 GB, free: 4.543 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.122e-05/0.4294, allocations: 27.36 kB / 1.372 GB, free: 4.516 MB / 1.061 GB Notification: Performance of SimCode: time 6.41e-07/0.4294, allocations: 0 / 1.372 GB, free: 4.516 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0407/0.4701, allocations: 3.626 MB / 1.376 GB, free: 1.051 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.74, allocations: 15.22 kB / 1.376 GB, free: 1.039 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Or_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Or.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Or.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.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.85704671870917]