Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001786/0.001786, 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.002422/0.002422, allocations: 212.4 kB / 22.24 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.621/1.621, allocations: 230.6 MB / 256 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.847/2.847, allocations: 476 MB / 0.7699 GB, free: 4.723 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.BooleanExtractSignal,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal,fileNamePrefix="Buildings_11_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.002134/0.002134, allocations: 64.27 kB / 1.117 GB, free: 41.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3834/0.3855, allocations: 170 MB / 1.283 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.002731/0.3882, allocations: 0.696 MB / 1.283 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002615/0.3908, allocations: 1.262 MB / 1.284 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.859e-05/0.3909, allocations: 4 kB / 1.284 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001319/0.3911, allocations: 11.86 kB / 1.284 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.577e-05/0.3911, allocations: 19.84 kB / 1.285 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001062/0.3922, allocations: 238.2 kB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005017/0.3927, allocations: 247.6 kB / 1.285 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002052/0.3929, allocations: 31.91 kB / 1.285 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000275/0.3932, allocations: 99.88 kB / 1.285 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002742/0.3935, allocations: 79.7 kB / 1.285 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.363e-05/0.3935, allocations: 20 kB / 1.285 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000157/0.3937, allocations: 35.98 kB / 1.285 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001104/0.3938, allocations: 35.91 kB / 1.285 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001546/0.394, allocations: 75.7 kB / 1.285 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005054/0.3945, allocations: 236.7 kB / 1.286 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.3945, allocations: 0 / 1.286 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.094e-06/0.3945, allocations: 0 / 1.286 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.147e-05/0.3945, allocations: 0 / 1.286 GB, free: 9.371 MB / 0.9825 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.0009626/0.3954, allocations: 441 kB / 1.286 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 6.01e-05/0.3955, allocations: 8.031 kB / 1.286 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.593e-05/0.3956, allocations: 46.73 kB / 1.286 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004701/0.396, allocations: 52.81 kB / 1.286 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007497/0.3968, allocations: 186.5 kB / 1.286 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.265e-05/0.3968, allocations: 16.36 kB / 1.286 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.709e-05/0.3969, allocations: 16.38 kB / 1.286 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003188/0.3972, allocations: 137.2 kB / 1.286 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/0.3972, allocations: 0 / 1.286 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.096e-05/0.3972, allocations: 8 kB / 1.286 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.3972, allocations: 4 kB / 1.286 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001255/0.3974, allocations: 51.91 kB / 1.286 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001017/0.3984, allocations: 0.6018 MB / 1.287 GB, free: 7.672 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001097/0.3985, allocations: 49.14 kB / 1.287 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.708e-05/0.3985, allocations: 17.78 kB / 1.287 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.458e-05/0.3986, allocations: 3.938 kB / 1.287 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002846/0.3988, allocations: 85.09 kB / 1.287 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 1.613e-06/0.3988, allocations: 3.938 kB / 1.287 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.0003586/0.3992, allocations: 105.6 kB / 1.287 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.04e-05/0.3993, allocations: 85.05 kB / 1.287 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002428/0.3995, allocations: 172.5 kB / 1.288 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.777e-05/0.3996, allocations: 33.7 kB / 1.288 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001334/0.3997, allocations: 120 kB / 1.288 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.943e-05/0.3997, allocations: 23.78 kB / 1.288 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001493/0.3999, allocations: 53.67 kB / 1.288 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001862/0.4001, allocations: 326.8 kB / 1.288 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002349/0.4003, allocations: 111.4 kB / 1.288 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003394/0.4006, allocations: 231.3 kB / 1.288 GB, free: 6.113 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003107/0.401, allocations: 174.1 kB / 1.289 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/0.401, allocations: 3.984 kB / 1.289 GB, free: 5.902 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0007313/0.4017, allocations: 336.2 kB / 1.289 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 8.576e-05/0.4018, allocations: 67.41 kB / 1.289 GB, free: 5.465 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.4018, allocations: 0 / 1.289 GB, free: 5.465 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.315e-05/0.4018, allocations: 4 kB / 1.289 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.66e-05/0.4018, allocations: 3.984 kB / 1.289 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.878e-06/0.4018, allocations: 7.984 kB / 1.289 GB, free: 5.449 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004392/0.4023, allocations: 55.88 kB / 1.289 GB, free: 5.395 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.4e-05/0.4023, allocations: 16.09 kB / 1.289 GB, free: 5.379 MB / 0.9825 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.0001943/0.4025, allocations: 141.8 kB / 1.289 GB, free: 5.23 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.985e-05/0.4025, allocations: 15.84 kB / 1.289 GB, free: 5.215 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.628e-05/0.4026, allocations: 12.34 kB / 1.289 GB, free: 5.199 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.4026, allocations: 4 kB / 1.289 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.4026, allocations: 0 / 1.289 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.4026, allocations: 0 / 1.289 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002477/0.4029, allocations: 184.6 kB / 1.289 GB, free: 4.973 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.4029, allocations: 0 / 1.289 GB, free: 4.973 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.217e-06/0.4029, allocations: 4.094 kB / 1.289 GB, free: 4.969 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.4029, allocations: 3.938 kB / 1.289 GB, free: 4.965 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.4029, allocations: 4 kB / 1.289 GB, free: 4.961 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.4029, allocations: 0 / 1.289 GB, free: 4.961 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.4029, allocations: 0 / 1.289 GB, free: 4.961 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002274/0.4031, allocations: 125.8 kB / 1.29 GB, free: 4.816 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.594e-05/0.4031, allocations: 11.91 kB / 1.29 GB, free: 4.805 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.34e-05/0.4032, allocations: 384 / 1.29 GB, free: 4.805 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.033e-05/0.4032, allocations: 8 kB / 1.29 GB, free: 4.797 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.402e-05/0.4033, allocations: 3.984 kB / 1.29 GB, free: 4.793 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.4033, allocations: 4 kB / 1.29 GB, free: 4.789 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001339/0.4034, allocations: 124.8 kB / 1.29 GB, free: 4.668 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4034, allocations: 0 / 1.29 GB, free: 4.668 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003968/0.4038, allocations: 35.92 kB / 1.29 GB, free: 4.633 MB / 0.9825 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.0006791/0.4045, allocations: 0.6677 MB / 1.29 GB, free: 3.934 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005076/0.405, allocations: 266.1 kB / 1.291 GB, free: 3.637 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.405, allocations: 4 kB / 1.291 GB, free: 3.633 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.467e-05/0.405, allocations: 16.44 kB / 1.291 GB, free: 3.617 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003458/0.4054, allocations: 25.7 kB / 1.291 GB, free: 3.594 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003259/0.4086, allocations: 2.169 MB / 1.293 GB, free: 1.223 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001321/0.4088, allocations: 101.8 kB / 1.293 GB, free: 1.105 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.765e-05/0.4088, allocations: 12.97 kB / 1.293 GB, free: 1.094 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.674e-05/0.4089, allocations: 39.42 kB / 1.293 GB, free: 1.055 MB / 0.9825 GB Notification: Performance of SimCode: time 5.11e-07/0.4089, allocations: 0 / 1.293 GB, free: 1.055 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03807/0.447, allocations: 4.243 MB / 1.297 GB, free: 13.01 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.77, allocations: 6.781 kB / 1.297 GB, free: 13 MB / 0.9981 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.946649057324976]