Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) 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.Routing.Validation.BooleanExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001448/0.001454, allocations: 105.8 kB / 15.99 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001408/0.001408, allocations: 195.9 kB / 16.91 MB, free: 5.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.329/1.329, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.563/2.563, allocations: 469.8 MB / 0.7427 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001843/0.001843, allocations: 62.52 kB / 0.9087 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2877/0.2896, allocations: 159.2 MB / 1.064 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor): time 0.002275/0.2919, allocations: 1.076 MB / 1.065 GB, free: 14 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002036/0.294, allocations: 1.466 MB / 1.067 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.868e-05/0.2941, allocations: 7.938 kB / 1.067 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001437/0.2943, allocations: 11.86 kB / 1.067 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 8.63e-05/0.2943, allocations: 31.72 kB / 1.067 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001115/0.2955, allocations: 440.3 kB / 1.067 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0005594/0.296, allocations: 0.5271 MB / 1.068 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002616/0.2963, allocations: 123.7 kB / 1.068 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002191/0.2965, allocations: 211.5 kB / 1.068 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001965/0.2967, allocations: 167.4 kB / 1.068 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 8.608e-05/0.2968, allocations: 52 kB / 1.068 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001179/0.297, allocations: 67.98 kB / 1.068 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 7.504e-05/0.297, allocations: 55.84 kB / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002149/0.2973, allocations: 203.2 kB / 1.068 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0004059/0.2977, allocations: 383.3 kB / 1.069 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.2977, allocations: 0 / 1.069 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.283e-06/0.2977, allocations: 0 / 1.069 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.172e-06/0.2977, allocations: 0 / 1.069 GB, free: 10.29 MB / 0.8419 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.000918/0.2986, allocations: 0.6967 MB / 1.07 GB, free: 9.508 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.2987, allocations: 8.031 kB / 1.07 GB, free: 9.5 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001067/0.2988, allocations: 40.56 kB / 1.07 GB, free: 9.461 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009601/0.2997, allocations: 368.1 kB / 1.07 GB, free: 9.062 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.419e-05/0.2998, allocations: 20.75 kB / 1.07 GB, free: 9.043 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.496e-05/0.2998, allocations: 36.36 kB / 1.07 GB, free: 9.008 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003862/0.3002, allocations: 229.1 kB / 1.07 GB, free: 8.777 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.3003, allocations: 3.938 kB / 1.07 GB, free: 8.773 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.308e-05/0.3003, allocations: 12 kB / 1.07 GB, free: 8.762 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.3003, allocations: 4 kB / 1.07 GB, free: 8.758 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002353/0.3005, allocations: 147 kB / 1.07 GB, free: 8.617 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001183/0.3017, allocations: 0.7692 MB / 1.071 GB, free: 7.793 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002821/0.302, allocations: 186.4 kB / 1.071 GB, free: 7.602 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002782/0.3023, allocations: 210.7 kB / 1.071 GB, free: 7.395 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.463e-05/0.3023, allocations: 4 kB / 1.071 GB, free: 7.391 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003374/0.3027, allocations: 243.9 kB / 1.072 GB, free: 7.129 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=28): time 1.403e-06/0.3027, allocations: 0 / 1.072 GB, free: 7.129 MB / 0.8419 GB Notification: Performance of matching and sorting (n=28): time 0.0006811/0.3034, allocations: 419 kB / 1.072 GB, free: 6.715 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.9e-05/0.3035, allocations: 110.8 kB / 1.072 GB, free: 6.582 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002839/0.3038, allocations: 282.5 kB / 1.072 GB, free: 6.297 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 6.223e-05/0.3038, allocations: 41.7 kB / 1.073 GB, free: 6.25 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001466/0.304, allocations: 168.5 kB / 1.073 GB, free: 6.082 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.264e-05/0.304, allocations: 55.28 kB / 1.073 GB, free: 6.027 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002207/0.3043, allocations: 145.5 kB / 1.073 GB, free: 5.879 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000156/0.3044, allocations: 342.8 kB / 1.073 GB, free: 5.535 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003529/0.3048, allocations: 200.7 kB / 1.073 GB, free: 5.34 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004539/0.3052, allocations: 327.9 kB / 1.074 GB, free: 4.969 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006479/0.3059, allocations: 0.5193 MB / 1.074 GB, free: 4.383 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.3059, allocations: 0 / 1.074 GB, free: 4.383 MB / 0.8419 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001088/0.307, allocations: 0.7206 MB / 1.075 GB, free: 3.633 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 9.928e-05/0.3071, allocations: 126.8 kB / 1.075 GB, free: 3.484 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.3071, allocations: 4 kB / 1.075 GB, free: 3.48 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.3071, allocations: 4 kB / 1.075 GB, free: 3.477 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.768e-05/0.3072, allocations: 23.92 kB / 1.075 GB, free: 3.453 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/0.3073, allocations: 8 kB / 1.075 GB, free: 3.445 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006155/0.3079, allocations: 131.8 kB / 1.075 GB, free: 3.316 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.987e-05/0.308, allocations: 67.86 kB / 1.075 GB, free: 3.25 MB / 0.8419 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.0002231/0.3082, allocations: 189.6 kB / 1.075 GB, free: 3.055 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.366e-05/0.3083, allocations: 35.61 kB / 1.075 GB, free: 3.02 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005321/0.3088, allocations: 360.5 kB / 1.076 GB, free: 2.664 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.3088, allocations: 8 kB / 1.076 GB, free: 2.656 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.3088, allocations: 0 / 1.076 GB, free: 2.656 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.3088, allocations: 4 kB / 1.076 GB, free: 2.652 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008627/0.3097, allocations: 0.7051 MB / 1.077 GB, free: 1.891 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.3097, allocations: 4 kB / 1.077 GB, free: 1.887 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.189e-05/0.3098, allocations: 23.92 kB / 1.077 GB, free: 1.863 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.3098, allocations: 0 / 1.077 GB, free: 1.863 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.809e-05/0.3098, allocations: 8 kB / 1.077 GB, free: 1.855 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.3098, allocations: 3.938 kB / 1.077 GB, free: 1.852 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.3098, allocations: 4 kB / 1.077 GB, free: 1.848 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000486/0.3103, allocations: 415.6 kB / 1.077 GB, free: 1.426 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.898e-05/0.3104, allocations: 104.7 kB / 1.077 GB, free: 1.305 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.487e-05/0.3105, allocations: 8 kB / 1.077 GB, free: 1.297 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001208/0.3106, allocations: 19.86 kB / 1.077 GB, free: 1.277 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.175e-05/0.3106, allocations: 23.97 kB / 1.077 GB, free: 1.254 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.831e-05/0.3107, allocations: 19.88 kB / 1.077 GB, free: 1.234 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001837/0.3108, allocations: 186 kB / 1.077 GB, free: 1.051 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3109, allocations: 0 / 1.077 GB, free: 1.051 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003681/0.3112, allocations: 84 kB / 1.077 GB, free: 0.9688 MB / 0.8419 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.0001829/0.3114, allocations: 129.8 kB / 1.078 GB, free: 0.832 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0009408/0.3124, allocations: 0.6925 MB / 1.078 GB, free: 92 kB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3124, allocations: 0 / 1.078 GB, free: 92 kB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.4288/0.7411, allocations: 143.1 kB / 1.078 GB, free: 23.11 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006607/0.7419, allocations: 62.89 kB / 1.078 GB, free: 23.11 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001094/0.743, allocations: 0.6011 MB / 1.079 GB, free: 22.8 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000283/0.7433, allocations: 0.7636 MB / 1.08 GB, free: 22.1 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.149e-05/0.7434, allocations: 37.47 kB / 1.08 GB, free: 22.09 MB / 0.8419 GB Notification: Performance of SimCode: time 5.51e-07/0.7434, allocations: 0 / 1.08 GB, free: 22.09 MB / 0.8419 GB Notification: Performance of Templates: time 0.008883/0.7522, allocations: 4.393 MB / 1.084 GB, free: 21.78 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches