Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.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.0008654/0.0008654, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008817/0.0008817, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9097/0.9097, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.669/1.669, allocations: 359 MB / 0.6037 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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.RealExtractor,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.405e-06/2.405e-06, allocations: 0 / 0.9505 GB, free: 3.508 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.008e-05/2.248e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.504 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.001781/0.001803, allocations: 1.243 MB / 0.9517 GB, free: 2.254 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.00166/0.003464, allocations: 1.579 MB / 0.9533 GB, free: 0.6602 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.827e-05/0.003562, allocations: 4 kB / 0.9533 GB, free: 0.6562 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0001263/0.003688, allocations: 35.53 kB / 0.9533 GB, free: 0.6211 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0001065/0.003795, allocations: 79.38 kB / 0.9534 GB, free: 0.543 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007944/0.004589, allocations: 0.4983 MB / 0.9539 GB, free: 56 kB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0004678/0.005057, allocations: 0.6559 MB / 0.9545 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002447/0.005302, allocations: 109.3 kB / 0.9546 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003793/0.005681, allocations: 367.5 kB / 0.9549 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001931/0.005874, allocations: 195.5 kB / 0.9551 GB, free: 14.74 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 6.298e-05/0.005937, allocations: 64 kB / 0.9552 GB, free: 14.68 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001031/0.00604, allocations: 76 kB / 0.9553 GB, free: 14.6 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 7.747e-05/0.006118, allocations: 83.67 kB / 0.9553 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0001454/0.006263, allocations: 191.6 kB / 0.9555 GB, free: 14.33 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.000539/0.006802, allocations: 0.7712 MB / 0.9563 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.006806, allocations: 0 / 0.9563 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.883e-06/0.006808, allocations: 3.938 kB / 0.9563 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 7.244e-06/0.006815, allocations: 0 / 0.9563 GB, free: 13.55 MB / 0.9167 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.0009117/0.007727, allocations: 0.8672 MB / 0.9571 GB, free: 12.6 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.007772, allocations: 16.03 kB / 0.9572 GB, free: 12.58 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.025e-05/0.007822, allocations: 58.73 kB / 0.9572 GB, free: 12.52 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.467e-05/0.007907, allocations: 52.66 kB / 0.9573 GB, free: 12.46 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007455/0.008652, allocations: 412.6 kB / 0.9577 GB, free: 12.04 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.374e-05/0.008686, allocations: 28.88 kB / 0.9577 GB, free: 12.01 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.123e-05/0.008737, allocations: 40.38 kB / 0.9577 GB, free: 11.97 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004686/0.009206, allocations: 461 kB / 0.9582 GB, free: 11.48 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.009216, allocations: 192 / 0.9582 GB, free: 11.48 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.219e-05/0.009238, allocations: 12.38 kB / 0.9582 GB, free: 11.47 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.009246, allocations: 7.938 kB / 0.9582 GB, free: 11.46 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000413/0.009659, allocations: 390.3 kB / 0.9585 GB, free: 11.05 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001084/0.01074, allocations: 0.7746 MB / 0.9593 GB, free: 10.23 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004375/0.01118, allocations: 479.5 kB / 0.9598 GB, free: 9.723 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003181/0.0115, allocations: 387.1 kB / 0.9601 GB, free: 9.312 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.598e-05/0.01151, allocations: 8 kB / 0.9601 GB, free: 9.305 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003753/0.01189, allocations: 463.4 kB / 0.9606 GB, free: 8.809 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=44): time 1.913e-06/0.01189, allocations: 0 / 0.9606 GB, free: 8.809 MB / 0.9167 GB Notification: Performance of matching and sorting (n=44): time 0.0009885/0.01288, allocations: 1.104 MB / 0.9617 GB, free: 7.605 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001494/0.01303, allocations: 191.9 kB / 0.9618 GB, free: 7.375 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002006/0.01323, allocations: 296.5 kB / 0.9621 GB, free: 7.078 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 4.655e-05/0.01328, allocations: 45.64 kB / 0.9622 GB, free: 7.027 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 9.9e-05/0.01338, allocations: 165 kB / 0.9623 GB, free: 6.863 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 6.533e-05/0.01344, allocations: 134.9 kB / 0.9625 GB, free: 6.73 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001379/0.01358, allocations: 142.1 kB / 0.9626 GB, free: 6.582 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 9.552e-05/0.01367, allocations: 350.8 kB / 0.9629 GB, free: 6.23 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004297/0.0141, allocations: 0.5197 MB / 0.9634 GB, free: 5.656 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004625/0.01457, allocations: 0.6104 MB / 0.964 GB, free: 4.961 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006847/0.01525, allocations: 0.9138 MB / 0.9649 GB, free: 3.93 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.606e-06/0.01526, allocations: 0 / 0.9649 GB, free: 3.93 MB / 0.9167 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001054/0.01631, allocations: 1.272 MB / 0.9662 GB, free: 2.539 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001068/0.01642, allocations: 255.3 kB / 0.9664 GB, free: 2.234 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.01642, allocations: 4 kB / 0.9664 GB, free: 2.23 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/0.01644, allocations: 7.984 kB / 0.9664 GB, free: 2.223 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000161/0.0166, allocations: 63.91 kB / 0.9665 GB, free: 2.16 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.719e-06/0.01661, allocations: 7.984 kB / 0.9665 GB, free: 2.152 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003519/0.01697, allocations: 143.6 kB / 0.9666 GB, free: 2.012 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.332e-05/0.01705, allocations: 71.86 kB / 0.9667 GB, free: 1.941 MB / 0.9167 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.0002014/0.01725, allocations: 312.1 kB / 0.967 GB, free: 1.598 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.451e-05/0.01728, allocations: 47.64 kB / 0.967 GB, free: 1.551 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.911e-05/0.01734, allocations: 43.48 kB / 0.9671 GB, free: 1.5 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.269e-06/0.01735, allocations: 4 kB / 0.9671 GB, free: 1.496 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.01736, allocations: 4 kB / 0.9671 GB, free: 1.492 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.01736, allocations: 3.984 kB / 0.9671 GB, free: 1.488 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001088/0.01845, allocations: 1.256 MB / 0.9683 GB, free: 124 kB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.01845, allocations: 0 / 0.9683 GB, free: 124 kB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003719/0.01883, allocations: 63.89 kB / 0.9684 GB, free: 60 kB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.01883, allocations: 3.938 kB / 0.9684 GB, free: 56 kB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.108e-05/0.01885, allocations: 15.98 kB / 0.9684 GB, free: 40 kB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.01885, allocations: 0 / 0.9684 GB, free: 40 kB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.01885, allocations: 4 kB / 0.9684 GB, free: 36 kB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006862/0.01954, allocations: 0.9013 MB / 0.9693 GB, free: 15.06 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 4.534e-05/0.01959, allocations: 35.7 kB / 0.9693 GB, free: 15.02 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.045e-05/0.01963, allocations: 15.98 kB / 0.9693 GB, free: 15.01 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001168/0.01974, allocations: 27.97 kB / 0.9694 GB, free: 14.98 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.713e-05/0.01982, allocations: 39.94 kB / 0.9694 GB, free: 14.94 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.736e-05/0.01987, allocations: 43.95 kB / 0.9694 GB, free: 14.9 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0001325/0.02, allocations: 203 kB / 0.9696 GB, free: 14.7 MB / 0.9323 GB Notification: Performance of sort global known variables: time 8e-08/0.02, allocations: 0 / 0.9696 GB, free: 14.7 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.000294/0.02029, allocations: 111.9 kB / 0.9697 GB, free: 14.59 MB / 0.9323 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.001058/0.02135, allocations: 1.455 MB / 0.9712 GB, free: 13.05 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.00116/0.02251, allocations: 1.442 MB / 0.9726 GB, free: 11.41 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.02252, allocations: 4.062 kB / 0.9726 GB, free: 11.4 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0004751/0.02299, allocations: 0.6262 MB / 0.9732 GB, free: 10.68 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004189/0.02341, allocations: 91.19 kB / 0.9733 GB, free: 10.6 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005137/0.02855, allocations: 5.846 MB / 0.979 GB, free: 4.312 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001367/0.02868, allocations: 193 kB / 0.9792 GB, free: 4.105 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0001836/0.02887, allocations: 91.19 kB / 0.9792 GB, free: 4.016 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000121/0.02899, allocations: 120.5 kB / 0.9794 GB, free: 3.898 MB / 0.9323 GB Notification: Performance of SimCode: time 1.092e-06/0.02899, allocations: 4 kB / 0.9794 GB, free: 3.895 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02528/0.05427, allocations: 11.18 MB / 0.9903 GB, free: 9.004 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.908/6.962, allocations: 3.938 kB / 0.9903 GB, free: 9 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 11.041031241416931]