Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001846/0.001846, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002303/0.002303, allocations: 215.2 kB / 22.26 MB, free: 5.078 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.556/1.556, allocations: 230.6 MB / 256 MB, free: 8.055 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.349/3.349, allocations: 0.49 GB / 0.7951 GB, free: 33.51 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00301/0.00301, allocations: 67.16 kB / 1.154 GB, free: 25.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3726/0.3756, allocations: 176.1 MB / 1.326 GB, free: 1.98 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor): time 0.003627/0.3792, allocations: 1.034 MB / 1.327 GB, free: 0.9492 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003297/0.3825, allocations: 1.494 MB / 1.328 GB, free: 15.44 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002334/0.3827, allocations: 7.938 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002171/0.3829, allocations: 31.66 kB / 1.328 GB, free: 15.4 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002311/0.3832, allocations: 51.58 kB / 1.328 GB, free: 15.35 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0019/0.3851, allocations: 471.8 kB / 1.329 GB, free: 14.9 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001082/0.3862, allocations: 0.5037 MB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003797/0.3865, allocations: 92.16 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000486/0.387, allocations: 207.5 kB / 1.33 GB, free: 14.1 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005044/0.3875, allocations: 195.4 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001658/0.3877, allocations: 52 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001951/0.3879, allocations: 63.98 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001695/0.3881, allocations: 63.72 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003744/0.3884, allocations: 195.3 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0008858/0.3893, allocations: 0.5138 MB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.3893, allocations: 0 / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.104e-06/0.3893, allocations: 0 / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.912e-05/0.3893, allocations: 3.938 kB / 1.331 GB, free: 13.02 MB / 1.029 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.00148/0.3908, allocations: 0.6212 MB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.644e-05/0.3909, allocations: 16.03 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001098/0.391, allocations: 58.72 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001726/0.3912, allocations: 40.75 kB / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001285/0.3925, allocations: 287.2 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.289e-05/0.3925, allocations: 28.67 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001063/0.3926, allocations: 40.31 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006242/0.3932, allocations: 236.6 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.3933, allocations: 0 / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.966e-05/0.3933, allocations: 12 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.3933, allocations: 4 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003746/0.3937, allocations: 143.3 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001994/0.3957, allocations: 0.7372 MB / 1.333 GB, free: 10.67 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004431/0.3961, allocations: 170.5 kB / 1.333 GB, free: 10.49 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004279/0.3965, allocations: 202.5 kB / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.276e-05/0.3966, allocations: 4 kB / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000546/0.3971, allocations: 244.8 kB / 1.333 GB, free: 10.03 MB / 1.029 GB Notification: Performance of pre-optimization done (n=28): time 2.375e-06/0.3971, allocations: 4 kB / 1.333 GB, free: 10.02 MB / 1.029 GB Notification: Performance of matching and sorting (n=28): time 0.001097/0.3982, allocations: 423.2 kB / 1.334 GB, free: 9.605 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001147/0.3983, allocations: 106.8 kB / 1.334 GB, free: 9.477 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004649/0.3988, allocations: 285.7 kB / 1.334 GB, free: 9.188 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 8.434e-05/0.3989, allocations: 41.7 kB / 1.334 GB, free: 9.141 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002153/0.3991, allocations: 160.8 kB / 1.334 GB, free: 8.98 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 9.565e-05/0.3992, allocations: 67.52 kB / 1.335 GB, free: 8.914 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003493/0.3995, allocations: 145.6 kB / 1.335 GB, free: 8.766 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002392/0.3998, allocations: 342.7 kB / 1.335 GB, free: 8.422 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000561/0.4003, allocations: 200.7 kB / 1.335 GB, free: 8.227 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006534/0.401, allocations: 316 kB / 1.335 GB, free: 7.871 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009656/0.402, allocations: 0.531 MB / 1.336 GB, free: 7.27 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.402, allocations: 0 / 1.336 GB, free: 7.27 MB / 1.029 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.00176/0.4037, allocations: 0.7176 MB / 1.337 GB, free: 6.523 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001046/0.4038, allocations: 126.8 kB / 1.337 GB, free: 6.375 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/0.4038, allocations: 4.406 kB / 1.337 GB, free: 6.371 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.257e-05/0.4039, allocations: 8 kB / 1.337 GB, free: 6.363 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.404, allocations: 23.92 kB / 1.337 GB, free: 6.34 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.404, allocations: 7.938 kB / 1.337 GB, free: 6.332 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006348/0.4046, allocations: 131.6 kB / 1.337 GB, free: 6.203 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001147/0.4047, allocations: 71.86 kB / 1.337 GB, free: 6.133 MB / 1.029 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.0002277/0.405, allocations: 185.6 kB / 1.337 GB, free: 5.945 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.878e-05/0.405, allocations: 35.75 kB / 1.337 GB, free: 5.91 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005752/0.4056, allocations: 360.7 kB / 1.338 GB, free: 5.555 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/0.4056, allocations: 4 kB / 1.338 GB, free: 5.551 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.4056, allocations: 0 / 1.338 GB, free: 5.551 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.4056, allocations: 3.984 kB / 1.338 GB, free: 5.547 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009599/0.4066, allocations: 0.6851 MB / 1.338 GB, free: 4.812 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.4066, allocations: 4 kB / 1.338 GB, free: 4.809 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.969e-05/0.4066, allocations: 19.98 kB / 1.338 GB, free: 4.789 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.4066, allocations: 0 / 1.338 GB, free: 4.789 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.115e-05/0.4067, allocations: 15.92 kB / 1.338 GB, free: 4.773 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.4067, allocations: 0 / 1.338 GB, free: 4.773 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.4067, allocations: 0 / 1.338 GB, free: 4.773 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005472/0.4072, allocations: 420.7 kB / 1.339 GB, free: 4.348 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.238e-05/0.4073, allocations: 31.7 kB / 1.339 GB, free: 4.316 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.016e-05/0.4073, allocations: 11.94 kB / 1.339 GB, free: 4.305 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001215/0.4074, allocations: 15.98 kB / 1.339 GB, free: 4.289 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.702e-05/0.4075, allocations: 27.89 kB / 1.339 GB, free: 4.262 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-05/0.4075, allocations: 12 kB / 1.339 GB, free: 4.25 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002107/0.4077, allocations: 187.1 kB / 1.339 GB, free: 4.062 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4077, allocations: 0 / 1.339 GB, free: 4.062 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004339/0.4082, allocations: 88 kB / 1.339 GB, free: 3.977 MB / 1.029 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.001056/0.4092, allocations: 0.9679 MB / 1.34 GB, free: 2.98 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0009491/0.4102, allocations: 0.5961 MB / 1.341 GB, free: 2.336 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.4102, allocations: 0 / 1.341 GB, free: 2.336 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001931/0.4104, allocations: 136.4 kB / 1.341 GB, free: 2.203 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004612/0.4108, allocations: 66.41 kB / 1.341 GB, free: 2.141 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005166/0.416, allocations: 3.615 MB / 1.344 GB, free: 14.34 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000442/0.4164, allocations: 0.7649 MB / 1.345 GB, free: 13.55 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001938/0.4166, allocations: 66.91 kB / 1.345 GB, free: 13.48 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000141/0.4168, allocations: 99.41 kB / 1.345 GB, free: 13.39 MB / 1.045 GB Notification: Performance of SimCode: time 4.1e-07/0.4168, allocations: 0 / 1.345 GB, free: 13.39 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04358/0.4603, allocations: 8.169 MB / 1.353 GB, free: 5.418 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/12.11, allocations: 2.438 kB / 1.353 GB, free: 5.418 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.156508984975517]