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.001748/0.001748, allocations: 115.7 kB / 18.89 MB, free: 2.898 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.001855/0.001855, allocations: 200.4 kB / 22.17 MB, free: 5.207 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.469/1.469, allocations: 225.6 MB / 250.9 MB, free: 13.25 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.83/2.83, allocations: 476.7 MB / 0.7645 GB, free: 10.09 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: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|edge1.u|edge1.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|edge1.u|edge1.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002204/0.002204, allocations: 63.91 kB / 1.109 GB, free: 6.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8344/0.8366, allocations: 168.7 MB / 1.274 GB, free: 4.543 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.002014/0.8386, allocations: 0.7536 MB / 1.275 GB, free: 3.793 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001547/0.8402, allocations: 1.16 MB / 1.276 GB, free: 2.621 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.561e-05/0.8402, allocations: 4 kB / 1.276 GB, free: 2.617 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.447e-05/0.8403, allocations: 7.922 kB / 1.276 GB, free: 2.609 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.435e-05/0.8403, allocations: 7.875 kB / 1.276 GB, free: 2.602 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000511/0.8408, allocations: 136.9 kB / 1.276 GB, free: 2.469 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000205/0.8411, allocations: 111.8 kB / 1.276 GB, free: 2.359 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.158e-05/0.8411, allocations: 12 kB / 1.276 GB, free: 2.348 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.53e-05/0.8412, allocations: 51.89 kB / 1.276 GB, free: 2.297 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001053/0.8413, allocations: 43.81 kB / 1.276 GB, free: 2.254 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.561e-05/0.8414, allocations: 12 kB / 1.276 GB, free: 2.242 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.086e-05/0.8415, allocations: 27.92 kB / 1.276 GB, free: 2.215 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.384e-05/0.8415, allocations: 11.98 kB / 1.276 GB, free: 2.203 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.519e-05/0.8416, allocations: 43.84 kB / 1.276 GB, free: 2.16 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001955/0.8417, allocations: 114.3 kB / 1.276 GB, free: 2.051 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.8417, allocations: 0 / 1.276 GB, free: 2.051 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.393e-06/0.8418, allocations: 0 / 1.276 GB, free: 2.051 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.8418, allocations: 4 kB / 1.276 GB, free: 2.047 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006572/0.8424, allocations: 416.9 kB / 1.277 GB, free: 1.582 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/0.8424, allocations: 8.031 kB / 1.277 GB, free: 1.574 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.76e-05/0.8425, allocations: 4.938 kB / 1.277 GB, free: 1.57 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001579/0.8427, allocations: 176.3 kB / 1.277 GB, free: 1.359 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.877e-05/0.8427, allocations: 4.375 kB / 1.277 GB, free: 1.355 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.99e-05/0.8427, allocations: 12.31 kB / 1.277 GB, free: 1.344 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002038/0.8429, allocations: 62.17 kB / 1.277 GB, free: 1.277 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.497e-06/0.8429, allocations: 8.125 kB / 1.277 GB, free: 1.27 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.78e-05/0.8429, allocations: 11.91 kB / 1.277 GB, free: 1.258 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.924e-05/0.843, allocations: 4 kB / 1.277 GB, free: 1.254 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001894/0.8431, allocations: 35.97 kB / 1.277 GB, free: 1.219 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005474/0.8437, allocations: 328.8 kB / 1.278 GB, free: 0.8477 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00021/0.8439, allocations: 62.48 kB / 1.278 GB, free: 0.7773 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001163/0.844, allocations: 36.95 kB / 1.278 GB, free: 0.7383 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.48e-05/0.844, allocations: 3.984 kB / 1.278 GB, free: 0.7344 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002463/0.8443, allocations: 87.36 kB / 1.278 GB, free: 0.6367 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 1.443e-06/0.8443, allocations: 4 kB / 1.278 GB, free: 0.6328 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.0004737/0.8448, allocations: 141.6 kB / 1.278 GB, free: 500 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.763e-05/0.8448, allocations: 55.41 kB / 1.278 GB, free: 432 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001178/0.8449, allocations: 121.8 kB / 1.278 GB, free: 300 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.872e-05/0.845, allocations: 33.7 kB / 1.278 GB, free: 260 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.701e-05/0.845, allocations: 88.14 kB / 1.278 GB, free: 168 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.68e-05/0.8451, allocations: 19.8 kB / 1.278 GB, free: 148 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.035e-05/0.8451, allocations: 45.69 kB / 1.278 GB, free: 96 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001904/0.8453, allocations: 314.8 kB / 1.278 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001796/0.8455, allocations: 55.95 kB / 1.279 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001921/0.8457, allocations: 86.88 kB / 1.279 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003211/0.846, allocations: 141.8 kB / 1.279 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.846, allocations: 0 / 1.279 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005114/0.8465, allocations: 219.2 kB / 1.279 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.642e-05/0.8466, allocations: 37.69 kB / 1.279 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.8466, allocations: 8 kB / 1.279 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.8466, allocations: 0 / 1.279 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001025/0.8467, allocations: 11.94 kB / 1.279 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.8467, allocations: 3.984 kB / 1.279 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002317/0.847, allocations: 40.03 kB / 1.279 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.978e-05/0.847, allocations: 11.98 kB / 1.279 GB, free: 15.12 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.0001213/0.8471, allocations: 121.8 kB / 1.279 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.766e-05/0.8471, allocations: 7.953 kB / 1.279 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.572e-05/0.8472, allocations: 8.375 kB / 1.279 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.8472, allocations: 0 / 1.279 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.8472, allocations: 0 / 1.279 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.261e-06/0.8472, allocations: 4 kB / 1.279 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005741/0.8478, allocations: 386.3 kB / 1.28 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.8478, allocations: 0 / 1.28 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.511e-05/0.8478, allocations: 11.98 kB / 1.28 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.8478, allocations: 0 / 1.28 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.8478, allocations: 7.938 kB / 1.28 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.8478, allocations: 0 / 1.28 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.8478, allocations: 400 / 1.28 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003471/0.8482, allocations: 211.4 kB / 1.28 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.117e-05/0.8483, allocations: 85.06 kB / 1.28 GB, free: 14.19 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.313e-05/0.8483, allocations: 7.984 kB / 1.28 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.95e-05/0.8484, allocations: 4 kB / 1.28 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.699e-05/0.8484, allocations: 7.984 kB / 1.28 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.636e-06/0.8484, allocations: 3.938 kB / 1.28 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.202e-05/0.8485, allocations: 95.27 kB / 1.28 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.8485, allocations: 4 kB / 1.28 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002765/0.8488, allocations: 24 kB / 1.28 GB, free: 14.04 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.0001741/0.8489, allocations: 104.6 kB / 1.28 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004165/0.8494, allocations: 163.3 kB / 1.28 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.8494, allocations: 256 / 1.28 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001333/0.8495, allocations: 35.92 kB / 1.28 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002916/0.8498, allocations: 18.02 kB / 1.28 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004253/0.8502, allocations: 178.5 kB / 1.28 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003557/0.8506, allocations: 0.6923 MB / 1.281 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.383e-05/0.8506, allocations: 8 kB / 1.281 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.976e-05/0.8506, allocations: 11.44 kB / 1.281 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of SimCode: time 2.8e-07/0.8506, allocations: 0 / 1.281 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of Templates: time 0.004611/0.8552, allocations: 1.462 MB / 1.283 GB, free: 11.32 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) [Timeout 400] 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: 8.780339889694005]