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.001807/0.001807, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.00254/0.00254, allocations: 211.1 kB / 23.01 MB, free: 4.57 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 / 256.8 MB, free: 8.016 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.761/2.761, allocations: 476.7 MB / 0.7714 GB, free: 4.273 MB / 0.6231 GB " [Timeout remaining time 177] 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: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extIndSig.u.1.|extIndSig.u.2.|extIndSig.u.3.|extIndSig.u.4.|extIndSig.index|extIndSig.y|extIndSig1.index|extIndSig1.y|extIndSig2.index|extIndSig2.y|extIndSig3.index|extIndSig3.y|extIndSig4.index|extIndSig4.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extIndSig.u.1.|extIndSig.u.2.|extIndSig.u.3.|extIndSig.u.4.|extIndSig.index|extIndSig.y|extIndSig1.index|extIndSig1.y|extIndSig2.index|extIndSig2.y|extIndSig3.index|extIndSig3.y|extIndSig4.index|extIndSig4.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") [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.002094/0.002094, allocations: 66.34 kB / 1.119 GB, free: 40.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3593/0.3614, allocations: 170 MB / 1.285 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.003014/0.3644, allocations: 1.361 MB / 1.286 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002753/0.3672, allocations: 1.584 MB / 1.287 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001728/0.3674, allocations: 7.938 kB / 1.287 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000175/0.3675, allocations: 35.55 kB / 1.288 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.000197/0.3677, allocations: 71.44 kB / 1.288 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001364/0.3691, allocations: 0.5004 MB / 1.288 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0007946/0.3699, allocations: 0.6482 MB / 1.289 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003113/0.3702, allocations: 113.3 kB / 1.289 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003102/0.3705, allocations: 263.4 kB / 1.289 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003525/0.3709, allocations: 243.1 kB / 1.289 GB, free: 6.477 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.000121/0.371, allocations: 68 kB / 1.289 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001747/0.3712, allocations: 83.91 kB / 1.289 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001023/0.3713, allocations: 83.7 kB / 1.29 GB, free: 6.246 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002721/0.3715, allocations: 246.9 kB / 1.29 GB, free: 6.004 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000812/0.3723, allocations: 0.6851 MB / 1.29 GB, free: 5.316 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3723, allocations: 0 / 1.29 GB, free: 5.316 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.874e-06/0.3723, allocations: 0 / 1.29 GB, free: 5.316 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.225e-05/0.3724, allocations: 0 / 1.29 GB, free: 5.316 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.00137/0.3737, allocations: 0.8766 MB / 1.291 GB, free: 4.352 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.3738, allocations: 8.031 kB / 1.291 GB, free: 4.344 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001374/0.3739, allocations: 52.7 kB / 1.291 GB, free: 4.293 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001345/0.3753, allocations: 417.4 kB / 1.292 GB, free: 3.859 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.861e-05/0.3753, allocations: 24.88 kB / 1.292 GB, free: 3.836 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.523e-05/0.3754, allocations: 48.36 kB / 1.292 GB, free: 3.789 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006784/0.3761, allocations: 316.5 kB / 1.292 GB, free: 3.477 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.656e-05/0.3761, allocations: 3.938 kB / 1.292 GB, free: 3.473 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.906e-05/0.3761, allocations: 12 kB / 1.292 GB, free: 3.461 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.3761, allocations: 8 kB / 1.292 GB, free: 3.453 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007007/0.3768, allocations: 253.8 kB / 1.292 GB, free: 3.203 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001715/0.3785, allocations: 0.8719 MB / 1.293 GB, free: 2.289 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006854/0.3792, allocations: 354.7 kB / 1.294 GB, free: 1.934 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004928/0.3797, allocations: 256.6 kB / 1.294 GB, free: 1.68 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.527e-05/0.3797, allocations: 11.84 kB / 1.294 GB, free: 1.668 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006698/0.3804, allocations: 319.1 kB / 1.294 GB, free: 1.344 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=44): time 2.404e-06/0.3804, allocations: 0 / 1.294 GB, free: 1.344 MB / 0.9825 GB Notification: Performance of matching and sorting (n=44): time 0.00171/0.3821, allocations: 0.845 MB / 1.295 GB, free: 472 kB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001366/0.3823, allocations: 187.9 kB / 1.295 GB, free: 240 kB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003529/0.3826, allocations: 288.5 kB / 1.295 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.331e-05/0.3827, allocations: 45.7 kB / 1.295 GB, free: 15.9 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001812/0.3829, allocations: 168.9 kB / 1.296 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000119/0.383, allocations: 130.9 kB / 1.296 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002275/0.3832, allocations: 138.1 kB / 1.296 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001731/0.3834, allocations: 350.7 kB / 1.296 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006204/0.384, allocations: 272.8 kB / 1.296 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006672/0.3847, allocations: 361.5 kB / 1.297 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001258/0.3859, allocations: 0.9128 MB / 1.298 GB, free: 13.42 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/0.3859, allocations: 3.938 kB / 1.298 GB, free: 13.42 MB / 0.9981 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001739/0.3877, allocations: 1.006 MB / 1.299 GB, free: 12.35 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002012/0.3879, allocations: 259.3 kB / 1.299 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.3879, allocations: 0 / 1.299 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.037e-05/0.3879, allocations: 4 kB / 1.299 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002916/0.3882, allocations: 67.89 kB / 1.299 GB, free: 11.97 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.259e-05/0.3882, allocations: 7.938 kB / 1.299 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006955/0.3889, allocations: 139.6 kB / 1.299 GB, free: 11.83 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000119/0.389, allocations: 67.92 kB / 1.299 GB, free: 11.76 MB / 0.9981 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.0003381/0.3894, allocations: 327.7 kB / 1.3 GB, free: 11.4 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.378e-05/0.3894, allocations: 39.77 kB / 1.3 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.803e-05/0.3895, allocations: 43.48 kB / 1.3 GB, free: 11.31 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.3895, allocations: 4 kB / 1.3 GB, free: 11.31 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/0.3895, allocations: 3.938 kB / 1.3 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.203e-06/0.3895, allocations: 3.984 kB / 1.3 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002015/0.3916, allocations: 1.162 MB / 1.301 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.3916, allocations: 0 / 1.301 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003192/0.3919, allocations: 63.89 kB / 1.301 GB, free: 9.992 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.3919, allocations: 4 kB / 1.301 GB, free: 9.988 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.694e-05/0.3919, allocations: 23.98 kB / 1.301 GB, free: 9.965 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.3919, allocations: 0 / 1.301 GB, free: 9.965 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.3919, allocations: 3.938 kB / 1.301 GB, free: 9.961 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001246/0.3932, allocations: 0.772 MB / 1.302 GB, free: 9.145 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.02e-05/0.3932, allocations: 39.64 kB / 1.302 GB, free: 9.105 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.995e-05/0.3933, allocations: 8 kB / 1.302 GB, free: 9.098 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002172/0.3935, allocations: 27.95 kB / 1.302 GB, free: 9.07 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001168/0.3936, allocations: 39.89 kB / 1.302 GB, free: 9.031 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.941e-05/0.3937, allocations: 47.88 kB / 1.302 GB, free: 8.984 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000237/0.3939, allocations: 211.1 kB / 1.302 GB, free: 8.781 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.3939, allocations: 0 / 1.302 GB, free: 8.781 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005157/0.3945, allocations: 99.95 kB / 1.302 GB, free: 8.684 MB / 0.9981 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.0002278/0.3947, allocations: 123.6 kB / 1.302 GB, free: 8.555 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001686/0.3964, allocations: 1.039 MB / 1.303 GB, free: 7.406 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.3964, allocations: 0 / 1.303 GB, free: 7.406 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006357/0.397, allocations: 496.8 kB / 1.304 GB, free: 6.859 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000548/0.3976, allocations: 85.03 kB / 1.304 GB, free: 6.773 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001658/0.3992, allocations: 0.8571 MB / 1.305 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004662/0.3997, allocations: 0.7923 MB / 1.305 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.22e-05/0.3998, allocations: 35.44 kB / 1.305 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of SimCode: time 8.61e-07/0.3998, allocations: 4 kB / 1.305 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of Templates: time 0.01024/0.41, allocations: 5.639 MB / 1.311 GB, free: 15.43 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) [Timeout 400] 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/jenkins1/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.658344951982144]