Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.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.00168/0.00168, allocations: 110 kB / 18.94 MB, free: 2.953 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.002203/0.002203, allocations: 187.5 kB / 22.23 MB, free: 5.148 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.557/1.557, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.66/2.66, allocations: 443.4 MB / 0.7321 GB, free: 12.28 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.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.Routing.Validation.BooleanExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extIndBoo.u.1.|extIndBoo.u.2.|extIndBoo.u.3.|extIndBoo.u.4.|extIndBoo.index|extIndBoo.y|extIndBoo1.index|extIndBoo1.y|extIndBoo2.index|extIndBoo2.y|extIndBoo3.index|extIndBoo3.y|extIndBoo4.index|extIndBoo4.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extIndBoo.u.1.|extIndBoo.u.2.|extIndBoo.u.3.|extIndBoo.u.4.|extIndBoo.index|extIndBoo.y|extIndBoo1.index|extIndBoo1.y|extIndBoo2.index|extIndBoo2.y|extIndBoo3.index|extIndBoo3.y|extIndBoo4.index|extIndBoo4.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00188/0.00188, allocations: 67.88 kB / 1.061 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.113/1.115, allocations: 160.8 MB / 1.218 GB, free: 4.398 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor): time 0.002523/1.118, allocations: 1.04 MB / 1.219 GB, free: 3.359 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002189/1.12, allocations: 1.475 MB / 1.221 GB, free: 1.867 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001008/1.12, allocations: 7.938 kB / 1.221 GB, free: 1.859 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001538/1.12, allocations: 27.61 kB / 1.221 GB, free: 1.832 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 9.99e-05/1.12, allocations: 39.66 kB / 1.221 GB, free: 1.793 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001244/1.122, allocations: 480.1 kB / 1.221 GB, free: 1.336 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0006481/1.122, allocations: 0.5037 MB / 1.222 GB, free: 0.832 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002526/1.123, allocations: 103.8 kB / 1.222 GB, free: 0.7344 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002493/1.123, allocations: 203.6 kB / 1.222 GB, free: 0.5352 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000293/1.123, allocations: 191.4 kB / 1.222 GB, free: 356 kB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 9.411e-05/1.123, allocations: 48 kB / 1.222 GB, free: 308 kB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001478/1.123, allocations: 59.98 kB / 1.223 GB, free: 248 kB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001116/1.123, allocations: 71.77 kB / 1.223 GB, free: 176 kB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002595/1.124, allocations: 191.3 kB / 1.223 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0006373/1.124, allocations: 0.5165 MB / 1.223 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/1.124, allocations: 0 / 1.223 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.542e-06/1.124, allocations: 0 / 1.223 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.715e-06/1.124, allocations: 0 / 1.223 GB, free: 15.47 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.00108/1.125, allocations: 0.7119 MB / 1.224 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/1.126, allocations: 8.031 kB / 1.224 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001164/1.126, allocations: 40.8 kB / 1.224 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001022/1.127, allocations: 356.2 kB / 1.224 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.395e-05/1.127, allocations: 28.73 kB / 1.224 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.732e-05/1.127, allocations: 32.38 kB / 1.224 GB, free: 14.19 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004324/1.127, allocations: 233 kB / 1.225 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.717e-05/1.127, allocations: 7.938 kB / 1.225 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.478e-05/1.127, allocations: 4 kB / 1.225 GB, free: 13.94 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/1.127, allocations: 7.984 kB / 1.225 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002573/1.127, allocations: 147.3 kB / 1.225 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001345/1.129, allocations: 0.7655 MB / 1.226 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003055/1.129, allocations: 180.2 kB / 1.226 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003059/1.129, allocations: 199.5 kB / 1.226 GB, free: 12.6 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.963e-05/1.129, allocations: 4 kB / 1.226 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003964/1.13, allocations: 257.5 kB / 1.226 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=28): time 1.603e-06/1.13, allocations: 0 / 1.226 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of matching and sorting (n=28): time 0.000775/1.131, allocations: 422.5 kB / 1.227 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/1.131, allocations: 114.8 kB / 1.227 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003153/1.131, allocations: 285.7 kB / 1.227 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.011e-05/1.131, allocations: 41.64 kB / 1.227 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001551/1.131, allocations: 152.8 kB / 1.227 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 6.494e-05/1.131, allocations: 75.47 kB / 1.227 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002324/1.132, allocations: 137.6 kB / 1.227 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001812/1.132, allocations: 338.8 kB / 1.228 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003775/1.132, allocations: 204.7 kB / 1.228 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000478/1.133, allocations: 319.7 kB / 1.228 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007082/1.133, allocations: 0.5311 MB / 1.229 GB, free: 9.562 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/1.133, allocations: 0 / 1.229 GB, free: 9.562 MB / 0.9356 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001235/1.135, allocations: 0.7248 MB / 1.229 GB, free: 8.809 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001126/1.135, allocations: 131.2 kB / 1.23 GB, free: 8.656 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/1.135, allocations: 7.984 kB / 1.23 GB, free: 8.648 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.318e-05/1.135, allocations: 8 kB / 1.23 GB, free: 8.641 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001109/1.135, allocations: 23.92 kB / 1.23 GB, free: 8.617 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.339e-05/1.135, allocations: 7.938 kB / 1.23 GB, free: 8.609 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000652/1.135, allocations: 131.6 kB / 1.23 GB, free: 8.48 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001156/1.136, allocations: 63.92 kB / 1.23 GB, free: 8.418 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 45 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,conInt.y,con.y,con1.y,extIndBoo.u[4],extIndBoo.u[1],extIndBoo1.u[4],extIndBoo2.u[4],extIndBoo3.u[4],extIndBoo4.u[4],extIndBoo1.u[1],extIndBoo2.u[1],extIndBoo3.u[1],extIndBoo4.u[1],intPul1.booPul.y,$PRE.intPul1.booPul.y,intPul1.y,intPul.booPul.y,$PRE.intPul.booPul.y,intPul.y,booPul1.y,$PRE.booPul1.y,booPul.y,$PRE.booPul.y,extIndBoo4.y,extIndBoo4.u[3],extIndBoo4.u[2],extIndBoo3.y,extIndBoo3.u[3],extIndBoo3.u[2],extIndBoo2.y,extIndBoo2.u[3],extIndBoo2.u[2],extIndBoo1.y,extIndBoo1.u[3],extIndBoo1.u[2],extIndBoo.u[3],extIndBoo.u[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 4 * 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.0002571/1.136, allocations: 193.8 kB / 1.23 GB, free: 8.219 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.564e-05/1.136, allocations: 35.75 kB / 1.23 GB, free: 8.184 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005822/1.136, allocations: 352.4 kB / 1.23 GB, free: 7.832 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/1.136, allocations: 4 kB / 1.23 GB, free: 7.828 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/1.136, allocations: 0 / 1.23 GB, free: 7.828 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/1.136, allocations: 0 / 1.23 GB, free: 7.828 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009973/1.137, allocations: 0.7212 MB / 1.231 GB, free: 7.051 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/1.137, allocations: 4 kB / 1.231 GB, free: 7.047 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.081e-05/1.138, allocations: 19.92 kB / 1.231 GB, free: 7.027 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/1.138, allocations: 0 / 1.231 GB, free: 7.027 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.984e-05/1.138, allocations: 8 kB / 1.231 GB, free: 7.02 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.718e-06/1.138, allocations: 3.938 kB / 1.231 GB, free: 7.016 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/1.138, allocations: 3.984 kB / 1.231 GB, free: 7.012 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005433/1.138, allocations: 420.7 kB / 1.231 GB, free: 6.586 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001086/1.138, allocations: 104.9 kB / 1.232 GB, free: 6.465 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.9e-05/1.138, allocations: 12 kB / 1.232 GB, free: 6.453 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000131/1.138, allocations: 19.91 kB / 1.232 GB, free: 6.434 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.535e-05/1.138, allocations: 23.95 kB / 1.232 GB, free: 6.41 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.341e-05/1.139, allocations: 15.94 kB / 1.232 GB, free: 6.395 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002203/1.139, allocations: 187.1 kB / 1.232 GB, free: 6.215 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9.1e-08/1.139, allocations: 0 / 1.232 GB, free: 6.215 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004445/1.139, allocations: 83.94 kB / 1.232 GB, free: 6.133 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 32 (extIndBoo.u[2],extIndBoo.u[3],$cse1,$cse2,$cse3,$cse4,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,extIndBoo1.u[2],extIndBoo1.u[3],extIndBoo1.y,extIndBoo2.u[2],extIndBoo2.u[3],extIndBoo2.y,extIndBoo3.u[2],extIndBoo3.u[3],extIndBoo3.y,extIndBoo4.u[2],extIndBoo4.u[3],extIndBoo4.y,booPul.y,booPul1.y,intPul.y,intPul.booPul.y,intPul1.y,intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0002579/1.139, allocations: 129.2 kB / 1.232 GB, free: 5.996 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0009672/1.14, allocations: 0.5949 MB / 1.233 GB, free: 5.352 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/1.14, allocations: 0 / 1.233 GB, free: 5.352 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001912/1.141, allocations: 119.9 kB / 1.233 GB, free: 5.234 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004707/1.141, allocations: 71.48 kB / 1.233 GB, free: 5.168 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/1.142, allocations: 0.5137 MB / 1.233 GB, free: 4.625 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004861/1.143, allocations: 0.7648 MB / 1.234 GB, free: 3.836 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001633/1.143, allocations: 66.92 kB / 1.234 GB, free: 3.773 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.016e-05/1.143, allocations: 39.42 kB / 1.234 GB, free: 3.734 MB / 0.9356 GB Notification: Performance of SimCode: time 7.21e-07/1.143, allocations: 0 / 1.234 GB, free: 3.734 MB / 0.9356 GB Notification: Performance of Templates: time 0.01134/1.154, allocations: 5.152 MB / 1.239 GB, free: 14.63 MB / 0.9512 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.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: 9.375479887239635]