Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.007307/0.007307, allocations: 100.5 kB / 15.73 MB, free: 6.035 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.00173/0.00173, allocations: 187.8 kB / 16.67 MB, free: 5.973 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.463/1.463, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.768/2.768, allocations: 461.9 MB / 0.7347 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 63.91 kB / 1.054 GB, free: 7.168 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4008/0.4021, allocations: 157.4 MB / 1.208 GB, free: 9.668 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor): time 0.002486/0.4047, allocations: 1.024 MB / 1.209 GB, free: 8.641 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00211/0.4068, allocations: 1.475 MB / 1.21 GB, free: 7.152 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001044/0.4069, allocations: 4 kB / 1.21 GB, free: 7.148 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001758/0.4071, allocations: 31.67 kB / 1.21 GB, free: 7.117 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001166/0.4072, allocations: 47.58 kB / 1.21 GB, free: 7.07 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001106/0.4083, allocations: 464.4 kB / 1.211 GB, free: 6.629 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0005613/0.4089, allocations: 0.5427 MB / 1.211 GB, free: 6.082 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003038/0.4092, allocations: 124.2 kB / 1.211 GB, free: 5.961 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002222/0.4095, allocations: 207.5 kB / 1.212 GB, free: 5.758 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002764/0.4097, allocations: 191.3 kB / 1.212 GB, free: 5.57 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 7.411e-05/0.4098, allocations: 48 kB / 1.212 GB, free: 5.523 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001308/0.41, allocations: 63.98 kB / 1.212 GB, free: 5.461 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.53e-05/0.41, allocations: 71.75 kB / 1.212 GB, free: 5.391 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002003/0.4103, allocations: 195.2 kB / 1.212 GB, free: 5.199 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005118/0.4108, allocations: 0.5101 MB / 1.213 GB, free: 4.688 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.4108, allocations: 0 / 1.213 GB, free: 4.688 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.044e-06/0.4108, allocations: 0 / 1.213 GB, free: 4.688 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.895e-06/0.4108, allocations: 0 / 1.213 GB, free: 4.688 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.0009484/0.4118, allocations: 0.7028 MB / 1.213 GB, free: 3.906 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.4118, allocations: 8.625 kB / 1.213 GB, free: 3.898 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001621/0.412, allocations: 40.56 kB / 1.213 GB, free: 3.859 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009558/0.4129, allocations: 364.1 kB / 1.214 GB, free: 3.465 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.033e-05/0.413, allocations: 16.75 kB / 1.214 GB, free: 3.449 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.151e-05/0.4131, allocations: 40.36 kB / 1.214 GB, free: 3.41 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003832/0.4135, allocations: 233 kB / 1.214 GB, free: 3.176 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.4135, allocations: 3.938 kB / 1.214 GB, free: 3.172 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.568e-05/0.4135, allocations: 8 kB / 1.214 GB, free: 3.164 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.852e-06/0.4135, allocations: 4 kB / 1.214 GB, free: 3.16 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002148/0.4138, allocations: 143.3 kB / 1.214 GB, free: 3.023 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001202/0.415, allocations: 0.7691 MB / 1.215 GB, free: 2.199 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002702/0.4152, allocations: 186.4 kB / 1.215 GB, free: 2.008 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002867/0.4155, allocations: 214.3 kB / 1.215 GB, free: 1.797 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.873e-05/0.4156, allocations: 4 kB / 1.215 GB, free: 1.793 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003321/0.4159, allocations: 243.9 kB / 1.215 GB, free: 1.531 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=28): time 1.723e-06/0.4159, allocations: 0 / 1.215 GB, free: 1.531 MB / 0.9669 GB Notification: Performance of matching and sorting (n=28): time 0.0006739/0.4166, allocations: 423.7 kB / 1.216 GB, free: 1.113 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.018e-05/0.4167, allocations: 114.8 kB / 1.216 GB, free: 0.9766 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002811/0.417, allocations: 282.4 kB / 1.216 GB, free: 0.6953 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.908e-05/0.417, allocations: 41.7 kB / 1.216 GB, free: 0.6484 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001221/0.4172, allocations: 160.7 kB / 1.216 GB, free: 500 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.874e-05/0.4172, allocations: 63.19 kB / 1.216 GB, free: 436 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002024/0.4174, allocations: 137.6 kB / 1.217 GB, free: 292 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.00016/0.4176, allocations: 342.8 kB / 1.217 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003279/0.4179, allocations: 196.7 kB / 1.217 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004209/0.4184, allocations: 324 kB / 1.217 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006304/0.419, allocations: 0.5193 MB / 1.218 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.263e-06/0.419, allocations: 7.984 kB / 1.218 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001066/0.4201, allocations: 0.7169 MB / 1.219 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 9.985e-05/0.4202, allocations: 126.8 kB / 1.219 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.4202, allocations: 4 kB / 1.219 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/0.4202, allocations: 4 kB / 1.219 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.853e-05/0.4203, allocations: 27.92 kB / 1.219 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.362e-05/0.4204, allocations: 7.938 kB / 1.219 GB, free: 13.85 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006153/0.421, allocations: 131.8 kB / 1.219 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001106/0.4211, allocations: 67.92 kB / 1.219 GB, free: 13.66 MB / 0.9825 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.0002155/0.4213, allocations: 193.6 kB / 1.219 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.942e-05/0.4214, allocations: 27.7 kB / 1.219 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005236/0.4219, allocations: 352.8 kB / 1.22 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.4219, allocations: 4 kB / 1.22 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.4219, allocations: 4 kB / 1.22 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.4219, allocations: 0 / 1.22 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008303/0.4228, allocations: 0.7139 MB / 1.22 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.4228, allocations: 0 / 1.22 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.411e-05/0.4229, allocations: 23.92 kB / 1.22 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.4229, allocations: 0 / 1.22 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.801e-05/0.4229, allocations: 8 kB / 1.22 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.443e-06/0.4229, allocations: 3.938 kB / 1.22 GB, free: 12.26 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.4229, allocations: 8 kB / 1.22 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004508/0.4234, allocations: 416.1 kB / 1.221 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.021e-05/0.4235, allocations: 104.7 kB / 1.221 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.816e-05/0.4235, allocations: 7.938 kB / 1.221 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000118/0.4237, allocations: 15.92 kB / 1.221 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.621e-05/0.4237, allocations: 23.97 kB / 1.221 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.025e-05/0.4238, allocations: 16 kB / 1.221 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001767/0.4239, allocations: 190 kB / 1.221 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4239, allocations: 0 / 1.221 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003749/0.4243, allocations: 88 kB / 1.221 GB, free: 11.38 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: 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.0002359/0.4246, allocations: 125.3 kB / 1.221 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0008513/0.4254, allocations: 0.6663 MB / 1.222 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.4254, allocations: 4 kB / 1.222 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001875/0.4256, allocations: 135.9 kB / 1.222 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004336/0.4261, allocations: 56.77 kB / 1.222 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008448/0.4269, allocations: 0.5127 MB / 1.223 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003628/0.4273, allocations: 0.7609 MB / 1.223 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001384/0.4275, allocations: 70.91 kB / 1.223 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.578e-05/0.4275, allocations: 39.38 kB / 1.223 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of SimCode: time 2.31e-07/0.4275, allocations: 0 / 1.223 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of Templates: time 0.009372/0.4369, allocations: 4.998 MB / 1.228 GB, free: 3.961 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches