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.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.001896/0.001895, allocations: 104 kB / 16.4 MB, free: 6.484 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.002186/0.002186, allocations: 192.6 kB / 19.36 MB, free: 3.75 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.468/1.468, allocations: 222.9 MB / 245.1 MB, free: 15.02 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.688/2.688, allocations: 469.8 MB / 0.749 GB, free: 2.992 MB / 0.6075 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.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: Performance of FrontEnd - loaded program: time 0.001989/0.001989, allocations: 79.83 kB / 1.073 GB, free: 112 kB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8807/0.8827, allocations: 159.1 MB / 1.229 GB, free: 4.816 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001924/0.8846, allocations: 0.7382 MB / 1.229 GB, free: 4.082 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001625/0.8863, allocations: 1.151 MB / 1.231 GB, free: 2.918 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.365e-05/0.8864, allocations: 0 / 1.231 GB, free: 2.918 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.28e-05/0.8864, allocations: 7.938 kB / 1.231 GB, free: 2.91 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.552e-05/0.8865, allocations: 15.86 kB / 1.231 GB, free: 2.895 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005346/0.887, allocations: 126.5 kB / 1.231 GB, free: 2.773 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002078/0.8872, allocations: 131.7 kB / 1.231 GB, free: 2.645 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.598e-05/0.8874, allocations: 12 kB / 1.231 GB, free: 2.633 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 9.984e-05/0.8875, allocations: 43.91 kB / 1.231 GB, free: 2.59 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001084/0.8876, allocations: 47.86 kB / 1.231 GB, free: 2.543 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.919e-05/0.8876, allocations: 15.94 kB / 1.231 GB, free: 2.527 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 7.747e-05/0.8877, allocations: 23.98 kB / 1.231 GB, free: 2.504 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.692e-05/0.8877, allocations: 8 kB / 1.231 GB, free: 2.496 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 8.377e-05/0.8878, allocations: 51.7 kB / 1.231 GB, free: 2.445 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002071/0.888, allocations: 121.4 kB / 1.231 GB, free: 2.328 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.888, allocations: 4 kB / 1.231 GB, free: 2.324 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.543e-06/0.8881, allocations: 0 / 1.231 GB, free: 2.324 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.195e-06/0.8881, allocations: 0 / 1.231 GB, free: 2.324 MB / 0.9356 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.0006542/0.8887, allocations: 416.8 kB / 1.231 GB, free: 1.859 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.8888, allocations: 8.031 kB / 1.231 GB, free: 1.852 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.983e-05/0.8888, allocations: 34.75 kB / 1.232 GB, free: 1.809 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.35e-05/0.8889, allocations: 8.938 kB / 1.232 GB, free: 1.801 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000137/0.889, allocations: 168.3 kB / 1.232 GB, free: 1.598 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.678e-05/0.889, allocations: 8.375 kB / 1.232 GB, free: 1.59 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.442e-05/0.8891, allocations: 8.375 kB / 1.232 GB, free: 1.582 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002033/0.8893, allocations: 66.16 kB / 1.232 GB, free: 1.512 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.8893, allocations: 3.938 kB / 1.232 GB, free: 1.508 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.8893, allocations: 4 kB / 1.232 GB, free: 1.504 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.8893, allocations: 0 / 1.232 GB, free: 1.504 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001897/0.8895, allocations: 43.95 kB / 1.232 GB, free: 1.461 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005081/0.89, allocations: 336.6 kB / 1.232 GB, free: 1.082 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000192/0.8902, allocations: 58.55 kB / 1.232 GB, free: 1.016 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001101/0.8903, allocations: 36.95 kB / 1.232 GB, free: 0.9766 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.608e-05/0.8904, allocations: 4 kB / 1.232 GB, free: 0.9727 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002513/0.8906, allocations: 91.3 kB / 1.232 GB, free: 0.8711 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=8): time 1.382e-06/0.8906, allocations: 0 / 1.232 GB, free: 0.8711 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8): time 0.0004575/0.8911, allocations: 141.6 kB / 1.232 GB, free: 0.7266 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.694e-05/0.8912, allocations: 59.41 kB / 1.233 GB, free: 0.6562 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001099/0.8913, allocations: 121.8 kB / 1.233 GB, free: 0.5273 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.761e-05/0.8913, allocations: 29.7 kB / 1.233 GB, free: 0.4922 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.752e-05/0.8914, allocations: 88.14 kB / 1.233 GB, free: 412 kB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.619e-05/0.8914, allocations: 19.86 kB / 1.233 GB, free: 392 kB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.465e-05/0.8915, allocations: 37.69 kB / 1.233 GB, free: 348 kB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.8917, allocations: 322.8 kB / 1.233 GB, free: 16 kB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001854/0.8918, allocations: 51.95 kB / 1.233 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001892/0.892, allocations: 88.25 kB / 1.233 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002851/0.8923, allocations: 137.9 kB / 1.233 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.022e-06/0.8924, allocations: 4 kB / 1.233 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004731/0.8928, allocations: 207.1 kB / 1.234 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 4.798e-05/0.8929, allocations: 37.69 kB / 1.234 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.8929, allocations: 4.062 kB / 1.234 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.8929, allocations: 4 kB / 1.234 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/0.893, allocations: 24.05 kB / 1.234 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.8931, allocations: 320 / 1.234 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002009/0.8933, allocations: 27.97 kB / 1.234 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.58e-05/0.8933, allocations: 15.92 kB / 1.234 GB, free: 15.37 MB / 0.9512 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.0001134/0.8934, allocations: 133.7 kB / 1.234 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.552e-05/0.8934, allocations: 3.953 kB / 1.234 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.537e-05/0.8935, allocations: 16.38 kB / 1.234 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.8935, allocations: 0 / 1.234 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.768e-06/0.8935, allocations: 0 / 1.234 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.8935, allocations: 0 / 1.234 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005301/0.894, allocations: 390.3 kB / 1.234 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.8941, allocations: 0 / 1.234 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.844e-05/0.8941, allocations: 7.984 kB / 1.234 GB, free: 14.76 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.8941, allocations: 0 / 1.234 GB, free: 14.76 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.8941, allocations: 4 kB / 1.234 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.8941, allocations: 4 kB / 1.234 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.8942, allocations: 0 / 1.234 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003293/0.8945, allocations: 211.4 kB / 1.234 GB, free: 14.53 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.012e-05/0.8946, allocations: 89.05 kB / 1.235 GB, free: 14.42 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.723e-05/0.8946, allocations: 0 / 1.235 GB, free: 14.42 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.345e-05/0.8947, allocations: 8 kB / 1.235 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.506e-05/0.8947, allocations: 11.92 kB / 1.235 GB, free: 14.4 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.8947, allocations: 4 kB / 1.235 GB, free: 14.4 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.106e-05/0.8948, allocations: 91.81 kB / 1.235 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8948, allocations: 0 / 1.235 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002578/0.8951, allocations: 24 kB / 1.235 GB, free: 14.29 MB / 0.9512 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.0006887/0.8958, allocations: 0.7483 MB / 1.235 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003941/0.8962, allocations: 179.2 kB / 1.236 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.8962, allocations: 0 / 1.236 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001325/0.8963, allocations: 40.23 kB / 1.236 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003147/0.8966, allocations: 26.27 kB / 1.236 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00219/0.8988, allocations: 1.685 MB / 1.237 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000311/0.8992, allocations: 0.6884 MB / 1.238 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 4.061e-05/0.8992, allocations: 11.98 kB / 1.238 GB, free: 10.74 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.54e-05/0.8993, allocations: 19.44 kB / 1.238 GB, free: 10.72 MB / 0.9512 GB Notification: Performance of SimCode: time 3.11e-07/0.8993, allocations: 3.938 kB / 1.238 GB, free: 10.71 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02359/0.9229, allocations: 2.557 MB / 1.24 GB, free: 8.262 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.122/9.045, allocations: 7.906 kB / 1.24 GB, free: 8.258 MB / 0.9512 GB " [Timeout remaining time 291] (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_2/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: 14.982428668998182]