Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 107.8 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.6/1.6, allocations: 225.6 MB / 247.8 MB, free: 3.734 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.697/2.697, allocations: 443.5 MB / 0.7287 GB, free: 14.5 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00196/0.00196, allocations: 67.89 kB / 1.056 GB, free: 2.453 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3912/0.3932, allocations: 160.7 MB / 1.213 GB, free: 1.434 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002783/0.396, allocations: 1.364 MB / 1.214 GB, free: 56 kB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.00238/0.3984, allocations: 1.553 MB / 1.216 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001287/0.3985, allocations: 4 kB / 1.216 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001671/0.3987, allocations: 35.53 kB / 1.216 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001535/0.3988, allocations: 79.44 kB / 1.216 GB, free: 14.37 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001231/0.4, allocations: 0.4901 MB / 1.216 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0007081/0.4007, allocations: 0.6481 MB / 1.217 GB, free: 13.24 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002976/0.401, allocations: 140.9 kB / 1.217 GB, free: 13.1 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002983/0.4013, allocations: 251.4 kB / 1.217 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000364/0.4017, allocations: 251 kB / 1.218 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.712e-05/0.4018, allocations: 64 kB / 1.218 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001443/0.4019, allocations: 79.98 kB / 1.218 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.961e-05/0.402, allocations: 75.7 kB / 1.218 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002658/0.4023, allocations: 258.9 kB / 1.218 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0007584/0.4031, allocations: 0.6773 MB / 1.219 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.4031, allocations: 4 kB / 1.219 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.483e-06/0.4031, allocations: 0 / 1.219 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.514e-06/0.4031, allocations: 0 / 1.219 GB, free: 11.46 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001349/0.4044, allocations: 0.9502 MB / 1.22 GB, free: 10.4 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.4045, allocations: 15.97 kB / 1.22 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.13e-05/0.4046, allocations: 66.72 kB / 1.22 GB, free: 10.31 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001159/0.4047, allocations: 52.66 kB / 1.22 GB, free: 10.26 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001291/0.406, allocations: 472.1 kB / 1.22 GB, free: 9.758 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.176e-05/0.406, allocations: 24.94 kB / 1.22 GB, free: 9.734 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.353e-05/0.4061, allocations: 48.34 kB / 1.22 GB, free: 9.688 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006472/0.4067, allocations: 321.1 kB / 1.221 GB, free: 9.371 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.4068, allocations: 4 kB / 1.221 GB, free: 9.367 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.673e-05/0.4068, allocations: 8 kB / 1.221 GB, free: 9.359 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-06/0.4068, allocations: 8 kB / 1.221 GB, free: 9.352 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006159/0.4074, allocations: 262 kB / 1.221 GB, free: 9.09 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001723/0.4091, allocations: 0.9044 MB / 1.222 GB, free: 8.137 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006571/0.4098, allocations: 352.5 kB / 1.222 GB, free: 7.785 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004807/0.4103, allocations: 268.5 kB / 1.222 GB, free: 7.52 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.115e-05/0.4103, allocations: 4 kB / 1.222 GB, free: 7.516 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005855/0.4109, allocations: 330.9 kB / 1.223 GB, free: 7.18 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=44): time 2.324e-06/0.4109, allocations: 0 / 1.223 GB, free: 7.18 MB / 0.9669 GB Notification: Performance of matching and sorting (n=44): time 0.001597/0.4125, allocations: 0.8306 MB / 1.223 GB, free: 6.312 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001291/0.4126, allocations: 191.9 kB / 1.224 GB, free: 6.082 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003168/0.4129, allocations: 292.5 kB / 1.224 GB, free: 5.793 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 7.218e-05/0.413, allocations: 41.7 kB / 1.224 GB, free: 5.746 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001599/0.4132, allocations: 165 kB / 1.224 GB, free: 5.582 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001211/0.4133, allocations: 142.8 kB / 1.224 GB, free: 5.441 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002227/0.4135, allocations: 134.1 kB / 1.224 GB, free: 5.305 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001756/0.4137, allocations: 350.8 kB / 1.225 GB, free: 4.953 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005994/0.4143, allocations: 272.8 kB / 1.225 GB, free: 4.688 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006584/0.4149, allocations: 365.8 kB / 1.225 GB, free: 4.293 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001248/0.4162, allocations: 0.9128 MB / 1.226 GB, free: 3.262 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.4162, allocations: 0 / 1.226 GB, free: 3.262 MB / 0.9669 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001692/0.4179, allocations: 0.998 MB / 1.227 GB, free: 2.207 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001827/0.4181, allocations: 255.3 kB / 1.227 GB, free: 1.902 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/0.4181, allocations: 4 kB / 1.227 GB, free: 1.898 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.143e-05/0.4181, allocations: 4 kB / 1.227 GB, free: 1.895 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002735/0.4184, allocations: 71.83 kB / 1.228 GB, free: 1.824 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/0.4184, allocations: 4 kB / 1.228 GB, free: 1.82 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006707/0.419, allocations: 147.6 kB / 1.228 GB, free: 1.676 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001191/0.4192, allocations: 71.86 kB / 1.228 GB, free: 1.605 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,intPul1.booPul.y,$PRE.intPul1.booPul.y,intPul1.y,intPul.booPul.y,$PRE.intPul.booPul.y,intPul.y,pul1.booPul.y,$PRE.pul1.booPul.y,pul.booPul.y,$PRE.pul.booPul.y,conInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 9 * 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.0003207/0.4195, allocations: 318.2 kB / 1.228 GB, free: 1.254 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.873e-05/0.4195, allocations: 39.77 kB / 1.228 GB, free: 1.215 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.898e-05/0.4196, allocations: 39.48 kB / 1.228 GB, free: 1.168 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.4196, allocations: 4 kB / 1.228 GB, free: 1.164 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.4196, allocations: 0 / 1.228 GB, free: 1.164 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.4197, allocations: 3.984 kB / 1.228 GB, free: 1.16 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001889/0.4215, allocations: 1.199 MB / 1.229 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.4215, allocations: 0 / 1.229 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002405/0.4218, allocations: 71.89 kB / 1.229 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.681e-06/0.4218, allocations: 3.984 kB / 1.229 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.043e-05/0.4218, allocations: 12 kB / 1.229 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.022e-06/0.4218, allocations: 7.922 kB / 1.229 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.4218, allocations: 0 / 1.229 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001156/0.423, allocations: 0.7667 MB / 1.23 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.006e-05/0.4231, allocations: 112.8 kB / 1.23 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.595e-05/0.4231, allocations: 15.88 kB / 1.23 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002117/0.4233, allocations: 35.91 kB / 1.23 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.751e-05/0.4234, allocations: 35.95 kB / 1.23 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.618e-05/0.4235, allocations: 51.94 kB / 1.23 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002115/0.4237, allocations: 195.1 kB / 1.231 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4237, allocations: 0 / 1.231 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004382/0.4242, allocations: 115.9 kB / 1.231 GB, free: 14.39 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pul.booPul.y,pul1.booPul.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 (44): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 5 * 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.00158/0.4257, allocations: 1.318 MB / 1.232 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001611/0.4273, allocations: 1.035 MB / 1.233 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.4273, allocations: 0 / 1.233 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0006751/0.428, allocations: 0.4967 MB / 1.233 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005891/0.4286, allocations: 91.03 kB / 1.234 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007361/0.436, allocations: 4.657 MB / 1.238 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004697/0.4364, allocations: 0.7963 MB / 1.239 GB, free: 5.562 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002771/0.4367, allocations: 95.19 kB / 1.239 GB, free: 5.465 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001617/0.4369, allocations: 111.4 kB / 1.239 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of SimCode: time 9.42e-07/0.4369, allocations: 0 / 1.239 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0388/0.4757, allocations: 9.872 MB / 1.249 GB, free: 11.67 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.729/9.205, allocations: 9.859 kB / 1.249 GB, free: 11.66 MB / 0.9981 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.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: 16.024603785015643]