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) 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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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=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_10_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_10_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.0011/0.0011, allocations: 99.03 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001741/0.001741, allocations: 181.4 kB / 16.92 MB, free: 6.918 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.426/1.426, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.709/2.709, allocations: 437.8 MB / 0.7128 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003417/0.0003418, allocations: 11.98 kB / 0.8735 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6263/0.6267, allocations: 153.8 MB / 1.024 GB, free: 4 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor): time 0.001481/0.6282, allocations: 0.7372 MB / 1.024 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002318/0.6305, allocations: 1.506 MB / 1.026 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001653/0.6307, allocations: 7.938 kB / 1.026 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001425/0.6309, allocations: 7.875 kB / 1.026 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001295/0.631, allocations: 39.69 kB / 1.026 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001147/0.6322, allocations: 438.3 kB / 1.026 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004902/0.6327, allocations: 451.8 kB / 1.027 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000275/0.633, allocations: 127.6 kB / 1.027 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002984/0.6333, allocations: 155.6 kB / 1.027 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002422/0.6335, allocations: 135.4 kB / 1.027 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.796e-05/0.6336, allocations: 20 kB / 1.027 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001352/0.6338, allocations: 35.91 kB / 1.027 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.63e-05/0.6339, allocations: 47.84 kB / 1.027 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002262/0.6341, allocations: 180.9 kB / 1.027 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000409/0.6345, allocations: 385.1 kB / 1.028 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.6345, allocations: 0 / 1.028 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.914e-06/0.6345, allocations: 0 / 1.028 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.186e-05/0.6346, allocations: 0 / 1.028 GB, free: 11.76 MB / 0.7794 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.000784/0.6353, allocations: 0.6032 MB / 1.028 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.6354, allocations: 12.03 kB / 1.028 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.367e-05/0.6355, allocations: 36.56 kB / 1.028 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009689/0.6365, allocations: 376.1 kB / 1.029 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.495e-05/0.6365, allocations: 24.73 kB / 1.029 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.237e-05/0.6366, allocations: 32.38 kB / 1.029 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003758/0.637, allocations: 236.9 kB / 1.029 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.637, allocations: 3.938 kB / 1.029 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.515e-05/0.637, allocations: 12 kB / 1.029 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.637, allocations: 4 kB / 1.029 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002224/0.6373, allocations: 147.2 kB / 1.029 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001126/0.6384, allocations: 0.7692 MB / 1.03 GB, free: 9.348 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002645/0.6387, allocations: 182.4 kB / 1.03 GB, free: 9.16 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002685/0.639, allocations: 213.4 kB / 1.03 GB, free: 8.949 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.294e-05/0.639, allocations: 4 kB / 1.03 GB, free: 8.945 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003172/0.6393, allocations: 238 kB / 1.031 GB, free: 8.695 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=28): time 1.473e-06/0.6393, allocations: 0 / 1.031 GB, free: 8.695 MB / 0.7794 GB Notification: Performance of matching and sorting (n=28): time 0.000664/0.64, allocations: 427.7 kB / 1.031 GB, free: 8.273 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.382e-05/0.6401, allocations: 114.8 kB / 1.031 GB, free: 8.137 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002868/0.6404, allocations: 282.4 kB / 1.031 GB, free: 7.852 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.586e-05/0.6404, allocations: 37.7 kB / 1.031 GB, free: 7.809 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001385/0.6406, allocations: 156.6 kB / 1.032 GB, free: 7.648 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.297e-05/0.6406, allocations: 63.25 kB / 1.032 GB, free: 7.586 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.631e-05/0.6407, allocations: 69.67 kB / 1.032 GB, free: 7.512 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.6409, allocations: 342.8 kB / 1.032 GB, free: 7.168 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003332/0.6412, allocations: 204.2 kB / 1.032 GB, free: 6.969 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004115/0.6416, allocations: 320.3 kB / 1.033 GB, free: 6.609 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005998/0.6422, allocations: 0.5193 MB / 1.033 GB, free: 6.02 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.6422, allocations: 0 / 1.033 GB, free: 6.02 MB / 0.7794 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.00102/0.6433, allocations: 0.7214 MB / 1.034 GB, free: 5.27 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 8.672e-05/0.6434, allocations: 126.8 kB / 1.034 GB, free: 5.121 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.6434, allocations: 7.938 kB / 1.034 GB, free: 5.113 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.6434, allocations: 4 kB / 1.034 GB, free: 5.109 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.263e-05/0.6435, allocations: 27.92 kB / 1.034 GB, free: 5.082 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.367e-06/0.6435, allocations: 4 kB / 1.034 GB, free: 5.078 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007101/0.6442, allocations: 171.8 kB / 1.034 GB, free: 4.91 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001007/0.6443, allocations: 67.86 kB / 1.034 GB, free: 4.844 MB / 0.7794 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.0002001/0.6446, allocations: 185.7 kB / 1.034 GB, free: 4.652 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.139e-05/0.6446, allocations: 35.61 kB / 1.034 GB, free: 4.617 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005117/0.6451, allocations: 368.5 kB / 1.035 GB, free: 4.254 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.6451, allocations: 0 / 1.035 GB, free: 4.254 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.6451, allocations: 4 kB / 1.035 GB, free: 4.25 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.6452, allocations: 0 / 1.035 GB, free: 4.25 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008202/0.646, allocations: 0.7206 MB / 1.035 GB, free: 3.473 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.646, allocations: 0 / 1.035 GB, free: 3.473 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.233e-05/0.6461, allocations: 19.92 kB / 1.035 GB, free: 3.453 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.6461, allocations: 0 / 1.035 GB, free: 3.453 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.816e-05/0.6461, allocations: 8 kB / 1.035 GB, free: 3.445 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.6461, allocations: 3.938 kB / 1.035 GB, free: 3.441 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.6461, allocations: 4 kB / 1.035 GB, free: 3.438 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004797/0.6466, allocations: 419.6 kB / 1.036 GB, free: 3.012 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.913e-05/0.6467, allocations: 108.7 kB / 1.036 GB, free: 2.887 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.527e-05/0.6467, allocations: 4 kB / 1.036 GB, free: 2.883 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001302/0.6469, allocations: 18.59 kB / 1.036 GB, free: 2.867 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.786e-05/0.6469, allocations: 23.97 kB / 1.036 GB, free: 2.844 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.945e-05/0.6469, allocations: 8 kB / 1.036 GB, free: 2.836 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001765/0.6471, allocations: 193.9 kB / 1.036 GB, free: 2.648 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6471, allocations: 0 / 1.036 GB, free: 2.648 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004051/0.6475, allocations: 91.98 kB / 1.036 GB, free: 2.559 MB / 0.7794 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.0002022/0.6478, allocations: 117.5 kB / 1.036 GB, free: 2.438 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0008449/0.6486, allocations: 0.6541 MB / 1.037 GB, free: 1.734 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 7.214e-06/0.6486, allocations: 8.188 kB / 1.037 GB, free: 1.727 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001922/0.6488, allocations: 143.8 kB / 1.037 GB, free: 1.586 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004684/0.6493, allocations: 66.48 kB / 1.037 GB, free: 1.523 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008055/0.6501, allocations: 0.605 MB / 1.038 GB, free: 0.8867 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003699/0.6505, allocations: 0.7651 MB / 1.039 GB, free: 100 kB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.821e-05/0.6506, allocations: 35.42 kB / 1.039 GB, free: 64 kB / 0.7794 GB Notification: Performance of SimCode: time 2.61e-07/0.6506, allocations: 0 / 1.039 GB, free: 64 kB / 0.7794 GB Notification: Performance of Templates: time 0.006944/0.6575, allocations: 4.362 MB / 1.043 GB, free: 11.73 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe 2>&1) 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/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches