Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.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.001324/0.001324, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001515/0.001515, allocations: 212.6 kB / 22.25 MB, free: 4.859 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.486/1.486, allocations: 230.6 MB / 256 MB, free: 7.789 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.964/2.964, allocations: 476 MB / 0.7699 GB, free: 4.75 MB / 0.6231 GB " [Timeout remaining time 176] 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.Edge,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Edge",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Edge",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.002125/0.002125, allocations: 67.56 kB / 1.117 GB, free: 41.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3429/0.3451, allocations: 170 MB / 1.283 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.002224/0.3473, allocations: 0.7379 MB / 1.283 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001667/0.3489, allocations: 1.161 MB / 1.284 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.72e-05/0.349, allocations: 4 kB / 1.284 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.717e-05/0.349, allocations: 3.938 kB / 1.284 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.041e-05/0.3491, allocations: 15.86 kB / 1.284 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005129/0.3496, allocations: 139.1 kB / 1.285 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001934/0.3498, allocations: 115.8 kB / 1.285 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.585e-05/0.3499, allocations: 15.5 kB / 1.285 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.76e-05/0.35, allocations: 51.89 kB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.997e-05/0.3501, allocations: 39.89 kB / 1.285 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.75e-05/0.3501, allocations: 8 kB / 1.285 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 6.924e-05/0.3502, allocations: 23.98 kB / 1.285 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.316e-05/0.3502, allocations: 11.94 kB / 1.285 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.944e-05/0.3503, allocations: 43.83 kB / 1.285 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001894/0.3505, allocations: 109.4 kB / 1.285 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.3505, allocations: 4 kB / 1.285 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.774e-06/0.3505, allocations: 0 / 1.285 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.816e-06/0.3505, allocations: 0 / 1.285 GB, free: 9.98 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006059/0.3511, allocations: 331.8 kB / 1.285 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.3511, allocations: 12.03 kB / 1.285 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.952e-05/0.3512, allocations: 42.73 kB / 1.285 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.181e-05/0.3513, allocations: 8.891 kB / 1.285 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001026/0.3514, allocations: 122.3 kB / 1.285 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.3514, allocations: 4.375 kB / 1.285 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.961e-05/0.3514, allocations: 12.38 kB / 1.285 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001939/0.3516, allocations: 62.2 kB / 1.286 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.209e-05/0.3516, allocations: 3.938 kB / 1.286 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.3516, allocations: 4 kB / 1.286 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-06/0.3516, allocations: 4 kB / 1.286 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001834/0.3518, allocations: 47.88 kB / 1.286 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005015/0.3523, allocations: 279.9 kB / 1.286 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002005/0.3525, allocations: 58.55 kB / 1.286 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001088/0.3526, allocations: 28.97 kB / 1.286 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.432e-05/0.3527, allocations: 4 kB / 1.286 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002638/0.3529, allocations: 87.36 kB / 1.286 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.383e-06/0.3529, allocations: 0 / 1.286 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0004887/0.3534, allocations: 145.6 kB / 1.286 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.168e-05/0.3535, allocations: 59.39 kB / 1.286 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001063/0.3536, allocations: 121.8 kB / 1.286 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.918e-05/0.3536, allocations: 25.7 kB / 1.286 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.611e-05/0.3537, allocations: 92.12 kB / 1.286 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.956e-05/0.3537, allocations: 19.91 kB / 1.286 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.535e-05/0.3538, allocations: 37.7 kB / 1.287 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.3539, allocations: 326.8 kB / 1.287 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001846/0.3541, allocations: 81.66 kB / 1.287 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002078/0.3543, allocations: 114 kB / 1.287 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000288/0.3546, allocations: 137.9 kB / 1.287 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.3546, allocations: 7.938 kB / 1.287 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004996/0.3551, allocations: 244.8 kB / 1.287 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.453e-05/0.3551, allocations: 37.69 kB / 1.287 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.3551, allocations: 0 / 1.287 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.3552, allocations: 0 / 1.287 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.222e-05/0.3552, allocations: 16.11 kB / 1.287 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.3553, allocations: 4 kB / 1.287 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002338/0.3555, allocations: 43.84 kB / 1.287 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.05e-05/0.3555, allocations: 7.938 kB / 1.288 GB, free: 7.129 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: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,edge1.y,edge1.u,$PRE.edge1.u,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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.0001163/0.3556, allocations: 121.8 kB / 1.288 GB, free: 7 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.579e-05/0.3556, allocations: 4 kB / 1.288 GB, free: 6.996 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.3e-05/0.3557, allocations: 12.36 kB / 1.288 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.3557, allocations: 8.062 kB / 1.288 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.842e-06/0.3557, allocations: 4 kB / 1.288 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.3557, allocations: 0 / 1.288 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005022/0.3562, allocations: 341.8 kB / 1.288 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.3562, allocations: 4 kB / 1.288 GB, free: 6.582 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.709e-05/0.3563, allocations: 11.92 kB / 1.288 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.3563, allocations: 0 / 1.288 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.3563, allocations: 4 kB / 1.288 GB, free: 6.566 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.596e-06/0.3563, allocations: 8 kB / 1.288 GB, free: 6.559 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3563, allocations: 0 / 1.288 GB, free: 6.559 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003418/0.3566, allocations: 211.4 kB / 1.288 GB, free: 6.336 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.727e-05/0.3566, allocations: 7.953 kB / 1.288 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.4e-05/0.3567, allocations: 7.984 kB / 1.288 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.552e-05/0.3567, allocations: 4 kB / 1.288 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.741e-05/0.3568, allocations: 11.92 kB / 1.288 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.037e-06/0.3568, allocations: 4 kB / 1.288 GB, free: 6.301 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.353e-05/0.3569, allocations: 91.27 kB / 1.288 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3569, allocations: 4 kB / 1.288 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002709/0.3571, allocations: 27.94 kB / 1.288 GB, free: 6.18 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 (edge1.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,edge1.u,triggeredSampler.y) * Number of discrete states: 1 (edge1.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.0007187/0.3579, allocations: 0.7398 MB / 1.289 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004244/0.3583, allocations: 196.9 kB / 1.289 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.3583, allocations: 4.188 kB / 1.289 GB, free: 5.199 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000126/0.3584, allocations: 35.97 kB / 1.289 GB, free: 5.164 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002887/0.3587, allocations: 20.8 kB / 1.289 GB, free: 5.145 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002448/0.3611, allocations: 1.809 MB / 1.291 GB, free: 3.195 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.401e-05/0.3612, allocations: 71.58 kB / 1.291 GB, free: 3.105 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.711e-05/0.3613, allocations: 4 kB / 1.291 GB, free: 3.102 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.223e-05/0.3613, allocations: 23.42 kB / 1.291 GB, free: 3.078 MB / 0.9825 GB Notification: Performance of SimCode: time 5.51e-07/0.3613, allocations: 0 / 1.291 GB, free: 3.078 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02988/0.3912, allocations: 3.225 MB / 1.294 GB, free: 12 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.82, allocations: 8.656 kB / 1.294 GB, free: 8 kB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Edge_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Edge.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_Edge.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.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.577454746235162]