Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.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.001573/0.001573, allocations: 109.4 kB / 16.46 MB, free: 6.035 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.00166/0.00166, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.489/1.489, allocations: 225.6 MB / 247.8 MB, free: 13.92 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.778/2.778, 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.And,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_And",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.And,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_And",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 72.08 kB / 1.104 GB, free: 9.234 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8904/0.8924, allocations: 168.7 MB / 1.269 GB, free: 5.289 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.001965/0.8943, allocations: 0.6604 MB / 1.269 GB, free: 4.633 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001719/0.896, allocations: 1.19 MB / 1.271 GB, free: 3.43 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.385e-05/0.8961, allocations: 4 kB / 1.271 GB, free: 3.426 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.583e-05/0.8961, allocations: 3.938 kB / 1.271 GB, free: 3.422 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.335e-05/0.8962, allocations: 15.92 kB / 1.271 GB, free: 3.406 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006728/0.8969, allocations: 216.7 kB / 1.271 GB, free: 3.199 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002387/0.8971, allocations: 171.6 kB / 1.271 GB, free: 3.031 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.097e-05/0.8972, allocations: 8 kB / 1.271 GB, free: 3.023 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001003/0.8973, allocations: 79.81 kB / 1.271 GB, free: 2.945 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001276/0.8974, allocations: 59.84 kB / 1.271 GB, free: 2.887 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.347e-05/0.8975, allocations: 16 kB / 1.271 GB, free: 2.871 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.081e-05/0.8975, allocations: 27.98 kB / 1.271 GB, free: 2.844 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.533e-05/0.8976, allocations: 7.984 kB / 1.271 GB, free: 2.836 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.349e-05/0.8976, allocations: 59.83 kB / 1.271 GB, free: 2.777 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002162/0.8979, allocations: 145.4 kB / 1.271 GB, free: 2.637 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.8979, allocations: 4 kB / 1.271 GB, free: 2.633 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.252e-06/0.8979, allocations: 0 / 1.271 GB, free: 2.633 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.8979, allocations: 3.938 kB / 1.271 GB, free: 2.629 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.0005662/0.8984, allocations: 440.7 kB / 1.272 GB, free: 2.137 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.8985, allocations: 12.03 kB / 1.272 GB, free: 2.125 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4e-05/0.8985, allocations: 38.73 kB / 1.272 GB, free: 2.078 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.214e-05/0.8986, allocations: 12.89 kB / 1.272 GB, free: 2.066 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/0.8987, allocations: 168.3 kB / 1.272 GB, free: 1.863 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.974e-05/0.8987, allocations: 8.375 kB / 1.272 GB, free: 1.855 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.926e-05/0.8987, allocations: 8.375 kB / 1.272 GB, free: 1.848 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001149/0.8989, allocations: 50.23 kB / 1.272 GB, free: 1.793 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.8989, allocations: 3.938 kB / 1.272 GB, free: 1.789 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.8989, allocations: 0 / 1.272 GB, free: 1.789 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.8989, allocations: 8 kB / 1.272 GB, free: 1.781 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.146e-05/0.8989, allocations: 15.92 kB / 1.272 GB, free: 1.766 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004896/0.8994, allocations: 356.7 kB / 1.272 GB, free: 1.367 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 7.402e-05/0.8995, allocations: 26.58 kB / 1.272 GB, free: 1.332 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.087e-05/0.8995, allocations: 16.94 kB / 1.272 GB, free: 1.312 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.035e-05/0.8995, allocations: 0 / 1.272 GB, free: 1.312 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000193/0.8997, allocations: 92.86 kB / 1.273 GB, free: 1.211 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.8997, allocations: 0 / 1.273 GB, free: 1.211 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0002423/0.9, allocations: 105.6 kB / 1.273 GB, free: 1.102 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.807e-05/0.9, allocations: 55.41 kB / 1.273 GB, free: 1.035 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001085/0.9001, allocations: 121.8 kB / 1.273 GB, free: 0.9062 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.28e-05/0.9002, allocations: 29.7 kB / 1.273 GB, free: 0.8711 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.912e-05/0.9002, allocations: 96.03 kB / 1.273 GB, free: 0.7734 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.097e-05/0.9003, allocations: 19.91 kB / 1.273 GB, free: 0.7539 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.646e-05/0.9004, allocations: 45.69 kB / 1.273 GB, free: 0.7031 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.9005, allocations: 326.8 kB / 1.273 GB, free: 384 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001265/0.9006, allocations: 55.97 kB / 1.273 GB, free: 328 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000149/0.9008, allocations: 92.25 kB / 1.273 GB, free: 220 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001975/0.901, allocations: 155.6 kB / 1.274 GB, free: 36 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.901, allocations: 0 / 1.274 GB, free: 36 kB / 0.9669 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004367/0.9014, allocations: 265 kB / 1.274 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.05e-05/0.9015, allocations: 67.39 kB / 1.274 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.9015, allocations: 0 / 1.274 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.9015, allocations: 12.06 kB / 1.274 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.932e-05/0.9015, allocations: 3.938 kB / 1.274 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.9015, allocations: 7.984 kB / 1.274 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003711/0.9019, allocations: 59.83 kB / 1.274 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.313e-05/0.9019, allocations: 11.98 kB / 1.274 GB, free: 15.58 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,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.0001255/0.9021, allocations: 129.8 kB / 1.274 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.525e-05/0.9021, allocations: 8.422 kB / 1.274 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.917e-05/0.9021, allocations: 8.375 kB / 1.274 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.9021, allocations: 0 / 1.274 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.9021, allocations: 0 / 1.274 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.9021, allocations: 4 kB / 1.274 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001561/0.9023, allocations: 181.4 kB / 1.274 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.9023, allocations: 0 / 1.274 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.574e-06/0.9023, allocations: 4 kB / 1.274 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.9023, allocations: 0 / 1.274 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.9023, allocations: 0 / 1.274 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.9023, allocations: 7.938 kB / 1.274 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.9023, allocations: 4 kB / 1.274 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001548/0.9024, allocations: 109 kB / 1.274 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.661e-05/0.9025, allocations: 81.11 kB / 1.275 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.35e-05/0.9025, allocations: 0 / 1.275 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.209e-05/0.9025, allocations: 7.984 kB / 1.275 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.774e-05/0.9026, allocations: 4 kB / 1.275 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.304e-06/0.9026, allocations: 4 kB / 1.275 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.022e-05/0.9026, allocations: 95.27 kB / 1.275 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.9026, allocations: 0 / 1.275 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002324/0.9029, allocations: 31.94 kB / 1.275 GB, free: 14.82 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,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.0005216/0.9034, allocations: 0.6597 MB / 1.275 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003429/0.9037, allocations: 222.8 kB / 1.276 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.9037, allocations: 0 / 1.276 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.287e-05/0.9038, allocations: 16 kB / 1.276 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002438/0.904, allocations: 22.45 kB / 1.276 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002059/0.9061, allocations: 1.732 MB / 1.277 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003189/0.9064, allocations: 0.6846 MB / 1.278 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.205e-05/0.9064, allocations: 7.984 kB / 1.278 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.023e-05/0.9065, allocations: 23.44 kB / 1.278 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of SimCode: time 3.1e-07/0.9065, allocations: 0 / 1.278 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02577/0.9322, allocations: 2.898 MB / 1.281 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.138/9.071, allocations: 7.547 kB / 1.281 GB, free: 8.473 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_And_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_And.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_And.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 15.137345325667411]