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.001369/0.001369, allocations: 101.3 kB / 16.45 MB, free: 6.5 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.001586/0.001586, allocations: 210.4 kB / 19.43 MB, free: 3.656 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.485/1.485, allocations: 230.6 MB / 252.8 MB, free: 8.953 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.332/3.332, allocations: 0.49 GB / 0.7916 GB, free: 33.55 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.002107/0.002107, allocations: 71.5 kB / 1.149 GB, free: 26.37 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3712/0.3733, allocations: 176.1 MB / 1.321 GB, free: 3.332 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor): time 0.002902/0.3762, allocations: 1.03 MB / 1.322 GB, free: 2.301 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00249/0.3787, allocations: 1.49 MB / 1.323 GB, free: 0.7969 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001607/0.3789, allocations: 4 kB / 1.323 GB, free: 0.793 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.000145/0.379, allocations: 27.66 kB / 1.323 GB, free: 0.7656 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001341/0.3791, allocations: 43.59 kB / 1.323 GB, free: 0.7227 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001216/0.3804, allocations: 475.7 kB / 1.324 GB, free: 276 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000722/0.3811, allocations: 0.5036 MB / 1.324 GB, free: 15.76 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002969/0.3814, allocations: 103.6 kB / 1.324 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000314/0.3817, allocations: 215.5 kB / 1.325 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004433/0.3821, allocations: 187.4 kB / 1.325 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001285/0.3823, allocations: 48 kB / 1.325 GB, free: 15.22 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001481/0.3824, allocations: 63.98 kB / 1.325 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.614e-05/0.3825, allocations: 67.77 kB / 1.325 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003317/0.3828, allocations: 191.2 kB / 1.325 GB, free: 14.9 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007085/0.3835, allocations: 0.5138 MB / 1.326 GB, free: 14.39 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.3836, allocations: 0 / 1.326 GB, free: 14.39 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3836, allocations: 4 kB / 1.326 GB, free: 14.38 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.665e-05/0.3836, allocations: 4 kB / 1.326 GB, free: 14.38 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.001173/0.3847, allocations: 0.6965 MB / 1.326 GB, free: 13.6 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.3848, allocations: 11.98 kB / 1.326 GB, free: 13.59 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.612e-05/0.3849, allocations: 58.73 kB / 1.326 GB, free: 13.52 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001269/0.385, allocations: 40.75 kB / 1.326 GB, free: 13.48 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009853/0.386, allocations: 376.1 kB / 1.327 GB, free: 13.08 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.394e-05/0.386, allocations: 24.75 kB / 1.327 GB, free: 13.05 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.213e-05/0.3861, allocations: 32.31 kB / 1.327 GB, free: 13.02 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003981/0.3865, allocations: 232.9 kB / 1.327 GB, free: 12.79 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.3865, allocations: 3.984 kB / 1.327 GB, free: 12.79 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.489e-05/0.3865, allocations: 12 kB / 1.327 GB, free: 12.77 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.3865, allocations: 4 kB / 1.327 GB, free: 12.77 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002512/0.3868, allocations: 139.3 kB / 1.327 GB, free: 12.64 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001383/0.3882, allocations: 0.7655 MB / 1.328 GB, free: 11.82 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000282/0.3884, allocations: 170.5 kB / 1.328 GB, free: 11.64 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002902/0.3887, allocations: 200.8 kB / 1.328 GB, free: 11.44 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.815e-05/0.3888, allocations: 3.938 kB / 1.328 GB, free: 11.44 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003564/0.3891, allocations: 244.2 kB / 1.329 GB, free: 11.18 MB / 1.029 GB Notification: Performance of pre-optimization done (n=28): time 1.432e-06/0.3891, allocations: 0 / 1.329 GB, free: 11.18 MB / 1.029 GB Notification: Performance of matching and sorting (n=28): time 0.000829/0.3899, allocations: 423.2 kB / 1.329 GB, free: 10.76 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.936e-05/0.39, allocations: 106.8 kB / 1.329 GB, free: 10.63 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003075/0.3903, allocations: 290.5 kB / 1.329 GB, free: 10.34 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.001e-05/0.3904, allocations: 41.7 kB / 1.329 GB, free: 10.29 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001592/0.3906, allocations: 168.7 kB / 1.33 GB, free: 10.12 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.019e-05/0.3906, allocations: 63.58 kB / 1.33 GB, free: 10.05 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002573/0.3909, allocations: 141.6 kB / 1.33 GB, free: 9.91 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001627/0.391, allocations: 342.8 kB / 1.33 GB, free: 9.566 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003812/0.3914, allocations: 200.7 kB / 1.33 GB, free: 9.371 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004847/0.3919, allocations: 319.7 kB / 1.331 GB, free: 9.008 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008666/0.3928, allocations: 0.5271 MB / 1.331 GB, free: 8.41 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.3928, allocations: 0 / 1.331 GB, free: 8.41 MB / 1.029 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001263/0.394, allocations: 0.7329 MB / 1.332 GB, free: 7.648 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001052/0.3941, allocations: 122.8 kB / 1.332 GB, free: 7.504 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.3941, allocations: 4 kB / 1.332 GB, free: 7.5 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.101e-05/0.3942, allocations: 8 kB / 1.332 GB, free: 7.492 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.3943, allocations: 27.86 kB / 1.332 GB, free: 7.465 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.362e-05/0.3943, allocations: 7.984 kB / 1.332 GB, free: 7.457 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007035/0.395, allocations: 131.7 kB / 1.332 GB, free: 7.328 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001226/0.3951, allocations: 67.86 kB / 1.332 GB, free: 7.262 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.0002761/0.3954, allocations: 189.7 kB / 1.332 GB, free: 7.07 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.019e-05/0.3954, allocations: 27.81 kB / 1.332 GB, free: 7.043 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006086/0.396, allocations: 356.3 kB / 1.333 GB, free: 6.691 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.3961, allocations: 4 kB / 1.333 GB, free: 6.688 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.3961, allocations: 0 / 1.333 GB, free: 6.688 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.3961, allocations: 7.969 kB / 1.333 GB, free: 6.68 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009657/0.397, allocations: 0.7222 MB / 1.333 GB, free: 5.902 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.397, allocations: 0 / 1.333 GB, free: 5.902 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.007e-05/0.3971, allocations: 20 kB / 1.333 GB, free: 5.883 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.062e-06/0.3971, allocations: 4 kB / 1.333 GB, free: 5.879 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.105e-05/0.3971, allocations: 11.92 kB / 1.333 GB, free: 5.867 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.3971, allocations: 4 kB / 1.333 GB, free: 5.863 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.3971, allocations: 0 / 1.333 GB, free: 5.863 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005104/0.3976, allocations: 416.3 kB / 1.334 GB, free: 5.441 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002042/0.3979, allocations: 108.8 kB / 1.334 GB, free: 5.316 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.749e-05/0.3979, allocations: 11.92 kB / 1.334 GB, free: 5.305 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000119/0.398, allocations: 8 kB / 1.334 GB, free: 5.297 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.836e-05/0.3981, allocations: 23.97 kB / 1.334 GB, free: 5.273 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.132e-05/0.3981, allocations: 19.92 kB / 1.334 GB, free: 5.254 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002031/0.3983, allocations: 186 kB / 1.334 GB, free: 5.07 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3983, allocations: 0 / 1.334 GB, free: 5.07 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004162/0.3987, allocations: 88 kB / 1.334 GB, free: 4.984 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.001049/0.3998, allocations: 0.9726 MB / 1.335 GB, free: 3.984 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001013/0.4008, allocations: 0.6028 MB / 1.336 GB, free: 3.332 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.4008, allocations: 0 / 1.336 GB, free: 3.332 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001948/0.401, allocations: 123.8 kB / 1.336 GB, free: 3.211 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004595/0.4014, allocations: 70.84 kB / 1.336 GB, free: 3.145 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005511/0.4069, allocations: 3.609 MB / 1.34 GB, free: 15.36 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005916/0.4075, allocations: 0.7648 MB / 1.34 GB, free: 14.56 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001697/0.4077, allocations: 66.92 kB / 1.34 GB, free: 14.5 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000168/0.4079, allocations: 103.4 kB / 1.34 GB, free: 14.4 MB / 1.045 GB Notification: Performance of SimCode: time 5.21e-07/0.4079, allocations: 0 / 1.34 GB, free: 14.4 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03763/0.4455, allocations: 7.84 MB / 1.348 GB, free: 6.73 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.608/9.053, allocations: 7.984 kB / 1.348 GB, free: 6.723 MB / 1.045 GB " [Timeout remaining time 291] (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: 15.953438937896863]