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.00134/0.00134, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001493/0.001493, allocations: 209.1 kB / 22.24 MB, free: 5.262 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.459/1.459, allocations: 230.6 MB / 256 MB, free: 7.82 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.237/3.237, allocations: 0.4893 GB / 0.7944 GB, free: 35.68 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.002231/0.002231, allocations: 70.45 kB / 1.153 GB, free: 25.81 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3654/0.3677, allocations: 176.1 MB / 1.325 GB, free: 2.41 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor): time 0.002474/0.3701, allocations: 0.9973 MB / 1.326 GB, free: 1.418 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002263/0.3724, allocations: 1.475 MB / 1.327 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001103/0.3725, allocations: 4 kB / 1.327 GB, free: 15.92 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000143/0.3726, allocations: 27.67 kB / 1.328 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001148/0.3728, allocations: 51.58 kB / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001208/0.374, allocations: 464.2 kB / 1.328 GB, free: 15.4 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005994/0.3746, allocations: 0.5075 MB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002395/0.3748, allocations: 84.16 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002409/0.3751, allocations: 215.4 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002844/0.3753, allocations: 167.3 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.878e-05/0.3754, allocations: 48 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001361/0.3756, allocations: 60 kB / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001567/0.3757, allocations: 75.69 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002052/0.3759, allocations: 167.5 kB / 1.329 GB, free: 14.09 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006637/0.3766, allocations: 0.5137 MB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3766, allocations: 4 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.214e-06/0.3766, allocations: 0 / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.304e-06/0.3766, allocations: 4 kB / 1.33 GB, free: 13.57 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.0009496/0.3775, allocations: 0.6262 MB / 1.33 GB, free: 12.88 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.3776, allocations: 12.03 kB / 1.33 GB, free: 12.87 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.329e-05/0.3777, allocations: 58.72 kB / 1.33 GB, free: 12.8 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001034/0.3778, allocations: 40.75 kB / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009382/0.3787, allocations: 287.2 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.537e-05/0.3787, allocations: 24.69 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.757e-05/0.3788, allocations: 36.36 kB / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004941/0.3793, allocations: 365.1 kB / 1.331 GB, free: 12 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.3793, allocations: 0 / 1.331 GB, free: 12 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.524e-05/0.3793, allocations: 12 kB / 1.331 GB, free: 11.99 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.3793, allocations: 4 kB / 1.331 GB, free: 11.99 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000243/0.3796, allocations: 139.3 kB / 1.331 GB, free: 11.86 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001303/0.3809, allocations: 0.6593 MB / 1.332 GB, free: 11.15 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002918/0.3812, allocations: 174.4 kB / 1.332 GB, free: 10.97 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002908/0.3815, allocations: 200.8 kB / 1.332 GB, free: 10.77 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.606e-05/0.3815, allocations: 4 kB / 1.332 GB, free: 10.77 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004115/0.3819, allocations: 351 kB / 1.333 GB, free: 10.38 MB / 1.029 GB Notification: Performance of pre-optimization done (n=28): time 1.603e-06/0.3819, allocations: 0 / 1.333 GB, free: 10.38 MB / 1.029 GB Notification: Performance of matching and sorting (n=28): time 0.0007405/0.3826, allocations: 427.2 kB / 1.333 GB, free: 9.953 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.2e-05/0.3827, allocations: 114.8 kB / 1.333 GB, free: 9.816 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003389/0.3831, allocations: 293.6 kB / 1.333 GB, free: 9.52 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.754e-05/0.3831, allocations: 37.7 kB / 1.334 GB, free: 9.477 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001563/0.3833, allocations: 156.9 kB / 1.334 GB, free: 9.32 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.795e-05/0.3833, allocations: 59.53 kB / 1.334 GB, free: 9.262 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002339/0.3836, allocations: 141.6 kB / 1.334 GB, free: 9.117 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001801/0.3838, allocations: 342.8 kB / 1.334 GB, free: 8.773 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004753/0.3842, allocations: 323.5 kB / 1.334 GB, free: 8.434 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006002/0.3848, allocations: 498.1 kB / 1.335 GB, free: 7.859 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007271/0.3856, allocations: 0.531 MB / 1.335 GB, free: 7.258 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.3856, allocations: 4 kB / 1.335 GB, free: 7.254 MB / 1.029 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001311/0.3869, allocations: 0.8531 MB / 1.336 GB, free: 6.348 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001076/0.387, allocations: 126.8 kB / 1.336 GB, free: 6.199 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-06/0.387, allocations: 7.938 kB / 1.336 GB, free: 6.191 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.038e-05/0.387, allocations: 4.406 kB / 1.336 GB, free: 6.188 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001109/0.3871, allocations: 31.86 kB / 1.336 GB, free: 6.156 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.828e-06/0.3871, allocations: 4 kB / 1.336 GB, free: 6.152 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006859/0.3878, allocations: 131.5 kB / 1.337 GB, free: 6.023 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001196/0.3879, allocations: 71.86 kB / 1.337 GB, free: 5.953 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.0002632/0.3882, allocations: 185.7 kB / 1.337 GB, free: 5.766 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.201e-05/0.3883, allocations: 27.84 kB / 1.337 GB, free: 5.738 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006245/0.3889, allocations: 360.6 kB / 1.337 GB, free: 5.383 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.3889, allocations: 7.984 kB / 1.337 GB, free: 5.375 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.3889, allocations: 0 / 1.337 GB, free: 5.375 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.3889, allocations: 4 kB / 1.337 GB, free: 5.371 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001084/0.39, allocations: 0.6656 MB / 1.338 GB, free: 4.656 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.39, allocations: 4 kB / 1.338 GB, free: 4.652 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.162e-05/0.3901, allocations: 11.98 kB / 1.338 GB, free: 4.641 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.3901, allocations: 4 kB / 1.338 GB, free: 4.637 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.197e-05/0.3901, allocations: 15.94 kB / 1.338 GB, free: 4.621 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.3901, allocations: 0 / 1.338 GB, free: 4.621 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3901, allocations: 0 / 1.338 GB, free: 4.621 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00058/0.3907, allocations: 424.7 kB / 1.338 GB, free: 4.191 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.865e-05/0.3907, allocations: 27.8 kB / 1.338 GB, free: 4.164 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.374e-05/0.3908, allocations: 15.88 kB / 1.338 GB, free: 4.148 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000135/0.3909, allocations: 11.98 kB / 1.338 GB, free: 4.137 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.316e-05/0.391, allocations: 19.97 kB / 1.338 GB, free: 4.117 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.568e-05/0.391, allocations: 19.98 kB / 1.338 GB, free: 4.098 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000219/0.3912, allocations: 187.1 kB / 1.339 GB, free: 3.91 MB / 1.029 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3912, allocations: 0 / 1.339 GB, free: 3.91 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000476/0.3917, allocations: 91.95 kB / 1.339 GB, free: 3.82 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.0009826/0.3927, allocations: 0.9602 MB / 1.34 GB, free: 2.832 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001092/0.3938, allocations: 0.7237 MB / 1.34 GB, free: 2.035 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/0.3938, allocations: 8.125 kB / 1.34 GB, free: 2.027 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002122/0.394, allocations: 132.3 kB / 1.34 GB, free: 1.898 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005053/0.3945, allocations: 64.55 kB / 1.341 GB, free: 1.836 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005666/0.4002, allocations: 4.119 MB / 1.345 GB, free: 13.43 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001775/0.4003, allocations: 152.2 kB / 1.345 GB, free: 13.26 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001897/0.4005, allocations: 66.91 kB / 1.345 GB, free: 13.2 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000161/0.4007, allocations: 99.41 kB / 1.345 GB, free: 13.1 MB / 1.045 GB Notification: Performance of SimCode: time 1.002e-06/0.4007, allocations: 0 / 1.345 GB, free: 13.1 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03987/0.4406, allocations: 8.974 MB / 1.354 GB, free: 4.395 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.84/12.28, allocations: 6.234 kB / 1.354 GB, free: 4.391 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.048608186654747]