Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00191/0.00191, allocations: 108.8 kB / 16.45 MB, free: 6.508 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002014/0.002014, allocations: 196.6 kB / 19.41 MB, free: 3.676 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.73/2.73, allocations: 476.7 MB / 0.7611 GB, free: 11.3 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Or",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Or",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002133/0.002133, allocations: 71.89 kB / 1.104 GB, free: 9.238 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9249/0.9271, allocations: 168.7 MB / 1.269 GB, free: 5.156 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.00188/0.9289, allocations: 0.6547 MB / 1.269 GB, free: 4.504 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001706/0.9306, allocations: 1.19 MB / 1.271 GB, free: 3.301 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.059e-05/0.9307, allocations: 4 kB / 1.271 GB, free: 3.297 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.941e-05/0.9307, allocations: 3.938 kB / 1.271 GB, free: 3.293 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.785e-05/0.9308, allocations: 15.91 kB / 1.271 GB, free: 3.277 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006757/0.9315, allocations: 212.8 kB / 1.271 GB, free: 3.074 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002462/0.9317, allocations: 171.6 kB / 1.271 GB, free: 2.906 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.554e-05/0.9318, allocations: 11.98 kB / 1.271 GB, free: 2.895 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001064/0.9319, allocations: 75.81 kB / 1.271 GB, free: 2.82 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001475/0.9321, allocations: 63.84 kB / 1.271 GB, free: 2.758 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.443e-05/0.9321, allocations: 16 kB / 1.271 GB, free: 2.742 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.597e-05/0.9322, allocations: 23.98 kB / 1.271 GB, free: 2.719 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.028e-05/0.9322, allocations: 8 kB / 1.271 GB, free: 2.711 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 9.86e-05/0.9323, allocations: 63.81 kB / 1.271 GB, free: 2.648 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002623/0.9326, allocations: 145.4 kB / 1.271 GB, free: 2.508 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.9326, allocations: 0 / 1.271 GB, free: 2.508 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.154e-06/0.9326, allocations: 0 / 1.271 GB, free: 2.508 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.9326, allocations: 3.938 kB / 1.271 GB, free: 2.504 MB / 0.9669 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.0006333/0.9332, allocations: 438.7 kB / 1.272 GB, free: 2.012 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/0.9333, allocations: 12.03 kB / 1.272 GB, free: 2 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.569e-05/0.9333, allocations: 34.75 kB / 1.272 GB, free: 1.957 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.714e-05/0.9334, allocations: 12.89 kB / 1.272 GB, free: 1.945 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001676/0.9336, allocations: 172.2 kB / 1.272 GB, free: 1.738 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.891e-05/0.9336, allocations: 8.375 kB / 1.272 GB, free: 1.73 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.022e-05/0.9336, allocations: 8.375 kB / 1.272 GB, free: 1.723 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001397/0.9337, allocations: 50.23 kB / 1.272 GB, free: 1.668 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.9338, allocations: 3.938 kB / 1.272 GB, free: 1.664 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.437e-06/0.9338, allocations: 0 / 1.272 GB, free: 1.664 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.9338, allocations: 8 kB / 1.272 GB, free: 1.656 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.492e-05/0.9338, allocations: 16 kB / 1.272 GB, free: 1.641 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006126/0.9344, allocations: 356.6 kB / 1.272 GB, free: 1.242 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 8.711e-05/0.9345, allocations: 34.56 kB / 1.272 GB, free: 1.199 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.913e-05/0.9346, allocations: 12.86 kB / 1.272 GB, free: 1.184 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 7.103e-06/0.9346, allocations: 4 kB / 1.272 GB, free: 1.18 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002078/0.9348, allocations: 81 kB / 1.273 GB, free: 1.09 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/0.9348, allocations: 0 / 1.273 GB, free: 1.09 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.000257/0.935, allocations: 105.6 kB / 1.273 GB, free: 0.9805 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.66e-05/0.9351, allocations: 55.41 kB / 1.273 GB, free: 0.9141 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/0.9352, allocations: 117.8 kB / 1.273 GB, free: 0.7891 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.563e-05/0.9352, allocations: 29.7 kB / 1.273 GB, free: 0.7539 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.606e-05/0.9353, allocations: 100.1 kB / 1.273 GB, free: 0.6523 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.846e-05/0.9353, allocations: 19.91 kB / 1.273 GB, free: 0.6328 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.865e-05/0.9354, allocations: 49.69 kB / 1.273 GB, free: 0.5781 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.9356, allocations: 314.8 kB / 1.273 GB, free: 268 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001338/0.9357, allocations: 63.95 kB / 1.273 GB, free: 204 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001552/0.9358, allocations: 92.2 kB / 1.273 GB, free: 96 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002215/0.9361, allocations: 159.6 kB / 1.274 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.9361, allocations: 4 kB / 1.274 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004368/0.9365, allocations: 260.9 kB / 1.274 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.593e-05/0.9366, allocations: 69.58 kB / 1.274 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.9366, allocations: 0 / 1.274 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.9366, allocations: 12.06 kB / 1.274 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.196e-05/0.9366, allocations: 0 / 1.274 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.9366, allocations: 4 kB / 1.274 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004/0.937, allocations: 55.83 kB / 1.274 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.037e-05/0.9371, allocations: 16.45 kB / 1.274 GB, free: 15.47 MB / 0.9825 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.0001447/0.9372, allocations: 132.8 kB / 1.274 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.943e-05/0.9372, allocations: 7.953 kB / 1.274 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.458e-05/0.9373, allocations: 12.36 kB / 1.274 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.9373, allocations: 0 / 1.274 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.9373, allocations: 11.92 kB / 1.274 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.9373, allocations: 0 / 1.274 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000198/0.9375, allocations: 177.6 kB / 1.274 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.9375, allocations: 0 / 1.274 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.167e-06/0.9375, allocations: 0 / 1.274 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.9375, allocations: 3.984 kB / 1.274 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.808e-06/0.9375, allocations: 0 / 1.274 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.9375, allocations: 8 kB / 1.274 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.9375, allocations: 0 / 1.274 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002016/0.9377, allocations: 117.2 kB / 1.274 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.31e-05/0.9378, allocations: 81.11 kB / 1.275 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.017e-05/0.9378, allocations: 4.062 kB / 1.275 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.056e-05/0.9378, allocations: 0 / 1.275 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.994e-05/0.9379, allocations: 11.98 kB / 1.275 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.075e-05/0.9379, allocations: 4 kB / 1.275 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.169e-05/0.9379, allocations: 95.27 kB / 1.275 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.9379, allocations: 0 / 1.275 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002839/0.9382, allocations: 31.94 kB / 1.275 GB, free: 14.69 MB / 0.9825 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.000601/0.9388, allocations: 0.6558 MB / 1.275 GB, free: 14 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003741/0.9392, allocations: 222.7 kB / 1.276 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.9392, allocations: 0 / 1.276 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.834e-05/0.9393, allocations: 19.98 kB / 1.276 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002394/0.9395, allocations: 15.98 kB / 1.276 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00209/0.9416, allocations: 1.724 MB / 1.277 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003364/0.9419, allocations: 0.6893 MB / 1.278 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.91e-05/0.9419, allocations: 4 kB / 1.278 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.223e-05/0.942, allocations: 23.42 kB / 1.278 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of SimCode: time 5.21e-07/0.942, allocations: 4 kB / 1.278 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02738/0.9694, allocations: 2.901 MB / 1.281 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.182/9.151, allocations: 6.094 kB / 1.281 GB, free: 8.348 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Or_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Or.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_Or.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 15.16047086007893]