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.1-maint.10.0.x/package.mo", uses=false) 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=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.002029/0.002029, allocations: 107.4 kB / 15.22 MB, free: 0.6562 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.002724/0.002724, allocations: 196.3 kB / 16.14 MB, free: 6.016 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.525/1.525, allocations: 222.9 MB / 239.8 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.768/2.768, allocations: 437 MB / 0.7099 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002492/0.002492, allocations: 63.89 kB / 0.8686 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7289/0.7315, allocations: 151.6 MB / 1.017 GB, free: 2.762 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor): time 0.002713/0.7342, allocations: 1.086 MB / 1.018 GB, free: 1.676 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002212/0.7365, allocations: 1.522 MB / 1.019 GB, free: 140 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.87e-05/0.7366, allocations: 4 kB / 1.019 GB, free: 136 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001696/0.7368, allocations: 15.8 kB / 1.019 GB, free: 120 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 9.593e-05/0.7369, allocations: 31.77 kB / 1.019 GB, free: 88 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.001141/0.738, allocations: 437.3 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0005028/0.7385, allocations: 455.8 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002927/0.7388, allocations: 127.7 kB / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001959/0.739, allocations: 175.5 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002202/0.7393, allocations: 155.4 kB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.608e-05/0.7393, allocations: 28 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001216/0.7395, allocations: 36 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.000101/0.7396, allocations: 67.75 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002192/0.7398, allocations: 171.2 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005535/0.7404, allocations: 496.5 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.7404, allocations: 0 / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.182e-06/0.7404, allocations: 0 / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.7404, allocations: 4 kB / 1.021 GB, free: 13.99 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.001054/0.7415, allocations: 0.6889 MB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.7415, allocations: 8.031 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001275/0.7416, allocations: 36.66 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001078/0.7427, allocations: 380 kB / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.15e-05/0.7428, allocations: 20.75 kB / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.816e-05/0.7428, allocations: 36.36 kB / 1.022 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004359/0.7433, allocations: 236.8 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.7433, allocations: 3.938 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.523e-05/0.7433, allocations: 8 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.201e-05/0.7434, allocations: 11.98 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002763/0.7436, allocations: 143.3 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001324/0.745, allocations: 0.7614 MB / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003048/0.7453, allocations: 182.5 kB / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003057/0.7456, allocations: 216 kB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.469e-05/0.7456, allocations: 0 / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003708/0.746, allocations: 248.5 kB / 1.024 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=28): time 1.854e-06/0.746, allocations: 0 / 1.024 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of matching and sorting (n=28): time 0.0007753/0.7468, allocations: 423.7 kB / 1.025 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.466e-05/0.7469, allocations: 122.7 kB / 1.025 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004018/0.7473, allocations: 286.4 kB / 1.025 GB, free: 9.996 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.88e-05/0.7474, allocations: 41.7 kB / 1.025 GB, free: 9.949 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001771/0.7476, allocations: 156.7 kB / 1.025 GB, free: 9.789 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.764e-05/0.7477, allocations: 55.25 kB / 1.025 GB, free: 9.734 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002748/0.7479, allocations: 145.5 kB / 1.025 GB, free: 9.586 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001726/0.7481, allocations: 342.8 kB / 1.026 GB, free: 9.242 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003681/0.7485, allocations: 196.7 kB / 1.026 GB, free: 9.051 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004674/0.749, allocations: 324 kB / 1.026 GB, free: 8.688 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006822/0.7497, allocations: 0.5155 MB / 1.027 GB, free: 8.105 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.7497, allocations: 0 / 1.027 GB, free: 8.105 MB / 0.7794 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001171/0.7508, allocations: 0.7246 MB / 1.027 GB, free: 7.352 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001091/0.751, allocations: 126.8 kB / 1.028 GB, free: 7.203 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/0.751, allocations: 4 kB / 1.028 GB, free: 7.199 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.751, allocations: 4 kB / 1.028 GB, free: 7.195 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.7511, allocations: 23.92 kB / 1.028 GB, free: 7.172 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.533e-05/0.7511, allocations: 11.94 kB / 1.028 GB, free: 7.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006698/0.7518, allocations: 139.5 kB / 1.028 GB, free: 7.023 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001129/0.7519, allocations: 63.92 kB / 1.028 GB, free: 6.961 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.000249/0.7522, allocations: 186.2 kB / 1.028 GB, free: 6.77 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.096e-05/0.7522, allocations: 35.61 kB / 1.028 GB, free: 6.734 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005715/0.7528, allocations: 360.5 kB / 1.028 GB, free: 6.379 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.7528, allocations: 0 / 1.028 GB, free: 6.379 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.7529, allocations: 8 kB / 1.028 GB, free: 6.371 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.7529, allocations: 0 / 1.028 GB, free: 6.371 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009587/0.7538, allocations: 0.7089 MB / 1.029 GB, free: 5.605 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.7538, allocations: 0 / 1.029 GB, free: 5.605 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.303e-05/0.7539, allocations: 27.92 kB / 1.029 GB, free: 5.578 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.7539, allocations: 0 / 1.029 GB, free: 5.578 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.682e-05/0.754, allocations: 8 kB / 1.029 GB, free: 5.57 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.799e-06/0.754, allocations: 15.92 kB / 1.029 GB, free: 5.555 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.754, allocations: 0 / 1.029 GB, free: 5.555 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005135/0.7545, allocations: 415.5 kB / 1.029 GB, free: 5.133 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.655e-05/0.7546, allocations: 108.7 kB / 1.03 GB, free: 5.008 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.83e-05/0.7546, allocations: 7.906 kB / 1.03 GB, free: 5 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001203/0.7548, allocations: 19.92 kB / 1.03 GB, free: 4.98 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.288e-05/0.7548, allocations: 23.97 kB / 1.03 GB, free: 4.957 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.152e-05/0.7549, allocations: 15.94 kB / 1.03 GB, free: 4.941 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001903/0.7551, allocations: 186 kB / 1.03 GB, free: 4.762 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7551, allocations: 0 / 1.03 GB, free: 4.762 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000424/0.7555, allocations: 88 kB / 1.03 GB, free: 4.676 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.0002116/0.7557, allocations: 125.4 kB / 1.03 GB, free: 4.547 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001009/0.7567, allocations: 0.6535 MB / 1.031 GB, free: 3.844 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.7567, allocations: 4 kB / 1.031 GB, free: 3.84 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000242/0.757, allocations: 139.9 kB / 1.031 GB, free: 3.703 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005088/0.7575, allocations: 65.27 kB / 1.031 GB, free: 3.641 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001208/0.7587, allocations: 0.5732 MB / 1.031 GB, free: 3.039 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005291/0.7593, allocations: 0.7573 MB / 1.032 GB, free: 2.258 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001705/0.7594, allocations: 66.92 kB / 1.032 GB, free: 2.191 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.145e-05/0.7595, allocations: 39.42 kB / 1.032 GB, free: 2.152 MB / 0.7794 GB Notification: Performance of SimCode: time 6.12e-07/0.7595, allocations: 0 / 1.032 GB, free: 2.152 MB / 0.7794 GB Notification: Performance of Templates: time 0.01075/0.7703, allocations: 4.755 MB / 1.037 GB, free: 13.45 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=400 -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/jenkins/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