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.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.001835/0.001835, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002334/0.002334, allocations: 216.7 kB / 22.25 MB, free: 4.855 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.518/1.518, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.354/3.354, allocations: 0.5107 GB / 0.8158 GB, free: 17.83 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor,fileNamePrefix="Buildings_latest_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.002197/0.002197, allocations: 71.33 kB / 1.186 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3682/0.3704, allocations: 181.9 MB / 1.363 GB, free: 14.1 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor): time 0.002443/0.3728, allocations: 1.006 MB / 1.364 GB, free: 13.09 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002346/0.3751, allocations: 1.468 MB / 1.366 GB, free: 11.61 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001156/0.3753, allocations: 7.938 kB / 1.366 GB, free: 11.61 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001438/0.3754, allocations: 31.61 kB / 1.366 GB, free: 11.57 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001142/0.3755, allocations: 47.64 kB / 1.366 GB, free: 11.53 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001225/0.3767, allocations: 470 kB / 1.366 GB, free: 11.08 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0005894/0.3773, allocations: 0.5036 MB / 1.367 GB, free: 10.57 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002384/0.3776, allocations: 84.16 kB / 1.367 GB, free: 10.48 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002233/0.3778, allocations: 207.6 kB / 1.367 GB, free: 10.28 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002669/0.3781, allocations: 163.4 kB / 1.367 GB, free: 10.12 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 9.333e-05/0.3782, allocations: 52 kB / 1.367 GB, free: 10.07 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001321/0.3783, allocations: 67.98 kB / 1.367 GB, free: 10 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 9.311e-05/0.3784, allocations: 63.77 kB / 1.367 GB, free: 9.941 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002155/0.3786, allocations: 171.4 kB / 1.368 GB, free: 9.773 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005954/0.3792, allocations: 0.5294 MB / 1.368 GB, free: 9.242 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3792, allocations: 0 / 1.368 GB, free: 9.242 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3792, allocations: 0 / 1.368 GB, free: 9.242 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.914e-06/0.3792, allocations: 0 / 1.368 GB, free: 9.242 MB / 1.061 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.0009489/0.3802, allocations: 0.6251 MB / 1.369 GB, free: 8.555 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.3802, allocations: 8.031 kB / 1.369 GB, free: 8.547 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.658e-05/0.3803, allocations: 54.73 kB / 1.369 GB, free: 8.484 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000105/0.3804, allocations: 40.75 kB / 1.369 GB, free: 8.445 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009491/0.3813, allocations: 290.5 kB / 1.369 GB, free: 8.137 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.873e-05/0.3814, allocations: 28.69 kB / 1.369 GB, free: 8.109 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.595e-05/0.3814, allocations: 28.38 kB / 1.369 GB, free: 8.082 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004682/0.3819, allocations: 369.3 kB / 1.37 GB, free: 7.684 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/0.3819, allocations: 0 / 1.37 GB, free: 7.684 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.54e-05/0.3819, allocations: 12 kB / 1.37 GB, free: 7.672 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.208e-05/0.3819, allocations: 4 kB / 1.37 GB, free: 7.668 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002288/0.3822, allocations: 143.3 kB / 1.37 GB, free: 7.531 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001301/0.3835, allocations: 0.6593 MB / 1.37 GB, free: 6.824 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003089/0.3838, allocations: 166.5 kB / 1.37 GB, free: 6.652 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003151/0.3841, allocations: 194.5 kB / 1.371 GB, free: 6.461 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.52e-05/0.3841, allocations: 4 kB / 1.371 GB, free: 6.457 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004365/0.3846, allocations: 355 kB / 1.371 GB, free: 6.062 MB / 1.061 GB Notification: Performance of pre-optimization done (n=28): time 1.443e-06/0.3846, allocations: 0 / 1.371 GB, free: 6.062 MB / 1.061 GB Notification: Performance of matching and sorting (n=28): time 0.0007514/0.3853, allocations: 423.2 kB / 1.371 GB, free: 5.645 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000101/0.3854, allocations: 110.8 kB / 1.372 GB, free: 5.512 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003313/0.3857, allocations: 293.5 kB / 1.372 GB, free: 5.219 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.395e-05/0.3858, allocations: 41.7 kB / 1.372 GB, free: 5.172 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001705/0.386, allocations: 168.7 kB / 1.372 GB, free: 5.004 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.982e-05/0.386, allocations: 59.58 kB / 1.372 GB, free: 4.945 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002495/0.3863, allocations: 141.5 kB / 1.372 GB, free: 4.801 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000209/0.3865, allocations: 346.7 kB / 1.373 GB, free: 4.453 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004729/0.387, allocations: 327.5 kB / 1.373 GB, free: 4.105 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006145/0.3876, allocations: 494.2 kB / 1.373 GB, free: 3.539 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006995/0.3883, allocations: 0.5233 MB / 1.374 GB, free: 2.945 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.3883, allocations: 0 / 1.374 GB, free: 2.945 MB / 1.061 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001281/0.3896, allocations: 0.853 MB / 1.375 GB, free: 2.039 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001062/0.3897, allocations: 126.8 kB / 1.375 GB, free: 1.891 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.759e-06/0.3897, allocations: 4 kB / 1.375 GB, free: 1.887 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.697e-05/0.3897, allocations: 8 kB / 1.375 GB, free: 1.879 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.351e-05/0.3898, allocations: 19.92 kB / 1.375 GB, free: 1.859 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.855e-05/0.3898, allocations: 11.92 kB / 1.375 GB, free: 1.848 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006674/0.3905, allocations: 135.5 kB / 1.375 GB, free: 1.715 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001139/0.3906, allocations: 67.86 kB / 1.375 GB, free: 1.648 MB / 1.061 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.0002341/0.3908, allocations: 189.8 kB / 1.375 GB, free: 1.457 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.381e-05/0.3909, allocations: 27.81 kB / 1.375 GB, free: 1.43 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000564/0.3914, allocations: 360.3 kB / 1.376 GB, free: 1.074 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.675e-06/0.3914, allocations: 4 kB / 1.376 GB, free: 1.07 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.07e-05/0.3915, allocations: 7.984 kB / 1.376 GB, free: 1.062 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.3915, allocations: 0 / 1.376 GB, free: 1.062 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009632/0.3924, allocations: 0.6623 MB / 1.376 GB, free: 360 kB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3924, allocations: 4 kB / 1.376 GB, free: 356 kB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.92e-05/0.3925, allocations: 15.94 kB / 1.376 GB, free: 340 kB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.3925, allocations: 0 / 1.376 GB, free: 340 kB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.409e-05/0.3925, allocations: 15.92 kB / 1.376 GB, free: 324 kB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.3925, allocations: 0 / 1.376 GB, free: 324 kB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.3925, allocations: 0 / 1.376 GB, free: 324 kB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005331/0.3931, allocations: 428.9 kB / 1.377 GB, free: 15.88 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 4.488e-05/0.3931, allocations: 27.81 kB / 1.377 GB, free: 15.85 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.136e-05/0.3931, allocations: 15.86 kB / 1.377 GB, free: 15.84 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001177/0.3933, allocations: 8 kB / 1.377 GB, free: 15.83 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.04e-05/0.3933, allocations: 27.89 kB / 1.377 GB, free: 15.8 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.992e-05/0.3933, allocations: 19.94 kB / 1.377 GB, free: 15.78 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001965/0.3935, allocations: 191.1 kB / 1.377 GB, free: 15.59 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.3935, allocations: 0 / 1.377 GB, free: 15.59 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003914/0.3939, allocations: 83.98 kB / 1.377 GB, free: 15.51 MB / 1.076 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.0009356/0.3949, allocations: 0.9602 MB / 1.378 GB, free: 14.52 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.000979/0.3958, allocations: 0.731 MB / 1.379 GB, free: 13.72 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.88e-06/0.3959, allocations: 4 kB / 1.379 GB, free: 13.71 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.000189/0.396, allocations: 123.8 kB / 1.379 GB, free: 13.59 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004539/0.3965, allocations: 65.3 kB / 1.379 GB, free: 13.53 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005197/0.4017, allocations: 4.112 MB / 1.383 GB, free: 9.137 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001733/0.4019, allocations: 156.2 kB / 1.383 GB, free: 8.961 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001864/0.4021, allocations: 66.92 kB / 1.383 GB, free: 8.898 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001454/0.4022, allocations: 103.4 kB / 1.383 GB, free: 8.797 MB / 1.076 GB Notification: Performance of SimCode: time 6.62e-07/0.4022, allocations: 0 / 1.383 GB, free: 8.797 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04081/0.443, allocations: 8.978 MB / 1.392 GB, free: 72 kB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/12.04, allocations: 5.719 kB / 1.392 GB, free: 68 kB / 1.076 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe 2>&1) [Timeout 840.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.134463279973716]