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.001957/0.001957, allocations: 120.3 kB / 17.13 MB, free: 5.918 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.002308/0.002308, allocations: 191.7 kB / 20.08 MB, free: 2.988 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.505/1.505, allocations: 225.6 MB / 248.5 MB, free: 3.629 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.608/2.608, allocations: 443.5 MB / 0.7293 GB, free: 14.69 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.002044/0.002044, allocations: 64.12 kB / 1.057 GB, free: 2.148 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3006/0.3027, allocations: 160.7 MB / 1.214 GB, free: 1.117 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor): time 0.002367/0.3051, allocations: 1.039 MB / 1.215 GB, free: 68 kB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002035/0.3071, allocations: 1.468 MB / 1.217 GB, free: 14.58 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.226e-05/0.3072, allocations: 0 / 1.217 GB, free: 14.58 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.00013/0.3073, allocations: 27.67 kB / 1.217 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001068/0.3074, allocations: 51.56 kB / 1.217 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001188/0.3086, allocations: 470.5 kB / 1.217 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0005548/0.3092, allocations: 0.5036 MB / 1.218 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002475/0.3094, allocations: 111.6 kB / 1.218 GB, free: 13.44 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002262/0.3096, allocations: 207.5 kB / 1.218 GB, free: 13.24 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002857/0.3099, allocations: 195.3 kB / 1.218 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.773e-05/0.31, allocations: 52 kB / 1.218 GB, free: 13 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001406/0.3101, allocations: 64 kB / 1.218 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001007/0.3102, allocations: 71.7 kB / 1.218 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002282/0.3105, allocations: 195.2 kB / 1.218 GB, free: 12.67 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0006205/0.3111, allocations: 0.5061 MB / 1.219 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.3111, allocations: 4 kB / 1.219 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.884e-06/0.3111, allocations: 0 / 1.219 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.094e-06/0.3111, allocations: 0 / 1.219 GB, free: 12.16 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0009802/0.3121, allocations: 0.7041 MB / 1.22 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.3121, allocations: 8.031 kB / 1.22 GB, free: 11.37 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000138/0.3123, allocations: 44.8 kB / 1.22 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009704/0.3132, allocations: 368.1 kB / 1.22 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.753e-05/0.3133, allocations: 32.67 kB / 1.22 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.008e-05/0.3133, allocations: 32.38 kB / 1.22 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004038/0.3137, allocations: 228.9 kB / 1.22 GB, free: 10.63 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.3138, allocations: 7.938 kB / 1.22 GB, free: 10.62 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.024e-05/0.3138, allocations: 12 kB / 1.22 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.3138, allocations: 4 kB / 1.22 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002414/0.314, allocations: 143.3 kB / 1.22 GB, free: 10.47 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001242/0.3153, allocations: 0.7655 MB / 1.221 GB, free: 9.656 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002814/0.3156, allocations: 170.5 kB / 1.221 GB, free: 9.48 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002801/0.3158, allocations: 202.3 kB / 1.222 GB, free: 9.281 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.806e-05/0.3159, allocations: 4 kB / 1.222 GB, free: 9.277 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000362/0.3162, allocations: 245.5 kB / 1.222 GB, free: 9.02 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=28): time 1.613e-06/0.3162, allocations: 4 kB / 1.222 GB, free: 9.016 MB / 0.9669 GB Notification: Performance of matching and sorting (n=28): time 0.0007223/0.3169, allocations: 430.4 kB / 1.222 GB, free: 8.59 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.782e-05/0.317, allocations: 110.8 kB / 1.222 GB, free: 8.457 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003114/0.3173, allocations: 282.5 kB / 1.223 GB, free: 8.168 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 6.45e-05/0.3174, allocations: 45.7 kB / 1.223 GB, free: 8.117 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001475/0.3176, allocations: 160.8 kB / 1.223 GB, free: 7.957 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.671e-05/0.3176, allocations: 63.53 kB / 1.223 GB, free: 7.895 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002371/0.3178, allocations: 141.6 kB / 1.223 GB, free: 7.75 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001601/0.318, allocations: 346.7 kB / 1.223 GB, free: 7.402 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003772/0.3184, allocations: 196.7 kB / 1.223 GB, free: 7.207 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004687/0.3189, allocations: 320 kB / 1.224 GB, free: 6.844 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007195/0.3196, allocations: 0.5232 MB / 1.224 GB, free: 6.25 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.3196, allocations: 0 / 1.224 GB, free: 6.25 MB / 0.9669 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001241/0.3208, allocations: 0.721 MB / 1.225 GB, free: 5.5 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 9.894e-05/0.3209, allocations: 130.8 kB / 1.225 GB, free: 5.348 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.3209, allocations: 4 kB / 1.225 GB, free: 5.344 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.3209, allocations: 4 kB / 1.225 GB, free: 5.34 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.321, allocations: 23.86 kB / 1.225 GB, free: 5.316 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/0.3211, allocations: 4.406 kB / 1.225 GB, free: 5.312 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000695/0.3217, allocations: 135.5 kB / 1.225 GB, free: 5.18 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001135/0.3219, allocations: 67.92 kB / 1.225 GB, free: 5.113 MB / 0.9669 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.0002291/0.3221, allocations: 193.6 kB / 1.226 GB, free: 4.914 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.642e-05/0.3221, allocations: 27.81 kB / 1.226 GB, free: 4.887 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005621/0.3227, allocations: 356.3 kB / 1.226 GB, free: 4.531 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.68e-06/0.3227, allocations: 4 kB / 1.226 GB, free: 4.527 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.3227, allocations: 0 / 1.226 GB, free: 4.527 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.3227, allocations: 0 / 1.226 GB, free: 4.527 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009823/0.3237, allocations: 0.7183 MB / 1.227 GB, free: 3.754 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.3237, allocations: 0 / 1.227 GB, free: 3.754 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.89e-05/0.3238, allocations: 19.98 kB / 1.227 GB, free: 3.734 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.626e-06/0.3238, allocations: 4 kB / 1.227 GB, free: 3.73 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.827e-05/0.3238, allocations: 15.94 kB / 1.227 GB, free: 3.715 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.171e-05/0.3238, allocations: 11.92 kB / 1.227 GB, free: 3.703 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.3238, allocations: 0 / 1.227 GB, free: 3.703 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005368/0.3244, allocations: 416.5 kB / 1.227 GB, free: 3.281 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 8.454e-05/0.3245, allocations: 104.9 kB / 1.227 GB, free: 3.16 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.554e-05/0.3245, allocations: 8 kB / 1.227 GB, free: 3.152 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001342/0.3246, allocations: 19.86 kB / 1.227 GB, free: 3.133 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.243e-05/0.3247, allocations: 23.97 kB / 1.227 GB, free: 3.109 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.96e-05/0.3247, allocations: 12 kB / 1.227 GB, free: 3.098 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001972/0.3249, allocations: 186 kB / 1.227 GB, free: 2.914 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3249, allocations: 0 / 1.227 GB, free: 2.914 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004191/0.3253, allocations: 91.98 kB / 1.227 GB, free: 2.824 MB / 0.9669 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.0002096/0.3255, allocations: 132.6 kB / 1.228 GB, free: 2.688 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0008771/0.3264, allocations: 0.5949 MB / 1.228 GB, free: 2.043 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.3264, allocations: 0 / 1.228 GB, free: 2.043 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001915/0.3266, allocations: 124.7 kB / 1.228 GB, free: 1.922 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004582/0.3271, allocations: 65.27 kB / 1.228 GB, free: 1.859 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009618/0.328, allocations: 0.5457 MB / 1.229 GB, free: 1.281 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004269/0.3284, allocations: 0.7726 MB / 1.23 GB, free: 496 kB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.854e-05/0.3285, allocations: 31.44 kB / 1.23 GB, free: 464 kB / 0.9669 GB Notification: Performance of SimCode: time 5.51e-07/0.3285, allocations: 0 / 1.23 GB, free: 464 kB / 0.9669 GB Notification: Performance of Templates: time 0.007624/0.3361, allocations: 4.432 MB / 1.234 GB, free: 12.05 MB / 0.9825 GB " [Timeout remaining time 300] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 10.985944418003783]