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.001828/0.001828, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001768/0.001768, allocations: 197.2 kB / 16.14 MB, free: 6.711 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.444/1.444, allocations: 222.9 MB / 239.8 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.808/2.808, allocations: 472.6 MB / 0.7447 GB, free: 4.918 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001478/0.001479, allocations: 66.83 kB / 0.9114 GB, free: 33.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3819/0.3834, allocations: 159.9 MB / 1.068 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor): time 0.002887/0.3863, allocations: 1.087 MB / 1.069 GB, free: 9.742 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002461/0.3888, allocations: 1.509 MB / 1.07 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002578/0.3891, allocations: 7.938 kB / 1.07 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002142/0.3894, allocations: 11.86 kB / 1.07 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001889/0.3896, allocations: 35.7 kB / 1.07 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.00149/0.3911, allocations: 436.9 kB / 1.071 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0006356/0.3917, allocations: 447.8 kB / 1.071 GB, free: 7.312 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003707/0.3921, allocations: 131.5 kB / 1.071 GB, free: 7.176 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004062/0.3925, allocations: 187.4 kB / 1.071 GB, free: 6.992 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003173/0.3928, allocations: 151.4 kB / 1.071 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001702/0.393, allocations: 28 kB / 1.071 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001839/0.3932, allocations: 39.98 kB / 1.072 GB, free: 6.777 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001111/0.3933, allocations: 55.83 kB / 1.072 GB, free: 6.723 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000306/0.3936, allocations: 179.2 kB / 1.072 GB, free: 6.547 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006602/0.3943, allocations: 494.8 kB / 1.072 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 8.306e-06/0.3943, allocations: 7.938 kB / 1.072 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.422e-06/0.3943, allocations: 0 / 1.072 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.992e-05/0.3944, allocations: 0 / 1.072 GB, free: 6.055 MB / 0.8262 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.001237/0.3956, allocations: 0.6928 MB / 1.073 GB, free: 5.281 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.3957, allocations: 8.031 kB / 1.073 GB, free: 5.273 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001568/0.3958, allocations: 40.56 kB / 1.073 GB, free: 5.234 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001081/0.3969, allocations: 360.2 kB / 1.073 GB, free: 4.844 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.484e-05/0.397, allocations: 28.73 kB / 1.073 GB, free: 4.816 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.826e-05/0.3971, allocations: 32.38 kB / 1.073 GB, free: 4.785 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004297/0.3975, allocations: 225.1 kB / 1.074 GB, free: 4.559 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.711e-05/0.3975, allocations: 7.922 kB / 1.074 GB, free: 4.551 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.521e-05/0.3975, allocations: 12 kB / 1.074 GB, free: 4.539 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.899e-06/0.3976, allocations: 8 kB / 1.074 GB, free: 4.531 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00024/0.3978, allocations: 151.2 kB / 1.074 GB, free: 4.387 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001396/0.3992, allocations: 0.7652 MB / 1.074 GB, free: 3.566 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002914/0.3995, allocations: 188.1 kB / 1.075 GB, free: 3.375 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002903/0.3998, allocations: 217.6 kB / 1.075 GB, free: 3.16 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.188e-05/0.3998, allocations: 0 / 1.075 GB, free: 3.16 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003416/0.4002, allocations: 243.9 kB / 1.075 GB, free: 2.898 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=28): time 1.854e-06/0.4002, allocations: 0 / 1.075 GB, free: 2.898 MB / 0.8262 GB Notification: Performance of matching and sorting (n=28): time 0.0007316/0.4009, allocations: 423 kB / 1.075 GB, free: 2.48 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.3e-05/0.401, allocations: 106.8 kB / 1.076 GB, free: 2.352 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003113/0.4013, allocations: 286.5 kB / 1.076 GB, free: 2.066 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.98e-05/0.4014, allocations: 37.7 kB / 1.076 GB, free: 2.023 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001416/0.4015, allocations: 160.6 kB / 1.076 GB, free: 1.863 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.594e-05/0.4016, allocations: 59.3 kB / 1.076 GB, free: 1.805 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002363/0.4019, allocations: 141.5 kB / 1.076 GB, free: 1.66 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.402, allocations: 346.7 kB / 1.077 GB, free: 1.312 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003752/0.4024, allocations: 196.7 kB / 1.077 GB, free: 1.121 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004731/0.4028, allocations: 323.9 kB / 1.077 GB, free: 0.7539 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006957/0.4036, allocations: 0.5271 MB / 1.078 GB, free: 164 kB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.6e-06/0.4036, allocations: 0 / 1.078 GB, free: 164 kB / 0.8262 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001189/0.4048, allocations: 0.7208 MB / 1.078 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001027/0.4049, allocations: 122.8 kB / 1.078 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/0.4049, allocations: 7.938 kB / 1.078 GB, free: 15.26 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.141e-05/0.4049, allocations: 4 kB / 1.078 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001166/0.405, allocations: 27.92 kB / 1.078 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.236e-05/0.4051, allocations: 4 kB / 1.078 GB, free: 15.22 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006755/0.4057, allocations: 127.6 kB / 1.079 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001062/0.4059, allocations: 67.86 kB / 1.079 GB, free: 15.03 MB / 0.8419 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.0002309/0.4061, allocations: 197.6 kB / 1.079 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.87e-05/0.4062, allocations: 27.72 kB / 1.079 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005487/0.4067, allocations: 353 kB / 1.079 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.4067, allocations: 4 kB / 1.079 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.4068, allocations: 0 / 1.079 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.4068, allocations: 7.984 kB / 1.079 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009012/0.4077, allocations: 0.7131 MB / 1.08 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.4077, allocations: 0 / 1.08 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.444e-05/0.4078, allocations: 23.92 kB / 1.08 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.423e-06/0.4078, allocations: 4 kB / 1.08 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.084e-05/0.4078, allocations: 11.97 kB / 1.08 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.969e-06/0.4078, allocations: 7.938 kB / 1.08 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.4078, allocations: 0 / 1.08 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004696/0.4083, allocations: 411 kB / 1.08 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.114e-05/0.4084, allocations: 104.7 kB / 1.08 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.08e-05/0.4084, allocations: 11.94 kB / 1.08 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001279/0.4086, allocations: 15.92 kB / 1.08 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.306e-05/0.4086, allocations: 23.97 kB / 1.08 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.803e-05/0.4087, allocations: 8 kB / 1.08 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001845/0.4089, allocations: 193.9 kB / 1.081 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4089, allocations: 0 / 1.081 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004342/0.4093, allocations: 88 kB / 1.081 GB, free: 12.75 MB / 0.8419 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.0002118/0.4095, allocations: 133.4 kB / 1.081 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0009143/0.4104, allocations: 0.6502 MB / 1.082 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.4105, allocations: 4 kB / 1.082 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002047/0.4107, allocations: 135.8 kB / 1.082 GB, free: 11.78 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005009/0.4112, allocations: 61.33 kB / 1.082 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009235/0.4121, allocations: 0.5906 MB / 1.082 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003663/0.4125, allocations: 0.7573 MB / 1.083 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001661/0.4127, allocations: 66.92 kB / 1.083 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.319e-05/0.4127, allocations: 35.44 kB / 1.083 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of SimCode: time 5.41e-07/0.4127, allocations: 3.938 kB / 1.083 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of Templates: time 0.01002/0.4228, allocations: 4.754 MB / 1.088 GB, free: 5.516 MB / 0.8419 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