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.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.000874/0.000874, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008433/0.0008433, allocations: 165.9 kB / 22.46 MB, free: 2.105 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.9011/0.9011, 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 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.643/1.643, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_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 2.214e-06/2.214e-06, allocations: 3.938 kB / 0.9505 GB, free: 3.477 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.655e-05/1.877e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.473 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.001558/0.001577, allocations: 0.6453 MB / 0.9511 GB, free: 2.82 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001522/0.003098, allocations: 1.21 MB / 0.9523 GB, free: 1.598 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.194e-05/0.00314, allocations: 0 / 0.9523 GB, free: 1.598 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.925e-05/0.003169, allocations: 7.922 kB / 0.9523 GB, free: 1.59 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 6.363e-05/0.003233, allocations: 15.86 kB / 0.9523 GB, free: 1.574 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005673/0.0038, allocations: 217.7 kB / 0.9525 GB, free: 1.367 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001996/0.004, allocations: 167.7 kB / 0.9527 GB, free: 1.203 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 8.344e-05/0.004083, allocations: 11.98 kB / 0.9527 GB, free: 1.191 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001269/0.00421, allocations: 95.86 kB / 0.9528 GB, free: 1.098 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001136/0.004324, allocations: 47.91 kB / 0.9529 GB, free: 1.051 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 3.1e-05/0.004355, allocations: 16 kB / 0.9529 GB, free: 1.035 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 6.883e-05/0.004424, allocations: 28 kB / 0.9529 GB, free: 1.008 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.128e-05/0.004445, allocations: 15.91 kB / 0.9529 GB, free: 0.9922 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 6.949e-05/0.004515, allocations: 47.97 kB / 0.953 GB, free: 0.9453 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002045/0.004719, allocations: 187.5 kB / 0.9531 GB, free: 0.7617 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.004721, allocations: 0 / 0.9531 GB, free: 0.7617 MB / 0.9011 GB Notification: Performance of FrontEnd: time 8.82e-07/0.004722, allocations: 0 / 0.9531 GB, free: 0.7617 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.547e-06/0.004725, allocations: 0 / 0.9531 GB, free: 0.7617 MB / 0.9011 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.0003211/0.005046, allocations: 357.5 kB / 0.9535 GB, free: 376 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.00508, allocations: 15.97 kB / 0.9535 GB, free: 360 kB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.219e-05/0.005102, allocations: 34.73 kB / 0.9535 GB, free: 316 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.369e-05/0.005135, allocations: 12.89 kB / 0.9535 GB, free: 304 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.033e-05/0.005196, allocations: 113.7 kB / 0.9536 GB, free: 164 kB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.005207, allocations: 8.375 kB / 0.9537 GB, free: 156 kB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.732e-05/0.005224, allocations: 8.375 kB / 0.9537 GB, free: 148 kB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.356e-05/0.005298, allocations: 50.23 kB / 0.9537 GB, free: 92 kB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.821e-06/0.005304, allocations: 192 / 0.9537 GB, free: 92 kB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.543e-06/0.00531, allocations: 384 / 0.9537 GB, free: 92 kB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.005314, allocations: 4.125 kB / 0.9537 GB, free: 88 kB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.944e-05/0.005344, allocations: 15.98 kB / 0.9537 GB, free: 72 kB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003236/0.005667, allocations: 303.8 kB / 0.954 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 5.5e-05/0.005722, allocations: 34.52 kB / 0.9541 GB, free: 15.69 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.852e-05/0.005741, allocations: 16.94 kB / 0.9541 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 8.075e-06/0.005749, allocations: 3.938 kB / 0.9541 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001021/0.005851, allocations: 79.38 kB / 0.9541 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=7): time 7.52e-07/0.005852, allocations: 0 / 0.9541 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7): time 0.0001674/0.006019, allocations: 109.5 kB / 0.9543 GB, free: 15.46 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.797e-05/0.006047, allocations: 55.41 kB / 0.9543 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.735e-05/0.006105, allocations: 117.8 kB / 0.9544 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.973e-05/0.006124, allocations: 29.7 kB / 0.9544 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.406e-05/0.006168, allocations: 92.09 kB / 0.9545 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.159e-05/0.00618, allocations: 15.91 kB / 0.9545 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.576e-05/0.006236, allocations: 53.69 kB / 0.9546 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.442e-05/0.00631, allocations: 318.8 kB / 0.9549 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001092/0.006419, allocations: 119.4 kB / 0.955 GB, free: 14.62 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001232/0.006543, allocations: 160 kB / 0.9552 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001255/0.006668, allocations: 163.6 kB / 0.9553 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.006671, allocations: 3.938 kB / 0.9553 GB, free: 14.24 MB / 0.9167 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002877/0.006959, allocations: 328.3 kB / 0.9556 GB, free: 13.89 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 3.962e-05/0.006998, allocations: 67.39 kB / 0.9557 GB, free: 13.81 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.007003, allocations: 0 / 0.9557 GB, free: 13.81 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.007014, allocations: 4 kB / 0.9557 GB, free: 13.81 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.225e-05/0.007026, allocations: 0 / 0.9557 GB, free: 13.81 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.00703, allocations: 4 kB / 0.9557 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001863/0.007217, allocations: 55.89 kB / 0.9558 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.991e-05/0.007237, allocations: 16.11 kB / 0.9558 GB, free: 13.73 MB / 0.9167 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.0002532/0.00749, allocations: 132.5 kB / 0.9559 GB, free: 13.6 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.506e-06/0.007498, allocations: 7.953 kB / 0.9559 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.255e-05/0.007521, allocations: 12.42 kB / 0.9559 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.007523, allocations: 0 / 0.9559 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.007527, allocations: 0 / 0.9559 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.007531, allocations: 4 kB / 0.9559 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.203e-05/0.007613, allocations: 136.7 kB / 0.9561 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.007614, allocations: 4 kB / 0.9561 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.219e-06/0.007619, allocations: 3.984 kB / 0.9561 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-06/0.00762, allocations: 4 kB / 0.9561 GB, free: 13.38 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.35e-06/0.007625, allocations: 3.938 kB / 0.9561 GB, free: 13.38 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.007627, allocations: 4.312 kB / 0.9561 GB, free: 13.38 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.007628, allocations: 0 / 0.9561 GB, free: 13.38 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.942e-05/0.007727, allocations: 124.9 kB / 0.9562 GB, free: 13.23 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 5.5e-06/0.007733, allocations: 0 / 0.9562 GB, free: 13.23 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.048e-05/0.007743, allocations: 4 kB / 0.9562 GB, free: 13.23 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.227e-05/0.007756, allocations: 4 kB / 0.9562 GB, free: 13.23 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.255e-05/0.007788, allocations: 7.984 kB / 0.9562 GB, free: 13.22 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.997e-06/0.007792, allocations: 0 / 0.9562 GB, free: 13.22 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.586e-05/0.007828, allocations: 95.2 kB / 0.9563 GB, free: 13.12 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.007828, allocations: 4 kB / 0.9563 GB, free: 13.12 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001492/0.007977, allocations: 32 kB / 0.9563 GB, free: 13.09 MB / 0.9167 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.0003008/0.008278, allocations: 0.6553 MB / 0.957 GB, free: 12.41 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002376/0.008516, allocations: 274.1 kB / 0.9572 GB, free: 12.1 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.582e-06/0.008517, allocations: 0 / 0.9572 GB, free: 12.1 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 2.913e-05/0.008546, allocations: 19.98 kB / 0.9573 GB, free: 12.08 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001502/0.008696, allocations: 24.17 kB / 0.9573 GB, free: 12.06 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001249/0.009945, allocations: 1.97 MB / 0.9592 GB, free: 9.918 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.945e-05/0.009985, allocations: 75.23 kB / 0.9593 GB, free: 9.824 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 1.816e-05/0.01, allocations: 4 kB / 0.9593 GB, free: 9.82 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.058e-05/0.01003, allocations: 24.48 kB / 0.9593 GB, free: 9.797 MB / 0.9167 GB Notification: Performance of SimCode: time 5.41e-07/0.01003, allocations: 0 / 0.9593 GB, free: 9.797 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01542/0.02545, allocations: 3.759 MB / 0.963 GB, free: 6.219 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.758/6.783, allocations: 17.94 kB / 0.963 GB, free: 6.207 MB / 0.9167 GB " [Timeout remaining time 293] (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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 10.745074263773859]