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.0007599/0.0007599, allocations: 80.44 kB / 19.17 MB, free: 0.7383 MB / 13.93 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.0008274/0.0008274, allocations: 169.9 kB / 22.46 MB, free: 2.102 MB / 18.57 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 0.87/0.87, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 1.776/1.776, allocations: 389 MB / 0.633 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 2.705e-06/2.705e-06, allocations: 3.938 kB / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.648e-05/1.919e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.001454/0.001474, allocations: 0.6437 MB / 1 GB, free: 12.86 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001173/0.002646, allocations: 1.206 MB / 1.001 GB, free: 11.64 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.831e-05/0.002684, allocations: 0 / 1.001 GB, free: 11.64 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.76e-05/0.002712, allocations: 7.938 kB / 1.001 GB, free: 11.63 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.405e-05/0.002776, allocations: 15.92 kB / 1.002 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005067/0.003283, allocations: 217.2 kB / 1.002 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001797/0.003462, allocations: 175.6 kB / 1.002 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.176e-05/0.003554, allocations: 4 kB / 1.002 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000106/0.00366, allocations: 91.92 kB / 1.002 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 9.893e-05/0.003759, allocations: 55.84 kB / 1.002 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.566e-05/0.003785, allocations: 16 kB / 1.002 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 6.053e-05/0.003845, allocations: 27.98 kB / 1.002 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.916e-05/0.003864, allocations: 8 kB / 1.002 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 5.639e-05/0.003921, allocations: 55.88 kB / 1.002 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001773/0.004098, allocations: 179.6 kB / 1.002 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.265e-06/0.0041, allocations: 0 / 1.002 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.553e-06/0.004102, allocations: 0 / 1.002 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.004106, allocations: 0 / 1.002 GB, free: 10.8 MB / 0.9636 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.0005972/0.004704, allocations: 365.5 kB / 1.003 GB, free: 10.4 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.004742, allocations: 12.69 kB / 1.003 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.356e-05/0.004765, allocations: 34.75 kB / 1.003 GB, free: 10.35 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.99e-05/0.004805, allocations: 8.938 kB / 1.003 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.544e-05/0.00488, allocations: 117.7 kB / 1.003 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.004894, allocations: 4.375 kB / 1.003 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.944e-05/0.004914, allocations: 8.375 kB / 1.003 GB, free: 10.19 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.46e-05/0.005008, allocations: 54.23 kB / 1.003 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.005016, allocations: 4.125 kB / 1.003 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.407e-06/0.005025, allocations: 4.359 kB / 1.003 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.005032, allocations: 4.125 kB / 1.003 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.229e-05/0.005064, allocations: 12 kB / 1.003 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003717/0.005436, allocations: 299.9 kB / 1.003 GB, free: 9.77 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 6.34e-05/0.005499, allocations: 30.56 kB / 1.003 GB, free: 9.73 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.015e-05/0.005519, allocations: 12.86 kB / 1.003 GB, free: 9.715 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 9.798e-06/0.005529, allocations: 7.875 kB / 1.003 GB, free: 9.707 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001476/0.005677, allocations: 91.41 kB / 1.003 GB, free: 9.605 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=7): time 1.333e-06/0.005678, allocations: 0 / 1.003 GB, free: 9.605 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7): time 0.0001956/0.005874, allocations: 101.7 kB / 1.003 GB, free: 9.5 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.92e-05/0.005913, allocations: 55.34 kB / 1.003 GB, free: 9.434 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.715e-05/0.00598, allocations: 121.7 kB / 1.004 GB, free: 9.305 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.169e-05/0.006002, allocations: 33.7 kB / 1.004 GB, free: 9.266 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.555e-05/0.006047, allocations: 100.1 kB / 1.004 GB, free: 9.164 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.288e-05/0.00606, allocations: 11.91 kB / 1.004 GB, free: 9.152 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.943e-05/0.006119, allocations: 49.69 kB / 1.004 GB, free: 9.098 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.08e-05/0.00619, allocations: 318.8 kB / 1.004 GB, free: 8.777 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001208/0.006311, allocations: 119.4 kB / 1.004 GB, free: 8.648 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000122/0.006433, allocations: 155.7 kB / 1.004 GB, free: 8.469 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001272/0.00656, allocations: 159.6 kB / 1.004 GB, free: 8.285 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.006564, allocations: 7.938 kB / 1.005 GB, free: 8.277 MB / 0.9636 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00029/0.006854, allocations: 328.2 kB / 1.005 GB, free: 7.926 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 4.003e-05/0.006894, allocations: 67.39 kB / 1.005 GB, free: 7.848 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.006899, allocations: 0 / 1.005 GB, free: 7.848 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.006912, allocations: 4 kB / 1.005 GB, free: 7.844 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.624e-05/0.006928, allocations: 3.938 kB / 1.005 GB, free: 7.84 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.006933, allocations: 4 kB / 1.005 GB, free: 7.836 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001874/0.007121, allocations: 56.47 kB / 1.005 GB, free: 7.781 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.042e-05/0.007141, allocations: 15.98 kB / 1.005 GB, free: 7.766 MB / 0.9636 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 6.9e-05/0.00721, allocations: 125.7 kB / 1.005 GB, free: 7.633 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.588e-06/0.00722, allocations: 7.953 kB / 1.005 GB, free: 7.625 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.924e-05/0.007239, allocations: 4.438 kB / 1.005 GB, free: 7.621 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.007242, allocations: 3.938 kB / 1.005 GB, free: 7.617 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.007247, allocations: 4 kB / 1.005 GB, free: 7.613 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.007254, allocations: 3.984 kB / 1.005 GB, free: 7.609 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.997e-05/0.007344, allocations: 148.7 kB / 1.005 GB, free: 7.422 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.007345, allocations: 4 kB / 1.005 GB, free: 7.418 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.551e-06/0.007351, allocations: 3.938 kB / 1.005 GB, free: 7.414 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.007352, allocations: 0 / 1.005 GB, free: 7.414 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.007359, allocations: 3.984 kB / 1.005 GB, free: 7.41 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.007361, allocations: 4 kB / 1.005 GB, free: 7.406 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.007361, allocations: 0 / 1.005 GB, free: 7.406 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001028/0.007464, allocations: 113 kB / 1.005 GB, free: 7.277 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 7.635e-06/0.007472, allocations: 7.953 kB / 1.005 GB, free: 7.27 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.838e-06/0.007482, allocations: 0 / 1.005 GB, free: 7.27 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.194e-05/0.007494, allocations: 0 / 1.005 GB, free: 7.27 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.17e-05/0.007525, allocations: 11.98 kB / 1.005 GB, free: 7.258 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.324e-06/0.007533, allocations: 8.062 kB / 1.005 GB, free: 7.25 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.501e-05/0.007568, allocations: 91.27 kB / 1.005 GB, free: 7.16 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.007568, allocations: 0 / 1.005 GB, free: 7.16 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001598/0.007728, allocations: 31.94 kB / 1.006 GB, free: 7.129 MB / 0.9636 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.0003056/0.008033, allocations: 0.6475 MB / 1.006 GB, free: 6.449 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002483/0.008281, allocations: 286.1 kB / 1.006 GB, free: 6.133 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.008283, allocations: 0 / 1.006 GB, free: 6.133 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 3.004e-05/0.008313, allocations: 24.17 kB / 1.006 GB, free: 6.109 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001694/0.008482, allocations: 19.59 kB / 1.006 GB, free: 6.094 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001355/0.009837, allocations: 1.951 MB / 1.008 GB, free: 3.969 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.054e-05/0.009878, allocations: 75.27 kB / 1.008 GB, free: 3.875 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.391e-05/0.009902, allocations: 7.859 kB / 1.008 GB, free: 3.867 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.295e-05/0.009935, allocations: 28.44 kB / 1.008 GB, free: 3.84 MB / 0.9636 GB Notification: Performance of SimCode: time 4.81e-07/0.009935, allocations: 0 / 1.008 GB, free: 3.84 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01528/0.02521, allocations: 3.743 MB / 1.012 GB, free: 276 kB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.51/6.536, allocations: 12.42 kB / 1.012 GB, free: 268 kB / 0.9636 GB " [Timeout remaining time 293] (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/jenkins/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: 10.561747319065034]