Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.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.001787/0.001787, 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.001877/0.001877, allocations: 213.6 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.527/1.527, allocations: 230.6 MB / 256 MB, free: 7.801 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.37/3.37, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 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.BooleanExtractSignal,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal",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.002091/0.002091, allocations: 66.09 kB / 1.186 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3903/0.3924, allocations: 181.9 MB / 1.363 GB, free: 14.12 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.002061/0.3944, allocations: 0.7 MB / 1.364 GB, free: 13.42 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001862/0.3963, allocations: 1.269 MB / 1.365 GB, free: 12.14 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.506e-05/0.3963, allocations: 4 kB / 1.365 GB, free: 12.14 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001097/0.3964, allocations: 7.875 kB / 1.365 GB, free: 12.13 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.276e-05/0.3965, allocations: 27.84 kB / 1.365 GB, free: 12.1 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007757/0.3973, allocations: 232.3 kB / 1.366 GB, free: 11.88 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003423/0.3976, allocations: 243.6 kB / 1.366 GB, free: 11.64 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000124/0.3977, allocations: 27.97 kB / 1.366 GB, free: 11.61 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001537/0.3979, allocations: 107.8 kB / 1.366 GB, free: 11.51 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001675/0.3981, allocations: 79.75 kB / 1.366 GB, free: 11.43 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.156e-05/0.3981, allocations: 20 kB / 1.366 GB, free: 11.41 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00011/0.3982, allocations: 32 kB / 1.366 GB, free: 11.38 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.687e-05/0.3983, allocations: 39.89 kB / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001221/0.3984, allocations: 75.7 kB / 1.366 GB, free: 11.27 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003296/0.3988, allocations: 239.1 kB / 1.366 GB, free: 11.03 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.3988, allocations: 7.984 kB / 1.366 GB, free: 11.02 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3988, allocations: 0 / 1.366 GB, free: 11.02 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.239e-06/0.3988, allocations: 0 / 1.366 GB, free: 11.02 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0006409/0.3994, allocations: 425.1 kB / 1.367 GB, free: 10.56 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.3995, allocations: 8.031 kB / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.499e-05/0.3995, allocations: 42.73 kB / 1.367 GB, free: 10.5 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000345/0.3998, allocations: 64.8 kB / 1.367 GB, free: 10.44 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005789/0.4004, allocations: 194.4 kB / 1.367 GB, free: 10.23 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.151e-05/0.4004, allocations: 8.375 kB / 1.367 GB, free: 10.22 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.131e-05/0.4005, allocations: 16.38 kB / 1.367 GB, free: 10.2 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002384/0.4007, allocations: 135.3 kB / 1.367 GB, free: 10.05 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.4007, allocations: 3.938 kB / 1.367 GB, free: 10.05 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.4007, allocations: 0 / 1.367 GB, free: 10.05 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/0.4008, allocations: 4 kB / 1.367 GB, free: 10.05 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.384e-05/0.4008, allocations: 51.97 kB / 1.367 GB, free: 9.996 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007738/0.4016, allocations: 0.6056 MB / 1.368 GB, free: 9.336 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 9.498e-05/0.4017, allocations: 45.16 kB / 1.368 GB, free: 9.273 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.695e-05/0.4017, allocations: 13.7 kB / 1.368 GB, free: 9.254 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.897e-05/0.4018, allocations: 8 kB / 1.368 GB, free: 9.246 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002732/0.402, allocations: 92.98 kB / 1.368 GB, free: 9.137 MB / 1.061 GB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.402, allocations: 0 / 1.368 GB, free: 9.137 MB / 1.061 GB Notification: Performance of matching and sorting (n=6): time 0.0002828/0.4023, allocations: 97.56 kB / 1.368 GB, free: 9.035 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.292e-05/0.4024, allocations: 85.11 kB / 1.368 GB, free: 8.934 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001998/0.4026, allocations: 181.3 kB / 1.368 GB, free: 8.746 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.604e-05/0.4026, allocations: 29.7 kB / 1.368 GB, free: 8.711 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001205/0.4028, allocations: 127.9 kB / 1.369 GB, free: 8.582 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.873e-05/0.4028, allocations: 15.89 kB / 1.369 GB, free: 8.566 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001226/0.4029, allocations: 61.62 kB / 1.369 GB, free: 8.5 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001842/0.4031, allocations: 322.8 kB / 1.369 GB, free: 8.176 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001758/0.4033, allocations: 115.4 kB / 1.369 GB, free: 8.051 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002618/0.4035, allocations: 231 kB / 1.369 GB, free: 7.773 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002334/0.4038, allocations: 178.2 kB / 1.369 GB, free: 7.562 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.4038, allocations: 0 / 1.369 GB, free: 7.562 MB / 1.061 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005403/0.4043, allocations: 336.5 kB / 1.37 GB, free: 7.203 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 6.785e-05/0.4044, allocations: 63.39 kB / 1.37 GB, free: 7.129 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.4044, allocations: 8.25 kB / 1.37 GB, free: 7.121 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.073e-05/0.4044, allocations: 4 kB / 1.37 GB, free: 7.117 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.671e-05/0.4044, allocations: 4 kB / 1.37 GB, free: 7.113 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.4044, allocations: 4 kB / 1.37 GB, free: 7.109 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000364/0.4048, allocations: 55.83 kB / 1.37 GB, free: 7.055 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.27e-05/0.4048, allocations: 15.98 kB / 1.37 GB, free: 7.039 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 10 (booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition4,booPul1.y,$PRE.booPul1.y,$whenCondition1,$whenCondition2,con.y,con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 2 * 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.0001859/0.405, allocations: 148.5 kB / 1.37 GB, free: 6.887 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.137e-05/0.405, allocations: 11.89 kB / 1.37 GB, free: 6.875 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.711e-05/0.4051, allocations: 16.33 kB / 1.37 GB, free: 6.848 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.4051, allocations: 0 / 1.37 GB, free: 6.848 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.4051, allocations: 4 kB / 1.37 GB, free: 6.844 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.4051, allocations: 0 / 1.37 GB, free: 6.844 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001948/0.4053, allocations: 176.6 kB / 1.37 GB, free: 6.629 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.195e-05/0.4053, allocations: 8 kB / 1.37 GB, free: 6.621 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.844e-06/0.4053, allocations: 0 / 1.37 GB, free: 6.621 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.4053, allocations: 0 / 1.37 GB, free: 6.621 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.4054, allocations: 4 kB / 1.37 GB, free: 6.617 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.4054, allocations: 4 kB / 1.37 GB, free: 6.613 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.4054, allocations: 3.984 kB / 1.37 GB, free: 6.609 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001674/0.4055, allocations: 117.8 kB / 1.37 GB, free: 6.473 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.292e-05/0.4056, allocations: 19.88 kB / 1.37 GB, free: 6.453 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.662e-05/0.4056, allocations: 0 / 1.37 GB, free: 6.453 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.272e-05/0.4056, allocations: 0 / 1.37 GB, free: 6.453 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.691e-05/0.4056, allocations: 7.984 kB / 1.37 GB, free: 6.445 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.4056, allocations: 4 kB / 1.37 GB, free: 6.441 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001137/0.4058, allocations: 115.9 kB / 1.371 GB, free: 6.328 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.4058, allocations: 0 / 1.371 GB, free: 6.328 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002702/0.406, allocations: 40.05 kB / 1.371 GB, free: 6.289 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,booPul.y,$whenCondition1,$whenCondition2,booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0005571/0.4066, allocations: 0.6677 MB / 1.371 GB, free: 5.59 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004007/0.407, allocations: 266.1 kB / 1.371 GB, free: 5.293 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.407, allocations: 0 / 1.371 GB, free: 5.293 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 5.203e-05/0.407, allocations: 23.92 kB / 1.371 GB, free: 5.27 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002521/0.4073, allocations: 16.48 kB / 1.372 GB, free: 5.254 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002696/0.41, allocations: 2.18 MB / 1.374 GB, free: 2.879 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001116/0.4101, allocations: 93.77 kB / 1.374 GB, free: 2.77 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 5.2e-05/0.4101, allocations: 13.16 kB / 1.374 GB, free: 2.754 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.053e-05/0.4102, allocations: 43.41 kB / 1.374 GB, free: 2.711 MB / 1.061 GB Notification: Performance of SimCode: time 5.41e-07/0.4102, allocations: 8 kB / 1.374 GB, free: 2.703 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03665/0.4469, allocations: 4.238 MB / 1.378 GB, free: 14.65 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.84, allocations: 6.125 kB / 1.378 GB, free: 14.65 MB / 1.076 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.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: 18.873483748175204]