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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.01076/0.01076, allocations: 99.95 kB / 15.73 MB, free: 6.062 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.002239/0.002239, allocations: 189.3 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.536/1.536, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.086/3.086, allocations: 472.6 MB / 0.7453 GB, free: 4.621 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 64.11 kB / 1.069 GB, free: 9.25 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4106/0.4119, allocations: 159.9 MB / 1.226 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor): time 0.002426/0.4144, allocations: 1.032 MB / 1.227 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002012/0.4164, allocations: 1.47 MB / 1.228 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.876e-05/0.4165, allocations: 0 / 1.228 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001453/0.4167, allocations: 27.67 kB / 1.228 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.495e-05/0.4168, allocations: 39.58 kB / 1.228 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001106/0.4179, allocations: 480.9 kB / 1.229 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000566/0.4184, allocations: 0.531 MB / 1.229 GB, free: 5.66 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003055/0.4188, allocations: 139.6 kB / 1.229 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002333/0.419, allocations: 203.5 kB / 1.229 GB, free: 5.324 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000318/0.4193, allocations: 195.3 kB / 1.23 GB, free: 5.133 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.319e-05/0.4194, allocations: 48 kB / 1.23 GB, free: 5.086 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001599/0.4196, allocations: 63.98 kB / 1.23 GB, free: 5.023 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001089/0.4197, allocations: 63.78 kB / 1.23 GB, free: 4.961 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002314/0.4199, allocations: 195.2 kB / 1.23 GB, free: 4.77 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005874/0.4205, allocations: 0.5099 MB / 1.23 GB, free: 4.258 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.4206, allocations: 0 / 1.23 GB, free: 4.258 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.603e-06/0.4206, allocations: 0 / 1.23 GB, free: 4.258 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.117e-06/0.4206, allocations: 4 kB / 1.23 GB, free: 4.254 MB / 0.9825 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.001043/0.4216, allocations: 0.7042 MB / 1.231 GB, free: 3.469 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.18e-05/0.4217, allocations: 8.031 kB / 1.231 GB, free: 3.461 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001176/0.4218, allocations: 44.69 kB / 1.231 GB, free: 3.418 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009355/0.4227, allocations: 360.3 kB / 1.232 GB, free: 3.027 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.606e-05/0.4228, allocations: 24.75 kB / 1.232 GB, free: 3.004 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.893e-05/0.4229, allocations: 32.38 kB / 1.232 GB, free: 2.973 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004034/0.4233, allocations: 233 kB / 1.232 GB, free: 2.738 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.4233, allocations: 3.938 kB / 1.232 GB, free: 2.734 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.198e-05/0.4233, allocations: 15.98 kB / 1.232 GB, free: 2.719 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.4234, allocations: 4 kB / 1.232 GB, free: 2.715 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002389/0.4236, allocations: 143.3 kB / 1.232 GB, free: 2.578 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001225/0.4248, allocations: 0.7655 MB / 1.233 GB, free: 1.758 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002823/0.4251, allocations: 184.9 kB / 1.233 GB, free: 1.57 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000266/0.4254, allocations: 218 kB / 1.233 GB, free: 1.355 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.393e-05/0.4254, allocations: 0 / 1.233 GB, free: 1.355 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003251/0.4258, allocations: 244.9 kB / 1.233 GB, free: 1.094 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=28): time 1.573e-06/0.4258, allocations: 0 / 1.233 GB, free: 1.094 MB / 0.9825 GB Notification: Performance of matching and sorting (n=28): time 0.0006827/0.4264, allocations: 427.2 kB / 1.234 GB, free: 0.6719 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.239e-05/0.4265, allocations: 106.8 kB / 1.234 GB, free: 0.543 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002805/0.4268, allocations: 290.5 kB / 1.234 GB, free: 260 kB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.907e-05/0.4269, allocations: 37.7 kB / 1.234 GB, free: 216 kB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001397/0.427, allocations: 160.8 kB / 1.234 GB, free: 52 kB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.702e-05/0.4271, allocations: 75.66 kB / 1.234 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002169/0.4273, allocations: 137.6 kB / 1.235 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.4275, allocations: 342.6 kB / 1.235 GB, free: 15.49 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003511/0.4278, allocations: 200.7 kB / 1.235 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004347/0.4283, allocations: 312 kB / 1.235 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006117/0.4289, allocations: 0.527 MB / 1.236 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.4289, allocations: 4 kB / 1.236 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001079/0.43, allocations: 0.7215 MB / 1.237 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 9.786e-05/0.4301, allocations: 122.8 kB / 1.237 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.4301, allocations: 8.344 kB / 1.237 GB, free: 13.44 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.411e-05/0.4301, allocations: 12 kB / 1.237 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.4302, allocations: 19.92 kB / 1.237 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.553e-05/0.4303, allocations: 15.86 kB / 1.237 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006272/0.4309, allocations: 131.6 kB / 1.237 GB, free: 13.26 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000101/0.431, allocations: 67.86 kB / 1.237 GB, free: 13.2 MB / 0.9981 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.0002024/0.4312, allocations: 197.6 kB / 1.237 GB, free: 12.99 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.699e-05/0.4313, allocations: 31.81 kB / 1.237 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000528/0.4318, allocations: 356.6 kB / 1.237 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.4318, allocations: 4 kB / 1.237 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.4318, allocations: 0 / 1.237 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.4318, allocations: 3.984 kB / 1.237 GB, free: 12.6 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008409/0.4327, allocations: 0.7134 MB / 1.238 GB, free: 11.83 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.4327, allocations: 4 kB / 1.238 GB, free: 11.83 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.719e-05/0.4328, allocations: 15.94 kB / 1.238 GB, free: 11.81 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.4328, allocations: 4 kB / 1.238 GB, free: 11.81 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.901e-05/0.4328, allocations: 11.92 kB / 1.238 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.4328, allocations: 4 kB / 1.238 GB, free: 11.79 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.4328, allocations: 0 / 1.238 GB, free: 11.79 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004548/0.4333, allocations: 416.8 kB / 1.239 GB, free: 11.37 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.708e-05/0.4334, allocations: 108.9 kB / 1.239 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.832e-05/0.4334, allocations: 19.92 kB / 1.239 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000116/0.4335, allocations: 8 kB / 1.239 GB, free: 11.22 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.029e-05/0.4336, allocations: 23.97 kB / 1.239 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.654e-05/0.4336, allocations: 8 kB / 1.239 GB, free: 11.19 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001772/0.4338, allocations: 193.9 kB / 1.239 GB, free: 11 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4338, allocations: 0 / 1.239 GB, free: 11 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003685/0.4342, allocations: 87.94 kB / 1.239 GB, free: 10.91 MB / 0.9981 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.0002077/0.4344, allocations: 129.4 kB / 1.239 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0008386/0.4353, allocations: 0.6574 MB / 1.24 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.4353, allocations: 0 / 1.24 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001746/0.4354, allocations: 131.9 kB / 1.24 GB, free: 9.938 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004418/0.4359, allocations: 65.27 kB / 1.24 GB, free: 9.875 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008031/0.4367, allocations: 0.5202 MB / 1.24 GB, free: 9.328 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003322/0.4371, allocations: 0.7609 MB / 1.241 GB, free: 8.539 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001542/0.4372, allocations: 70.91 kB / 1.241 GB, free: 8.473 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.402e-05/0.4373, allocations: 39.42 kB / 1.241 GB, free: 8.434 MB / 0.9981 GB Notification: Performance of SimCode: time 2.044e-06/0.4373, allocations: 0 / 1.241 GB, free: 8.434 MB / 0.9981 GB Notification: Performance of Templates: time 0.009058/0.4464, allocations: 5.001 MB / 1.246 GB, free: 3.488 MB / 0.9981 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