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.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.002041/0.002041, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002224/0.002224, allocations: 218.5 kB / 22.26 MB, free: 5.078 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.531/1.531, allocations: 230.6 MB / 256 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.901/2.901, allocations: 476.7 MB / 0.7707 GB, free: 4.258 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.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: 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.002088/0.002088, allocations: 64.25 kB / 1.117 GB, free: 8.992 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.346/0.3481, allocations: 169.9 MB / 1.283 GB, free: 3.777 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.002591/0.3507, allocations: 0.6676 MB / 1.284 GB, free: 3.113 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001969/0.3526, allocations: 1.223 MB / 1.285 GB, free: 1.879 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.645e-05/0.3527, allocations: 0 / 1.285 GB, free: 1.879 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.182e-05/0.3527, allocations: 3.938 kB / 1.285 GB, free: 1.875 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.845e-05/0.3528, allocations: 15.86 kB / 1.285 GB, free: 1.859 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007517/0.3536, allocations: 218 kB / 1.285 GB, free: 1.652 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003068/0.3539, allocations: 167.7 kB / 1.286 GB, free: 1.488 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.354, allocations: 15.98 kB / 1.286 GB, free: 1.473 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001482/0.3541, allocations: 71.88 kB / 1.286 GB, free: 1.402 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001823/0.3543, allocations: 59.86 kB / 1.286 GB, free: 1.344 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.443e-05/0.3544, allocations: 19.94 kB / 1.286 GB, free: 1.324 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001013/0.3545, allocations: 28 kB / 1.286 GB, free: 1.297 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.672e-05/0.3545, allocations: 11.91 kB / 1.286 GB, free: 1.285 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001035/0.3546, allocations: 51.91 kB / 1.286 GB, free: 1.234 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003126/0.3549, allocations: 155.8 kB / 1.286 GB, free: 1.082 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.3549, allocations: 0 / 1.286 GB, free: 1.082 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.056e-06/0.3549, allocations: 4 kB / 1.286 GB, free: 1.078 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.687e-06/0.3549, allocations: 0 / 1.286 GB, free: 1.078 MB / 0.9825 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.0007439/0.3557, allocations: 365.5 kB / 1.286 GB, free: 0.6758 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/0.3557, allocations: 8.031 kB / 1.286 GB, free: 0.668 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.628e-05/0.3558, allocations: 34.75 kB / 1.286 GB, free: 0.625 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.95e-05/0.3558, allocations: 8.938 kB / 1.286 GB, free: 0.6172 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001531/0.356, allocations: 114.5 kB / 1.287 GB, free: 492 kB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.363e-05/0.356, allocations: 8.312 kB / 1.287 GB, free: 484 kB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.885e-05/0.3561, allocations: 8.375 kB / 1.287 GB, free: 476 kB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001764/0.3562, allocations: 54.25 kB / 1.287 GB, free: 416 kB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.3563, allocations: 3.938 kB / 1.287 GB, free: 412 kB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.3563, allocations: 3.984 kB / 1.287 GB, free: 408 kB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.3563, allocations: 3.938 kB / 1.287 GB, free: 404 kB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.53e-05/0.3563, allocations: 12 kB / 1.287 GB, free: 392 kB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006122/0.3569, allocations: 323.8 kB / 1.287 GB, free: 24 kB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000104/0.357, allocations: 30.59 kB / 1.287 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.345e-05/0.3571, allocations: 20.94 kB / 1.287 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.125e-06/0.3571, allocations: 0 / 1.287 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002235/0.3573, allocations: 83.23 kB / 1.287 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.343e-06/0.3573, allocations: 0 / 1.287 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0002774/0.3576, allocations: 101.6 kB / 1.287 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.105e-05/0.3576, allocations: 51.41 kB / 1.287 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001182/0.3578, allocations: 129.7 kB / 1.287 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.431e-05/0.3578, allocations: 33.7 kB / 1.287 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.165e-05/0.3579, allocations: 92.08 kB / 1.287 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.105e-05/0.3579, allocations: 15.89 kB / 1.287 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.854e-05/0.358, allocations: 53.67 kB / 1.288 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.3581, allocations: 322.8 kB / 1.288 GB, free: 15.03 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000139/0.3583, allocations: 51.97 kB / 1.288 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001606/0.3584, allocations: 100.2 kB / 1.288 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002121/0.3586, allocations: 159.5 kB / 1.288 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.3586, allocations: 0 / 1.288 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004368/0.3591, allocations: 273.3 kB / 1.288 GB, free: 14.4 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 6.412e-05/0.3591, allocations: 67.41 kB / 1.288 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.3592, allocations: 0 / 1.288 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.182e-05/0.3592, allocations: 3.984 kB / 1.288 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.608e-05/0.3592, allocations: 4 kB / 1.288 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.3592, allocations: 0 / 1.288 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003315/0.3595, allocations: 51.94 kB / 1.288 GB, free: 14.26 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.361e-05/0.3596, allocations: 20.02 kB / 1.289 GB, free: 14.24 MB / 0.9981 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.0001077/0.3597, allocations: 125.7 kB / 1.289 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.653e-05/0.3597, allocations: 7.938 kB / 1.289 GB, free: 14.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.774e-05/0.3597, allocations: 12.44 kB / 1.289 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.3597, allocations: 4 kB / 1.289 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.3597, allocations: 0 / 1.289 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.3597, allocations: 0 / 1.289 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001665/0.3599, allocations: 152.6 kB / 1.289 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.3599, allocations: 0 / 1.289 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.149e-05/0.3599, allocations: 8 kB / 1.289 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.3599, allocations: 0 / 1.289 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.233e-06/0.3599, allocations: 0 / 1.289 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3599, allocations: 0 / 1.289 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.3599, allocations: 0 / 1.289 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001731/0.3601, allocations: 120.9 kB / 1.289 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.377e-05/0.3601, allocations: 7.953 kB / 1.289 GB, free: 13.74 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.939e-05/0.3601, allocations: 7.984 kB / 1.289 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.099e-05/0.3602, allocations: 4 kB / 1.289 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.053e-05/0.3602, allocations: 7.984 kB / 1.289 GB, free: 13.72 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.3602, allocations: 0 / 1.289 GB, free: 13.72 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.47e-05/0.3603, allocations: 87.28 kB / 1.289 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.3603, allocations: 3.938 kB / 1.289 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002431/0.3605, allocations: 35.98 kB / 1.289 GB, free: 13.6 MB / 0.9981 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.0004992/0.361, allocations: 0.6517 MB / 1.29 GB, free: 12.92 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003661/0.3614, allocations: 219 kB / 1.29 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3614, allocations: 3.938 kB / 1.29 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 5.708e-05/0.3614, allocations: 27.97 kB / 1.29 GB, free: 12.65 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002505/0.3617, allocations: 15.92 kB / 1.29 GB, free: 12.63 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002178/0.3639, allocations: 1.717 MB / 1.292 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003105/0.3642, allocations: 0.6885 MB / 1.292 GB, free: 10.08 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.975e-05/0.3642, allocations: 4 kB / 1.292 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.18e-05/0.3642, allocations: 19.44 kB / 1.292 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of SimCode: time 5.51e-07/0.3642, allocations: 0 / 1.292 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03473/0.399, allocations: 3.025 MB / 1.295 GB, free: 7.184 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.39, allocations: 7.438 kB / 1.295 GB, free: 7.184 MB / 0.9981 GB " [Timeout remaining time 289] (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/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: 18.190308742923662]