Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.006141/0.006141, 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.00119/0.00119, allocations: 189.6 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.563/1.563, allocations: 222.9 MB / 240.4 MB, free: 4.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.699/2.699, allocations: 390.2 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 67.86 kB / 0.9509 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3209/0.3221, allocations: 140.4 MB / 1.088 GB, free: 1.52 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor): time 0.002294/0.3245, allocations: 1.024 MB / 1.089 GB, free: 500 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002234/0.3267, allocations: 1.465 MB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001781/0.3269, allocations: 7.938 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001519/0.3271, allocations: 23.67 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001401/0.3273, allocations: 43.66 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001339/0.3286, allocations: 480.6 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0006711/0.3293, allocations: 0.531 MB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003035/0.3296, allocations: 132.1 kB / 1.092 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003184/0.3299, allocations: 203.5 kB / 1.092 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000341/0.3303, allocations: 199.2 kB / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001409/0.3304, allocations: 56 kB / 1.092 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001486/0.3306, allocations: 59.98 kB / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001012/0.3307, allocations: 63.83 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002542/0.331, allocations: 195.2 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006707/0.3316, allocations: 0.5177 MB / 1.093 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.3317, allocations: 0 / 1.093 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.733e-06/0.3317, allocations: 0 / 1.093 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.201e-05/0.3317, allocations: 0 / 1.093 GB, free: 12.54 MB / 0.8575 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.001023/0.3327, allocations: 0.6965 MB / 1.093 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.3328, allocations: 8.031 kB / 1.093 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001334/0.3329, allocations: 44.75 kB / 1.094 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001001/0.3339, allocations: 356.3 kB / 1.094 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.726e-05/0.334, allocations: 24.75 kB / 1.094 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.122e-05/0.334, allocations: 36.36 kB / 1.094 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004178/0.3345, allocations: 236.2 kB / 1.094 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.3345, allocations: 11.94 kB / 1.094 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.678e-05/0.3345, allocations: 11.98 kB / 1.094 GB, free: 11 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.3345, allocations: 8 kB / 1.094 GB, free: 11 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002312/0.3348, allocations: 139.3 kB / 1.094 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001326/0.3361, allocations: 0.7577 MB / 1.095 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002809/0.3364, allocations: 190.4 kB / 1.095 GB, free: 9.859 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002668/0.3367, allocations: 212.7 kB / 1.095 GB, free: 9.648 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.354e-05/0.3367, allocations: 4 kB / 1.095 GB, free: 9.645 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003385/0.337, allocations: 235.9 kB / 1.096 GB, free: 9.395 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=28): time 1.763e-06/0.3371, allocations: 4 kB / 1.096 GB, free: 9.391 MB / 0.8575 GB Notification: Performance of matching and sorting (n=28): time 0.0007282/0.3378, allocations: 426.8 kB / 1.096 GB, free: 8.969 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.471e-05/0.3379, allocations: 110.8 kB / 1.096 GB, free: 8.836 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002844/0.3382, allocations: 294.4 kB / 1.096 GB, free: 8.531 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.066e-05/0.3382, allocations: 37.7 kB / 1.096 GB, free: 8.488 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001589/0.3384, allocations: 156.8 kB / 1.097 GB, free: 8.328 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.768e-05/0.3385, allocations: 63.58 kB / 1.097 GB, free: 8.266 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000224/0.3387, allocations: 145.6 kB / 1.097 GB, free: 8.117 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.3388, allocations: 342.8 kB / 1.097 GB, free: 7.773 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003614/0.3392, allocations: 200.7 kB / 1.097 GB, free: 7.578 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004699/0.3397, allocations: 319.9 kB / 1.098 GB, free: 7.215 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006237/0.3403, allocations: 0.5232 MB / 1.098 GB, free: 6.621 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.3403, allocations: 0 / 1.098 GB, free: 6.621 MB / 0.8575 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001116/0.3415, allocations: 0.7249 MB / 1.099 GB, free: 5.867 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 8.023e-05/0.3415, allocations: 126.7 kB / 1.099 GB, free: 5.719 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.3416, allocations: 4 kB / 1.099 GB, free: 5.715 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.3416, allocations: 4 kB / 1.099 GB, free: 5.711 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.538e-05/0.3417, allocations: 24.33 kB / 1.099 GB, free: 5.688 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.608e-05/0.3417, allocations: 19.92 kB / 1.099 GB, free: 5.668 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006686/0.3424, allocations: 127.5 kB / 1.099 GB, free: 5.543 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.998e-05/0.3425, allocations: 63.92 kB / 1.099 GB, free: 5.48 MB / 0.8575 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.000213/0.3427, allocations: 189.7 kB / 1.099 GB, free: 5.285 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.422e-05/0.3428, allocations: 31.81 kB / 1.099 GB, free: 5.254 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005175/0.3433, allocations: 357 kB / 1.1 GB, free: 4.902 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.3433, allocations: 4 kB / 1.1 GB, free: 4.898 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.3433, allocations: 0 / 1.1 GB, free: 4.898 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.758e-06/0.3433, allocations: 7.922 kB / 1.1 GB, free: 4.891 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008561/0.3442, allocations: 0.7213 MB / 1.101 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.3442, allocations: 0 / 1.101 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.645e-05/0.3443, allocations: 15.94 kB / 1.101 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.823e-06/0.3443, allocations: 11.92 kB / 1.101 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.975e-05/0.3443, allocations: 11.98 kB / 1.101 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.3443, allocations: 0 / 1.101 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3443, allocations: 0 / 1.101 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004527/0.3448, allocations: 416.8 kB / 1.101 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.888e-05/0.3449, allocations: 104.9 kB / 1.101 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.286e-05/0.3449, allocations: 19.86 kB / 1.101 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001228/0.3451, allocations: 8 kB / 1.101 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.582e-05/0.3451, allocations: 23.97 kB / 1.101 GB, free: 3.48 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.992e-05/0.3451, allocations: 15.98 kB / 1.101 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001795/0.3453, allocations: 190 kB / 1.101 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3453, allocations: 0 / 1.101 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000387/0.3457, allocations: 83.95 kB / 1.101 GB, free: 3.199 MB / 0.8575 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.0002106/0.3459, allocations: 125.7 kB / 1.101 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0008862/0.3468, allocations: 0.6652 MB / 1.102 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3469, allocations: 0 / 1.102 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001794/0.347, allocations: 139.8 kB / 1.102 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000465/0.3475, allocations: 61.33 kB / 1.102 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007755/0.3483, allocations: 0.5124 MB / 1.103 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003111/0.3486, allocations: 0.7687 MB / 1.104 GB, free: 0.8242 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001463/0.3488, allocations: 62.92 kB / 1.104 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.791e-05/0.3488, allocations: 43.36 kB / 1.104 GB, free: 0.7227 MB / 0.8575 GB Notification: Performance of SimCode: time 4.81e-07/0.3488, allocations: 4 kB / 1.104 GB, free: 0.7188 MB / 0.8575 GB Notification: Performance of Templates: time 0.01005/0.3589, allocations: 5 MB / 1.109 GB, free: 11.77 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches