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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.008743/0.008744, allocations: 101.7 kB / 15.88 MB, free: 6.328 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.001442/0.001442, allocations: 193.6 kB / 16.79 MB, free: 6.254 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.387/1.387, allocations: 222.9 MB / 240.5 MB, free: 4.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.726/2.726, allocations: 461.9 MB / 0.7348 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 63.34 kB / 0.899 GB, free: 36.96 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3589/0.3602, allocations: 157.4 MB / 1.053 GB, free: 8.223 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor): time 0.002761/0.363, allocations: 1.077 MB / 1.054 GB, free: 7.141 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002636/0.3657, allocations: 1.513 MB / 1.055 GB, free: 5.613 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001911/0.3659, allocations: 4 kB / 1.055 GB, free: 5.609 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002011/0.3661, allocations: 15.8 kB / 1.055 GB, free: 5.594 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001685/0.3663, allocations: 31.77 kB / 1.055 GB, free: 5.562 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001374/0.3677, allocations: 430.2 kB / 1.056 GB, free: 5.152 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0006571/0.3683, allocations: 459.8 kB / 1.056 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003306/0.3687, allocations: 131.6 kB / 1.056 GB, free: 4.574 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004292/0.3691, allocations: 179.5 kB / 1.056 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002784/0.3694, allocations: 155.4 kB / 1.057 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001361/0.3696, allocations: 24 kB / 1.057 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001728/0.3697, allocations: 47.97 kB / 1.057 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.402e-05/0.3698, allocations: 55.78 kB / 1.057 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002409/0.3701, allocations: 171.2 kB / 1.057 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004383/0.3705, allocations: 387.3 kB / 1.057 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.3705, allocations: 0 / 1.057 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.393e-06/0.3705, allocations: 0 / 1.057 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.882e-05/0.3706, allocations: 0 / 1.057 GB, free: 3.574 MB / 0.8106 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.001134/0.3717, allocations: 0.7006 MB / 1.058 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.3718, allocations: 11.97 kB / 1.058 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001345/0.3719, allocations: 36.66 kB / 1.058 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001082/0.373, allocations: 360.1 kB / 1.058 GB, free: 2.355 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.766e-05/0.3731, allocations: 28.75 kB / 1.058 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.483e-05/0.3732, allocations: 36.36 kB / 1.058 GB, free: 2.293 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000429/0.3736, allocations: 232.8 kB / 1.059 GB, free: 2.059 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.3736, allocations: 3.938 kB / 1.059 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.723e-05/0.3737, allocations: 16 kB / 1.059 GB, free: 2.039 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.846e-06/0.3737, allocations: 4 kB / 1.059 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002386/0.3739, allocations: 143.3 kB / 1.059 GB, free: 1.898 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001475/0.3754, allocations: 0.7692 MB / 1.06 GB, free: 1.078 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002948/0.3757, allocations: 182.5 kB / 1.06 GB, free: 0.8906 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002885/0.376, allocations: 206.6 kB / 1.06 GB, free: 0.6875 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.539e-05/0.376, allocations: 4 kB / 1.06 GB, free: 0.6836 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003853/0.3764, allocations: 260.4 kB / 1.06 GB, free: 416 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=28): time 2.033e-06/0.3764, allocations: 0 / 1.06 GB, free: 416 kB / 0.8106 GB Notification: Performance of matching and sorting (n=28): time 0.0008114/0.3773, allocations: 419.1 kB / 1.061 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.815e-05/0.3773, allocations: 110.8 kB / 1.061 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003228/0.3777, allocations: 282.5 kB / 1.061 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0001046/0.3778, allocations: 45.69 kB / 1.061 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001537/0.3779, allocations: 152.6 kB / 1.061 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.109e-05/0.378, allocations: 63.19 kB / 1.061 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002375/0.3783, allocations: 145.5 kB / 1.061 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.3784, allocations: 342.8 kB / 1.062 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003729/0.3788, allocations: 196.7 kB / 1.062 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004566/0.3793, allocations: 324 kB / 1.062 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007332/0.38, allocations: 0.5232 MB / 1.063 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/0.38, allocations: 0 / 1.063 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001338/0.3814, allocations: 0.713 MB / 1.063 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001415/0.3815, allocations: 126.8 kB / 1.063 GB, free: 12.78 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.3815, allocations: 7.938 kB / 1.064 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.3816, allocations: 4 kB / 1.064 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.3817, allocations: 23.92 kB / 1.064 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.388e-05/0.3817, allocations: 11.94 kB / 1.064 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006682/0.3824, allocations: 127.7 kB / 1.064 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001174/0.3825, allocations: 67.92 kB / 1.064 GB, free: 12.54 MB / 0.8262 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.000237/0.3827, allocations: 197.5 kB / 1.064 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.342e-05/0.3828, allocations: 31.62 kB / 1.064 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005695/0.3834, allocations: 352.9 kB / 1.064 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.3834, allocations: 0 / 1.064 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.111e-05/0.3834, allocations: 8 kB / 1.064 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.3834, allocations: 0 / 1.064 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009366/0.3844, allocations: 0.7172 MB / 1.065 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.3844, allocations: 4 kB / 1.065 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.564e-05/0.3845, allocations: 19.92 kB / 1.065 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.3845, allocations: 0 / 1.065 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.097e-05/0.3845, allocations: 8 kB / 1.065 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.893e-06/0.3845, allocations: 11.88 kB / 1.065 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.3845, allocations: 4 kB / 1.065 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004997/0.385, allocations: 423 kB / 1.065 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.54e-05/0.3851, allocations: 100.8 kB / 1.066 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.108e-05/0.3852, allocations: 11.91 kB / 1.066 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001283/0.3853, allocations: 15.92 kB / 1.066 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.855e-05/0.3854, allocations: 23.97 kB / 1.066 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.02e-05/0.3854, allocations: 12 kB / 1.066 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001868/0.3856, allocations: 186 kB / 1.066 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3856, allocations: 0 / 1.066 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004276/0.386, allocations: 87.98 kB / 1.066 GB, free: 10.25 MB / 0.8262 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.0002023/0.3862, allocations: 129.4 kB / 1.066 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0008948/0.3871, allocations: 0.6579 MB / 1.067 GB, free: 9.41 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.3872, allocations: 0 / 1.067 GB, free: 9.41 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002068/0.3874, allocations: 143.9 kB / 1.067 GB, free: 9.27 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004759/0.3878, allocations: 67.52 kB / 1.067 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009746/0.3888, allocations: 0.6061 MB / 1.067 GB, free: 8.57 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003817/0.3892, allocations: 0.7651 MB / 1.068 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.669e-05/0.3893, allocations: 35.42 kB / 1.068 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of SimCode: time 1.603e-06/0.3893, allocations: 0 / 1.068 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of Templates: time 0.007947/0.3973, allocations: 4.386 MB / 1.072 GB, free: 3.387 MB / 0.8262 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/jenkins1/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